执行Sqoop时,SemanticException [Error 10072]: Database does not exist

[root@hadoop-senior ~]# sqoop create-hive-table --connect jdbc:mysql://hadoop-senior:3306/test --table my_user --username root --password 123456 --hive-table liantong0826.zhuyu_stud_info_sqoop

 

报错:FAILED: SemanticException [Error 10072]: Database does not exist: liantong0826

 

解决方法:复制hive/conf下的hive-site.xml到sqoop工作目录的conf下

 

你可能感兴趣的:(执行Sqoop时,SemanticException [Error 10072]: Database does not exist)