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