姜小嫌

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2018年10月24日

摘要: ``` # 1 版本相同 hadoop distcp -m 10 -bandwidth 150 hdfs://ns1/user/hive/warehouse/public.db/public_oi_fact hdfs://xxx:8020/user/hive/warehouse # 2 版本不同 hadoop distcp -m 2000 -bandwidth 200 webhdfs://ip... 阅读全文
posted @ 2018-10-24 14:20 姜小嫌 阅读(1700) 评论(0) 推荐(0) 编辑

摘要: ``` select round(sum(DATA_LENGTH / 1024 / 1024 ), 2) from .`tables` where table_schema = '%s' and table_name = '%s' % (db_name, table_name) 单位M 阅读全文
posted @ 2018-10-24 14:13 姜小嫌 阅读(196) 评论(0) 推荐(0) 编辑