启动猪工作时出现oozie错误

时间:2016-01-28 10:46:50

标签: hadoop apache-pig oozie oozie-coordinator

我正试图从oozie开始一份猪工作,但它失败了。

Oozie stacktrace:

java.lang.RuntimeException:java.lang.ClassNotFoundException:未找到类org.apache.oozie.action.hadoop.PigMain         在org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1897)         在org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:224)         在org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)         在org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:430)         在org.apache.hadoop.mapred.MapTask.run(MapTask.java:342)         在org.apache.hadoop.mapred.YarnChild $ 2.run(YarnChild.java:167)         at java.security.AccessController.doPrivileged(Native Method)         在javax.security.auth.Subject.doAs(Subject.java:415)         在org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1554)         在org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162) 引起:java.lang.ClassNotFoundException:未找到类org.apache.oozie.action.hadoop.PigMain         在org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:1803)         在org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1895)

1 个答案:

答案 0 :(得分:1)

无法找到def get_name(string_input): l = [line.split('is connected to') for i, line in enumerate(string_input.split('.')) if i % 2 == 0] names = {name[0]:{} for name in l} return names 课程。在job.properties中包含以下条目。

PigManin