Hello Gopal V,
I check my cdh config ,I found mapreduce.map.memory.mb is 2876.
[email protected]
发件人: [email protected]
发送时间: 2015-01-27 17:31
收件人: user
主题: 回复: Re: tez map task and reduce task stay pending forerver
I check the hivetez.log . No kill request trigger by hive.
[email protected]
发件人: Gopal V
发送时间: 2015-01-27 17:17
收件人: user
抄送: [email protected]
主题: Re: tez map task and reduce task stay pending forerver
On 1/27/15, 12:50 AM, [email protected] wrote:
> hive 0.14.0 tez 0.53 hadoop 2.3.0-cdh 5.0.2
> hive> select * from p_city order by id;
> Query ID = zhoushugang_20150127163434_da70d957-6ac4-4b8b-a484-42b593838076
...
> --------------------------------------------------------------------------------
>
>
> VERTICES STATUS TOTAL COMPLETED RUNNING PENDING FAILED KILLED
> --------------------------------------------------------------------------------
>
>
> Map 1 INITED 1 0 0 1 0 0
> Reducer 2 INITED 1 0 0 1 0 0
Looks all container requests are pending/unresponsive.
I see a container request in the log with
2015-01-27 15:43:15,434 INFO [TaskSchedulerEventHandlerThread]
rm.YarnTaskSchedulerService: Allocation request for task:
attempt_1419300485749_371785_1_00_000000_0 with request:
Capability[<memory:2867, vCores:3>]Priority[2] host:
yhd-jqhadoop11.int.yihaodian.com rack: null
...
2015-01-27 15:43:17,635 INFO [DelayedContainerManager]
rm.YarnTaskSchedulerService: Releasing held container as either there
are pending but unmatched requests or this is not a session,
containerId=container_1419300485749_371785_01_000002, pendingTasks=1,
isSession=true. isNew=true
That seems to indicate that a container allocation request was made, but
YARN resource manager never responded with a container (or gave the
wrong container?).
Does the container size 2867 suggest any idea on what that might be?
Cheers,
Gopal