sqoo导出失败,原因是oozie [英] sqoop export fail through oozie

查看:127
本文介绍了sqoo导出失败,原因是oozie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从hdfssqoop将数据导出到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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆