You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Bikas Saha (JIRA)" <ji...@apache.org> on 2013/03/06 21:50:13 UTC
[jira] [Commented] (YARN-450) Define value for * in the scheduling
protocol
[ https://issues.apache.org/jira/browse/YARN-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13595091#comment-13595091 ]
Bikas Saha commented on YARN-450:
---------------------------------
Do you mean org.apache.hadoop.yarn.server.resourcemanager.rmnode.RMNode? That class is not really part of the YARN API right? I guess thats why you are seeing dependency issues.
This official value would need to be part of the API. So ResourceRequest would be a good place.
A thing to explore would be if this can be defined in the proto definition of the API.
> Define value for * in the scheduling protocol
> ---------------------------------------------
>
> Key: YARN-450
> URL: https://issues.apache.org/jira/browse/YARN-450
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Bikas Saha
> Assignee: Zhijie Shen
> Attachments: YARN-450_1.patch
>
>
> The ResourceRequest has a string field to specify node/rack locations. For the cross-rack/cluster-wide location (ie when there is no locality constraint) the "*" string is used everywhere. However, its not defined anywhere and each piece of code either defines a local constant or uses the string literal. Defining "*" in the protocol and removing other local references from the code base will be good.
--
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