hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangda Tan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7791) Support submit intra-app placement constraint in Distributed Shell to AppPlacementAllocator
Date Wed, 24 Jan 2018 08:48:00 GMT

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

Wangda Tan commented on YARN-7791:
----------------------------------

[~asuresh] / [~cheersyang], I think I messed up here. Yes, you're correct, now null targe_allocation_key
is interpreted as intra-app. I just created YARN-7807 and uploaded patch, I think we don't
need this change for now.

> Support submit intra-app placement constraint in Distributed Shell to AppPlacementAllocator
> -------------------------------------------------------------------------------------------
>
>                 Key: YARN-7791
>                 URL: https://issues.apache.org/jira/browse/YARN-7791
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: client
>         Environment: Set {{yarn.resourcemanager.placement-constraints.enabled}} to {{false}}
> Submit a job with placement constraint spec, e.g
> {code}
> in/yarn org.apache.hadoop.yarn.applications.distributedshell.Client -jar share/hadoop/yarn/hadoop-yarn-applications-distributedshell-3.1.0-SNAPSHOT.jar
-shell_command sleep -shell_args 30 -num_containers 2 -master_memory 500 -container_memory
200 -placement_spec foo=4,NOTIN,NODE,foo
> {code}
> got following errors in RM log
> {noformat}
> Exception message:As of now, the only accepted target key for targetKey of allocation_tag
target expression is: [yarn_application_label/%intra_app%]. Please make changes to placement
constraints accordingly.
> {noformat}
> Looks like DS needs some modification to support submitting proper scheduling requests
to app placement allocators.
>            Reporter: Weiwei Yang
>            Assignee: Sunil G
>            Priority: Major
>              Labels: distributedshell
>         Attachments: YARN-7791-YARN-6592.001.patch
>
>
> Set {{yarn.resourcemanager.placement-constraints.enabled}} to {{false}}
> Submit a job with placement constraint spec, e.g
> {code}
> in/yarn org.apache.hadoop.yarn.applications.distributedshell.Client -jar share/hadoop/yarn/hadoop-yarn-applications-distributedshell-3.1.0-SNAPSHOT.jar
-shell_command sleep -shell_args 30 -num_containers 2 -master_memory 500 -container_memory
200 -placement_spec foo=4,NOTIN,NODE,foo
> {code}
> got following errors in RM log
> {noformat}
> Exception message:As of now, the only accepted target key for targetKey of allocation_tag
target expression is: [yarn_application_label/%intra_app%]. Please make changes to placement
constraints accordingly.
> {noformat}
> Looks like DS needs some modification to support submitting proper scheduling requests
to app placement allocators.



--
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