hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Graves (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-177) CapacityScheduler - adding a queue while the RM is running has wacky results
Date Tue, 23 Oct 2012 14:05:14 GMT

     [ https://issues.apache.org/jira/browse/YARN-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Graves updated YARN-177:
-------------------------------

    Attachment: YARN-177.patch

Thanks Arun.  Here is an updated patch fixing the findbugs warning. Looks good to me other
then adding some unit tests like you said.

I manually tested with both adding some multi-level queues and a single level queue and am
no longer seeing the issue.   
                
> CapacityScheduler - adding a queue while the RM is running has wacky results
> ----------------------------------------------------------------------------
>
>                 Key: YARN-177
>                 URL: https://issues.apache.org/jira/browse/YARN-177
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacityscheduler
>    Affects Versions: 0.23.3
>            Reporter: Thomas Graves
>            Assignee: Arun C Murthy
>            Priority: Critical
>             Fix For: 2.0.3-alpha, 0.23.5
>
>         Attachments: YARN-177.patch, YARN-177.patch
>
>
> Adding a queue to the capacity scheduler while the RM is running and then running a job
in the queue added results in very strange behavior.  The cluster Total Memory can either
decrease or increase.  We had a cluster where total memory decreased to almost 1/6th the capacity.
Running on a small test cluster resulted in the capacity going up by simply adding a queue
and running wordcount.  
> Looking at the RM logs, used memory can go negative but other logs show the number positive:
> 2012-10-21 22:56:44,796 [ResourceManager Event Processor] INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.ParentQueue:
assignedContainer queue=root usedCapacity=0.0375 absoluteUsedCapacity=0.0375 used=memory:
7680 cluster=memory: 204800
> 2012-10-21 22:56:45,831 [ResourceManager Event Processor] INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.ParentQueue:
completedContainer queue=root usedCapacity=-0.0225 absoluteUsedCapacity=-0.0225 used=memory:
-4608 cluster=memory: 204800
>   

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message