SemanticException [Error 10072]: Database does not exist

SemanticException [Error 10072]: Database does not exist

2018年03月09日 19:36:03 flora2047 阅读数:1624

os x下 sqoop版本1.4.6 hive 1.2.2 

使用语句

sqoop import-all-tables --connectjdbc:mysql://localhost:3306/catering --username root --password 123456--hive-import --hive-database catering   -m 8 

导入数据时提示数据库不存在

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

(不行的话再复制到sqoop/conf下面试试)

发布了51 篇原创文章 · 获赞 6 · 访问量 4757

猜你喜欢

转载自blog.csdn.net/weixin_42191996/article/details/90203207