sqoo导出失败,原因是oozie

编程入门 行业动态 更新时间:2024-10-23 12:38:21
本文介绍了sqoo导出失败,原因是oozie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试从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

本文发布于:2023-07-05 07:01:50,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1034439.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:原因   sqoo   oozie

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!