简体   繁体   English

Oozie示例在运行猪作业时卡住

[英]Oozie example stuck when run pig job

I start test oozie job on cluster with yarn "oozie job -config /usr/lib/oozie/oozie-4.0.1/examples/apps/pig/job.properties -run" and my job stuck on 0% and then send only heart beat 我使用“ oozie作业-config /usr/lib/oozie/oozie-4.0.1/examples/apps/pig/job.properties -run”启动群集上的测试oozie作业,我的作业卡在0%上,然后仅发送心跳

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: (org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier@63ad6884)
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

Me too faced same problem while scheduling pig-0.12.1 in oozie-4.0.1 with hadoop-2.2.0. 在使用hadoop-2.2.0在oozie-4.0.1中调度pig-0.12.1时,我也遇到了同样的问题。

I cant able to schedule pig script using oozie in hadoop-2.2.0 in single node cluster. 我无法在单节点集群中的hadoop-2.2.0中使用oozie来调度Pig脚本。 But I did it in multinode cluster by doing the following changes. 但是我通过执行以下更改在多节点集群中做到了。

NodeManager and Resource Manager running in same system. NodeManager和Resource Manager在同一系统中运行。 So i am gettting this error. 所以我得到这个错误。 I started Node manager in second system and my problem is solved. 我在第二个系统中启动了节点管理器,问题解决了。

Hi Heart beat error is occurs due to insufficient Total memory size in Hadoop . Hi Heart beat错误是由于Hadoop中的总内存不足而发生的。 This because you may run in small cluster machine. 这是因为您可能在小型群集计算机中运行。

Solution: So you want to increase the size of Total memory to all nodemanager to perform mapreduce job. 解决方案:因此,您想增加所有节点管理器的总内存大小以执行mapreduce作业。 Steps are followed in this link "HEART BEAT ERROR SOLUTION" 此链接中的步骤遵循“心跳错误解决方案”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM