Hive exited with status 44

hadoop 在2.x之后启用了hdfs的HA功能

其配置fs.defaultFS默认是hdfs://mycluster

 

Sqoop导入数据包异常

2014/08/26 14:46:51 - Sqoop Import - 2014/08/26 14:46:51 - Time taken: 3.226 seconds
INFO - Time taken: 3.226 seconds
2014/08/26 14:46:51 - Sqoop Import - 2014/08/26 14:46:51 - FAILED: SemanticException [Error 10028]: Line 2:17 Path is not legal ''hdfs://mycluster:8020/user/hdfs/ods_push_apk_three_day'': Move from: hdfs://mycluster:8020/user/hdfs/ods_push_apk_three_day to: hdfs://mycluster/apps/hive/warehouse/ods_push_apk_three_day is not valid. Please check that values for params "default.fs.name" and "hive.metastore.warehouse.dir" do not conflict.
INFO - FAILED: SemanticException [Error 10028]: Line 2:17 Path is not legal ''hdfs://mycluster:8020/user/hdfs/ods_push_apk_three_day'': Move from: hdfs://mycluster:8020/user/hdfs/ods_push_apk_three_day to: hdfs://mycluster/apps/hive/warehouse/ods_push_apk_three_day is not valid. Please check that values for params "default.fs.name" and "hive.metastore.warehouse.dir" do not conflict.
2014/08/26 14:46:52 - Sqoop Import - ERROR (version 5.1.0.0, build 1 from 2014-06-19_19-02-57 by buildguy) : 2014/08/26 14:46:52 - Encountered IOException running import job: java.io.IOException: Hive exited with status 44
2014/08/26 14:46:52 - Sqoop Import -    at org.apache.sqoop.hive.HiveImport.executeExternalHiveScript(HiveImport.java:385)
2014/08/26 14:46:52 - Sqoop Import -    at org.apache.sqoop.hive.HiveImport.executeScript(HiveImport.java:335)
2014/08/26 14:46:52 - Sqoop Import -    at org.apache.sqoop.hive.HiveImport.importTable(HiveImport.java:239)
2014/08/26 14:46:52 - Sqoop Import -    at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:425)
2014/08/26 14:46:52 - Sqoop Import -    at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:502)

 解决方式:

其配置fs.defaultFS默认是hdfs://mycluster改为hdfs://mycluster:8020

OK!

你可能感兴趣的:(status)