sqoop

sqoop import -connect jdbc:oracle:thin:@192.168.186.65:1521:orcl -username ultrapower -password 123456 -table BMS_CONGRUENT_COUNT -hive-table tj.BMS_CONGRUENT_COUNT -m 1 -z --delete-target-dir -hive-import --hcatalog-partition-keys in_month,in_date --hcatalog-partition-values "201601","20160101";

posted @ 2018-02-07 09:18  Mr.Ming2  阅读(152)  评论(0编辑  收藏  举报