我尝试从https://github.com/oozie-book/examples/tree/master/chapter-01/identity-wf运行示例代码(Identity MapReduce作业),但我的工作被杀了。这是工作信息
[root@slave4 hdfs]# oozie job -oozie http://localhost:11000/oozie -info 0000000-160616112709683-oozie-oozi-W
Job ID : 0000000-160616112709683-oozie-oozi-W
------------------------------------------------------------------------------------------------------------------------------------
Workflow Name : identity-WF
App Path : hdfs://slave4.hdp.com:8020/user/root/testing/app
Status : KILLED
Run : 0
User : root
Group : -
Created : 2016-06-16 02:30 GMT
Started : 2016-06-16 02:30 GMT
Last Modified : 2016-06-16 02:41 GMT
Ended : 2016-06-16 02:41 GMT
CoordAction ID: -
Actions
------------------------------------------------------------------------------------------------------------------------------------
ID Status Ext ID Ext Status Err Code
------------------------------------------------------------------------------------------------------------------------------------
0000000-160616112709683-oozie-oozi-W@:start: OK - OK -
------------------------------------------------------------------------------------------------------------------------------------
0000000-160616112709683-oozie-oozi-W@identity-MR ERROR job_1464854703747_0089 FAILED/KILLED-
------------------------------------------------------------------------------------------------------------------------------------
0000000-160616112709683-oozie-oozi-W@fail OK - OK E0729
------------------------------------------------------------------------------------------------------------------------------------
基于我编写的jar文件的简单日志记录工作流也失败并出现相同的错误。在Hadoop UI的应用程序概述中,这就是我所看到的
User: root
Name: oozie:launcher:T=map-reduce:W=identity-WF:A=identity-MR:ID=0000000-160616112709683-oozie-oozi-W
Application Type: MAPREDUCE
Application Tags:
YarnApplicationState: FAILED
Queue: default
FinalStatus Reported by AM: FAILED
Started: Thu Jun 16 11:30:52 +0900 2016
Elapsed: 3sec
Tracking URL: History
Log Aggregation Status SUCCEEDED
Diagnostics:
Application application_1464854703747_0089 failed 2 times due to AM Container for appattempt_1464854703747_0089_000002 exited with exitCode: -1000
For more detailed output, check application tracking page:http://slave4.hdp.com:8088/cluster/app/application_1464854703747_0089Then, click on links to logs of each attempt.
Diagnostics: ExitCodeException exitCode=2: gzip: /hadoop/yarn/local/filecache/36_tmp/tmp_mapreduce.tar.gz is a directory -- ignored
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
Failing this attempt. Failing the application.
我不知道如何解决这个问题,我们将不胜感激。