2014-06-25 32 views
0

我开始在纱线集群上测试oozie作业“oozie job -config /usr/lib/oozie/oozie-4.0.1/examples/apps/pig/job.properties -run”和我的工作停留在0%,然后只发送心脏跳动Oozie示例运行猪作业时卡住

2014-06-25 12:51:57,800 [JobControl] INFO org.apache.hadoop.yarn.client.RMProxy - Connecting to ResourceManager at localhost/127.0.0.1:8032 
2014-06-25 12:51:57,831 [JobControl] INFO org.apache.hadoop.conf.Configuration.deprecation - fs.default.name is deprecated. Instead, use fs.defaultFS 
2014-06-25 12:51:58,021 [JobControl] INFO org.apache.hadoop.mapreduce.lib.input.FileInputFormat - Total input paths to process : 1 
2014-06-25 12:51:58,021 [JobControl] INFO org.apache.pig.backend.hadoop.executionengine.util.MapRedUtil - Total input paths to process : 1 
2014-06-25 12:51:58,021 [JobControl] INFO org.apache.pig.backend.hadoop.executionengine.util.MapRedUtil - Total input paths to process : 1 
2014-06-25 12:51:58,022 [JobControl] INFO org.apache.pig.backend.hadoop.executionengine.util.MapRedUtil - Total input paths (combined) to process : 1 
2014-06-25 12:51:58,022 [JobControl] INFO org.apache.pig.backend.hadoop.executionengine.util.MapRedUtil - Total input paths (combined) to process : 1 
2014-06-25 12:51:58,034 [JobControl] INFO org.apache.hadoop.mapreduce.JobSubmitter - number of splits:1 
2014-06-25 12:51:58,084 [JobControl] INFO org.apache.hadoop.mapreduce.JobSubmitter - Submitting tokens for job: job_1403700612904_0002 
2014-06-25 12:51:58,084 [JobControl] INFO org.apache.hadoop.mapreduce.JobSubmitter - Kind: mapreduce.job, Service: job_1403700612904_0001, Ident: ([email protected]ad6884) 
2014-06-25 12:51:58,085 [JobControl] INFO org.apache.hadoop.mapreduce.JobSubmitter - Kind: RM_DELEGATION_TOKEN, Service: 127.0.0.1:8032, Ident: (owner=test, renewer=oozie mr token, realUser=root, issueDate=1403700700415, maxDate=14043$ 
2014-06-25 12:51:58,352 [JobControl] INFO org.apache.hadoop.yarn.client.api.impl.YarnClientImpl - Submitted application application_1403700612904_0002 to ResourceManager at localhost/127.0.0.1:8032 
2014-06-25 12:51:58,393 [JobControl] INFO org.apache.hadoop.mapreduce.Job - The url to track the job: http://localhost:8088/proxy/application_1403700612904_0002/ 
2014-06-25 12:51:58,394 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - HadoopJobId: job_1403700612904_0002 
2014-06-25 12:51:58,394 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - HadoopJobId: job_1403700612904_0002 
2014-06-25 12:51:58,394 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - Processing aliases A,B 
2014-06-25 12:51:58,394 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - Processing aliases A,B 
2014-06-25 12:51:58,394 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - detailed locations: M: A[18,4],B[19,4] C: R: 
2014-06-25 12:51:58,394 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - detailed locations: M: A[18,4],B[19,4] C: R: 
2014-06-25 12:51:58,394 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - More information at: http://localhost:50030/jobdetails.jsp?jobid=job_1403700612904_0002 
2014-06-25 12:51:58,394 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - More information at: http://localhost:50030/jobdetails.jsp?jobid=job_1403700612904_0002 
2014-06-25 12:51:58,429 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - 0% complete 
2014-06-25 12:51:58,429 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - 0% complete 
Heart beat 
Heart beat 
Heart beat 
Heart beat 
Heart beat 
Heart beat 
Heart beat 
Heart beat 
Heart beat 
+0

你能分享你的猪吗? – Mzf

+0

你可以分享你的workflow.xml和pigscript –

回答

0

而用Hadoop-2.2.0调度猪0.12.1在Oozie的-4.0.1我也面临着同样的问题。

我无法在单节点集群中使用hadoop-2.2.0中的oozie安排猪脚本。但是我通过做了以下更改,在多节点群集中完成了它。

NodeManager和资源管理器运行在同一系统中。所以我得到这个错误。我在第二个系统中启动了节点管理器,并解决了我的问题。

+0

如果我同时运行两个以上的oozie工作,意味着它运行失败,同样的问题再次提高。因为运行oozie工作意味着发射器工作被创建时,它占用一个节点管理器。这种解决方案在所有情况下都没有帮助。 –

0

Heart beat发生错误的原因是Hadoop中的内存总量不足。这是因为你可能在小型机器上运行。

解决方案: 所以,你想增加总内存的大小,让所有的nodemanager执行mapreduce作业。 此链接的步骤如下"HEART BEAT ERROR SOLUTION"