sqoop 导入 hive SemanticException [Error 10072]: Database does not exist


sqoop 导入hive 报错FAILED: SemanticException [Error 10072]: Database does not exist: xxxx

 

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

实际上该database是在hive中存在的,由于sqoop下的配置文件太旧引起的,一般会出现在,换台机器执行sqoop

 

CDH 默认路径在: /etc/hive/conf/hive-site.xml  copy到 /etc/sqoop/conf/hive-site.xml


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM