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/
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。