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

Wangda Tan updated YARN-2181:
-----------------------------

    Attachment: YARN-2181.patch

Addressed UT failures and findbugs.
I noticed TestRMApplicationHistoryWriter is failed in other builds,
{code}
    int request = 10000;
    am.allocate("127.0.0.1", 1024, request, new ArrayList<ContainerId>());
    nm.nodeHeartbeat(true);
    List<Container> allocated =
        am.allocate(new ArrayList<ResourceRequest>(),
          new ArrayList<ContainerId>()).getAllocatedContainers();
    int waitCount = 0;
    int allocatedSize = allocated.size();
    while (allocatedSize < request && waitCount++ < 200) {
      Thread.sleep(100);
      allocated =
          am.allocate(new ArrayList<ResourceRequest>(),
            new ArrayList<ContainerId>()).getAllocatedContainers();
      allocatedSize += allocated.size();
      nm.nodeHeartbeat(true);
    }
{code}
It seems not enough container allocated within expected time (till waitCount 
becomes 0). I'm not sure if it caused by nodes of Jenkins is too slow or recent 
changes caused allocation taking too much time.
[~zjshen], could you take a look at this?

> Add preemption info to RM Web UI
> --------------------------------
>
>                 Key: YARN-2181
>                 URL: https://issues.apache.org/jira/browse/YARN-2181
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager, webapp
>    Affects Versions: 2.4.0
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>         Attachments: YARN-2181.patch, YARN-2181.patch, YARN-2181.patch, 
> YARN-2181.patch, YARN-2181.patch, YARN-2181.patch, YARN-2181.patch, 
> application page.png, queue page.png
>
>
> We need add preemption info to RM web page to make administrator/user get 
> more understanding about preemption happened on app/queue, etc. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to