我正在尝试从hdfs到sqoop将数据导出到mysq l.我可以通过外壳运行sqoop,并且工作正常.但是当我通过oozie调用时.它是由于以下错误而引起的,并且越来越失败.我还包括了罐子.没有描述性日志
I am trying to export data to mysql from hdfs through sqoop. I am able to run sqoop through shell and it is working fine . but when I am invoking through oozie. it is arising following error and getting fail. I have also included jars. there is no desciptive log
sqoop脚本:
export --connect jdbc:mysql://localhost/bigdata --username root --password cloudera --verbose --table AGGREGATED_METRICS --input-fields-terminated-by '\0001' --export-dir /bigdata/aggregated_metrics错误:
Launcher ERROR, reason: Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]推荐答案
在Oozie中看到的错误通常不会提供很多细节.要获取有关发生问题的详细信息,您可以从Oozie操作中获取job_id并在JobTracker日志中进行搜索.在那里,您会找到更详细的描述.
The erros you see in Oozie usually do not provide much details. To get more info about what went wrong you can take the job_id from the Oozie action and search for it in the JobTracker logs. There you will find a more detailed description.
更多推荐
sqoo导出失败,原因是oozie
发布评论