Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Job hangs when mapreduce.job.queuename is specified and the queue has 0 of any resource (vcores / memory / other)
In this scenario, the job should be immediately rejected upon submission since the specified queue cannot serve the resource needs of the submitted job.
Command to run:
bin/yarn jar "./share/hadoop/mapreduce/hadoop-mapreduce-examples-$MY_HADOOP_VERSION.jar" pi -Dmapreduce.job.queuename=sample_queue 1 1000;
fair-scheduler.xml queue config (excerpt):
<queue name="sample_queue">
<minResources>10000 mb,0vcores</minResources>
<maxResources>90000 mb,0vcores</maxResources>
<maxRunningApps>50</maxRunningApps>
<maxAMShare>-1.0f</maxAMShare>
<weight>2.0</weight>
<schedulingPolicy>fair</schedulingPolicy>
</queue>
Diagnostic message from the web UI:
Wed May 02 06:35:57 -0700 2018] Application is added to the scheduler and is not yet activated. (Resource request: <memory:1536, vCores:1> exceeds current queue or its parents maximum resource allowed).
Attachments
Attachments
Issue Links
- is related to
-
YARN-9276 Filter non-existent resource requests actively
- Patch Available