hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szilard Nemeth (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (YARN-7903) Method getStarvedResourceRequests() only consider the first encountered resource
Date Wed, 29 Aug 2018 13:58:00 GMT

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

Szilard Nemeth reassigned YARN-7903:
------------------------------------

    Assignee: Szilard Nemeth

> Method getStarvedResourceRequests() only consider the first encountered resource
> --------------------------------------------------------------------------------
>
>                 Key: YARN-7903
>                 URL: https://issues.apache.org/jira/browse/YARN-7903
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>    Affects Versions: 3.1.0
>            Reporter: Yufei Gu
>            Assignee: Szilard Nemeth
>            Priority: Major
>
> We need to specify rack and ANY while submitting a node local resource request, as YARN-7561
discussed. For example:
> {code}
>     ResourceRequest nodeRequest =
>             createResourceRequest(GB, node1.getHostName(), 1, 1, false);
>     ResourceRequest rackRequest =
>             createResourceRequest(GB, node1.getRackName(), 1, 1, false);
>     ResourceRequest anyRequest =
>             createResourceRequest(GB, ResourceRequest.ANY, 1, 1, false);
>     List<ResourceRequest> resourceRequests =
>             Arrays.asList(nodeRequest, rackRequest, anyRequest);
> {code}
> However, method getStarvedResourceRequests() only consider the first encountered resource,
which most likely is ResourceRequest.ANY. That's a mismatch for locality request.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message