hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-7921) Transform a PlacementConstraint to a string expression
Date Sun, 11 Feb 2018 09:59:00 GMT
Weiwei Yang created YARN-7921:

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


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.


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


AbstractConstraint constraintExpr = targetIn(NODE, allocationTag("hbase-m"));


// This prints: IN,NODE,hbase-m


This message was sent by Atlassian JIRA

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

View raw message