【发布时间】:2018-09-17 20:57:49
【问题描述】:
sqoop import --connect jdbc:mysql://mysql.example.com/i --username root --password root --table Student --hive-home /user/hive/warehouse --hive-import --create-hive-table --hive-table databasename.tablename -m 1
在 Hive 表名“tab1”和数据库“abc”中未显示任何数据。 MySQL数据库名inst和表名stu。
【问题讨论】:
-
你试过
--connect jdbc:mysql://mysql.example.com/inst -
sqoop import --connect jdbc:mysql://mysql.example.com/inst --username root --password root --table stu --hive-home /user/hive/warehouse - -hive-import --create-hive-table --hive-table abc.tab12 -m 1 ...fir bhi run nhi hua