0
我有一個jar來執行數據攝入;它在從命令行使用hadoop jar <jar_name> <args>
時起作用,但是當我嘗試使用Oozie Java Action實現相同的功能時,出現下面的錯誤。在使用HCat攝入期間Oozie Java操作失敗?
錯誤消息:
While running Java Action during Sqoop Import 2017/02/23 13:02:36.848 [ERROR] main (ImportTool.java) - Encountered IOException running import job: java.io.IOException: HCat exited with status 1
at org.apache.sqoop.mapreduce.hcat.SqoopHCatUtilities.executeExternalHCatProgram(SqoopHCatUtilities.java:1196)
at org.apache.sqoop.mapreduce.hcat.SqoopHCatUtilities.launchHCatCli(SqoopHCatUtilities.java:1145)
at org.apache.sqoop.mapreduce.hcat.SqoopHCatUtilities.createHCatTable(SqoopHCatUtilities.java:679)
at org.apache.sqoop.mapreduce.hcat.SqoopHCatUtilities.configureHCat(SqoopHCatUtilities.java:342)
請讓我知道如果你Sqoop服用時面臨着類似的問題。