hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7921) Transform a PlacementConstraint to a string expression
Date Mon, 26 Feb 2018 20:42:00 GMT

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

Hudson commented on YARN-7921:
------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13717 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13717/])
YARN-7921. Transform a PlacementConstraint to a string expression. (kkaranasos: rev e85188101c6c74b348a2fb6aa0f4e85c81b4a28c)
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/resource/PlacementConstraint.java
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/api/resource/TestPlacementConstraintTransformations.java
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/test/java/org/apache/hadoop/yarn/api/resource/TestPlacementConstraintParser.java


> Transform a PlacementConstraint to a string expression
> ------------------------------------------------------
>
>                 Key: YARN-7921
>                 URL: https://issues.apache.org/jira/browse/YARN-7921
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>            Priority: Major
>             Fix For: 3.1.0
>
>         Attachments: Placement Constraint Expression Syntax Specification.pdf, YARN-7921.001.patch,
YARN-7921.002.patch
>
>
> Purpose:
> Let placement constraint viewable on UI or log, e.g print app placement constraint in
RM app page. Help user to use constraints and analysis placement issues easier.
> Propose:
> Like what was added for DS, toString is a reversed process of {{PlacementConstraintParser}}
that transforms a PlacementConstraint to a string, using same syntax. E.g
> {code}
> AbstractConstraint constraintExpr = targetIn(NODE, allocationTag("hbase-m"));
> constraint.toString();
> // This prints: IN,NODE,hbase-m
> {code}



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