You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Ramya Sunil (Commented) (JIRA)" <ji...@apache.org> on 2012/01/31 00:39:10 UTC

[jira] [Commented] (MAPREDUCE-3763) Failed refreshQueues due to misconfiguration prevents further refreshing of queues

    [ https://issues.apache.org/jira/browse/MAPREDUCE-3763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196541#comment-13196541 ] 

Ramya Sunil commented on MAPREDUCE-3763:
----------------------------------------

Sorry, I meant "bin/yarn rmadmin -refreshQueues" instead of "bin/mapred queue -refreshQueues" in all the above commands.
                
> Failed refreshQueues due to misconfiguration prevents further refreshing of queues
> ----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3763
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3763
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1
>            Reporter: Ramya Sunil
>             Fix For: 0.23.1
>
>
> Stumbled upon this problem while refreshing queues with incorrect configuration. The exact scenario was:
> 1. Added a new queue "newQueue" without defining its capacity.
> 2. "bin/mapred queue -refreshQueues" fails correctly with "Illegal capacity of -1 for queue root.newQueue"
> 3. However, after defining the capacity of "newQueue" followed by a second "bin/mapred queue -refreshQueues" throws "org.apache.hadoop.metrics2.MetricsException: Metrics source QueueMetrics,q0=root,q1=newQueue already exists!" Also see Hadoop:name=QueueMetrics,q0=root,q1=newQueue,service=ResourceManager metrics being available even though the queue was not added.
> The expected behavior would be to refresh the queues correctly and allow addition of "newQueue". 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira