我有一个jar来执行数据接收;使用时有效 hadoop jar <jar_name> <args>
但是当我尝试使用ooziejava操作实现相同的操作时,我得到了下面的错误。
错误消息:
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摄取。
1条答案
按热度按时间cgh8pdjw1#
您能否验证所有依赖jar在hdfs中都可用,以及您要执行的jar。这将是必要的,因为oozie将产生一个map-only作业来触发操作,并且可以在任何可用节点上执行。该节点将尝试从hdfs访问jar和依赖文件。