[
https://issues.apache.org/jira/browse/TEZ-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14080207#comment-14080207
]
Jian Fang commented on TEZ-704:
-------------------------------
The same problem occurs for mapreduce.reduce.cpu.vcores > 1. I did some
debugging on this problem, seems Tez created a resource request with vcore = 2,
for example, but from the resource manager log, the passed in container request
is vcore=1 for all mapreduce.reduce.cpu.vcores > 1. Due to this mismatch,
whenever TaskScheduler in Tez calls getMatchingRequestWithoutPriority() or
getMatchingRequestWithPriority(), the call always returns an empty list because
the request has vcore = 2, but the container allocated with vcore = 1. As a
result, no new containers could be assigned to Tez tasks and the MR job hangs
there forever.
EMR works fine with mapreduce.reduce.cpu.vcores > 1 and there is no restriction
that this parameter has to be 1. This should be caused by some subtle issue
inside Tez code. I could keep looking into this issue, but it would be great if
some one could give me some pointer which tez code I should check.
> Tez MapReduce job hangs if setting mapreduce.reduce.cpu.vcores to be 2
> ----------------------------------------------------------------------
>
> Key: TEZ-704
> URL: https://issues.apache.org/jira/browse/TEZ-704
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Zhenxiao Luo
>
> When running Hive on Tez in EMR hadoop districution, which set
> mapreduce.reduce.cpu.vcores to be 2 in mapred-site.xml, all MapReduce jobs
> get hang, without any progress.
> The problem seems like,
> Hive On Tez sets mapreduce.reduce.cpu.vcores to 2, so its application
> manager asks for a 2 cpu container, but the resource manager could not
> allocate a node for it, since all it has are 1 cpu containers.
> I saw the same problem when running MapReduce Job on Tez when setting
> mapreduce.reduce.cpu.vcores to be 2.
> This could be a bug in Tez MapReduce code.
--
This message was sent by Atlassian JIRA
(v6.2#6252)