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

Eric Payne commented on YARN-4225:
----------------------------------

[~jlowe], Thanks for reviewing this patch and for your thoughtful comments.

If I can restate your comment, I think you are suggesting exposing 
{{QueueInfoPBImpl#hasPreemptionDisabled}} and calling it in 
{{QueueCLI#printQueueInfo}}, placing it around the preemption status, similar 
to the following:
{code}
    if (queueInfo.hasPreemptionDisabled()) {
      writer.print("\tPreemption : ");
      writer.println(queueInfo.getPreemptionDisabled() ? "disabled" : 
"enabled");
    }
{code}

> Add preemption status to yarn queue -status for capacity scheduler
> ------------------------------------------------------------------
>
>                 Key: YARN-4225
>                 URL: https://issues.apache.org/jira/browse/YARN-4225
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacity scheduler, yarn
>    Affects Versions: 2.7.1
>            Reporter: Eric Payne
>            Assignee: Eric Payne
>            Priority: Minor
>         Attachments: YARN-4225.001.patch, YARN-4225.002.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to