CDH集群重启后,Ooize-sqoop任务失败


原文地址:https://segmentfault.com/a/11...


STDOUT
2022-10-10 14:52:02,131 [main] INFO  org.apache.sqoop.hive.HiveImport  - Loading uploaded data into Hive
 
<<< Invocation of Sqoop command completed <<<
 
Hadoop Job IDs executed by Sqoop: job_1665384414133_0004
 
Intercepting System.exit(1)
 
<<< Invocation of Main class completed <<<
 
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]
 
Oozie Launcher failed, finishing Hadoop job gracefully
 
STDERR
Logging initialized using configuration in jar:file:/yarn/nm/filecache/44642/hive-common.jar!/hive-log4j.properties
Intercepting System.exit(1)
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]

解决方法:拷贝hive-site.xml文件至hadoop文件夹,每台机器都要分发

cp /etc/hive/conf/hive-site.xml /etc/hadoop/conf/


原文地址:https://segmentfault.com/a/11...


s8fh26h3
18 声望1 粉丝