[jira] [Updated] (YARN-7647) NM print inappropriate error log when node-labels is enabled

2017-12-12 Thread Weiwei Yang (JIRA)

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

Weiwei Yang updated YARN-7647:
--
Fix Version/s: 2.10.0

> NM print inappropriate error log when node-labels is enabled
> 
>
> Key: YARN-7647
> URL: https://issues.apache.org/jira/browse/YARN-7647
> Project: Hadoop YARN
>  Issue Type: Bug
>Affects Versions: 2.8.0, 3.0.0-alpha1
>Reporter: Yang Wang
>Assignee: Yang Wang
>Priority: Minor
> Fix For: 2.8.2, 3.1.0, 2.10.0, 2.9.1, 3.0.1
>
> Attachments: YARN-7647.001.patch
>
>
> {code:title=NodeStatusUpdaterImpl.java}
>   ... ...
>   if (response.getAreNodeLabelsAcceptedByRM() && LOG.isDebugEnabled()) {
>   LOG.debug("Node Labels {" + StringUtils.join(",", 
> previousNodeLabels)
>   + "} were Accepted by RM ");
> } else {
>   // case where updated labels from NodeLabelsProvider is sent to RM 
> and
>   // RM rejected the labels
>   LOG.error(
>   "NM node labels {" + StringUtils.join(",", previousNodeLabels)
>   + "} were not accepted by RM and message from RM : "
>   + response.getDiagnosticsMessage());
> }
>   ... ...
> {code}
> When LOG.isDebugEnabled() is false, NM will always print error log. It is an 
> obvious error and is so misleading.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (YARN-7647) NM print inappropriate error log when node-labels is enabled

2017-12-12 Thread Weiwei Yang (JIRA)

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

Weiwei Yang updated YARN-7647:
--
Fix Version/s: 2.8.2

> NM print inappropriate error log when node-labels is enabled
> 
>
> Key: YARN-7647
> URL: https://issues.apache.org/jira/browse/YARN-7647
> Project: Hadoop YARN
>  Issue Type: Bug
>Affects Versions: 2.8.0, 3.0.0-alpha1
>Reporter: Yang Wang
>Assignee: Yang Wang
>Priority: Minor
> Fix For: 2.8.2, 3.1.0, 2.9.1, 3.0.1
>
> Attachments: YARN-7647.001.patch
>
>
> {code:title=NodeStatusUpdaterImpl.java}
>   ... ...
>   if (response.getAreNodeLabelsAcceptedByRM() && LOG.isDebugEnabled()) {
>   LOG.debug("Node Labels {" + StringUtils.join(",", 
> previousNodeLabels)
>   + "} were Accepted by RM ");
> } else {
>   // case where updated labels from NodeLabelsProvider is sent to RM 
> and
>   // RM rejected the labels
>   LOG.error(
>   "NM node labels {" + StringUtils.join(",", previousNodeLabels)
>   + "} were not accepted by RM and message from RM : "
>   + response.getDiagnosticsMessage());
> }
>   ... ...
> {code}
> When LOG.isDebugEnabled() is false, NM will always print error log. It is an 
> obvious error and is so misleading.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (YARN-7647) NM print inappropriate error log when node-labels is enabled

2017-12-12 Thread Weiwei Yang (JIRA)

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

Weiwei Yang updated YARN-7647:
--
Fix Version/s: 3.0.1

> NM print inappropriate error log when node-labels is enabled
> 
>
> Key: YARN-7647
> URL: https://issues.apache.org/jira/browse/YARN-7647
> Project: Hadoop YARN
>  Issue Type: Bug
>Affects Versions: 2.8.0, 3.0.0-alpha1
>Reporter: Yang Wang
>Assignee: Yang Wang
>Priority: Minor
> Fix For: 3.1.0, 2.9.1, 3.0.1
>
> Attachments: YARN-7647.001.patch
>
>
> {code:title=NodeStatusUpdaterImpl.java}
>   ... ...
>   if (response.getAreNodeLabelsAcceptedByRM() && LOG.isDebugEnabled()) {
>   LOG.debug("Node Labels {" + StringUtils.join(",", 
> previousNodeLabels)
>   + "} were Accepted by RM ");
> } else {
>   // case where updated labels from NodeLabelsProvider is sent to RM 
> and
>   // RM rejected the labels
>   LOG.error(
>   "NM node labels {" + StringUtils.join(",", previousNodeLabels)
>   + "} were not accepted by RM and message from RM : "
>   + response.getDiagnosticsMessage());
> }
>   ... ...
> {code}
> When LOG.isDebugEnabled() is false, NM will always print error log. It is an 
> obvious error and is so misleading.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (YARN-7647) NM print inappropriate error log when node-labels is enabled

2017-12-12 Thread Weiwei Yang (JIRA)

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

Weiwei Yang updated YARN-7647:
--
Fix Version/s: 2.9.1

> NM print inappropriate error log when node-labels is enabled
> 
>
> Key: YARN-7647
> URL: https://issues.apache.org/jira/browse/YARN-7647
> Project: Hadoop YARN
>  Issue Type: Bug
>Affects Versions: 2.8.0, 3.0.0-alpha1
>Reporter: Yang Wang
>Assignee: Yang Wang
>Priority: Minor
> Fix For: 3.1.0, 2.9.1
>
> Attachments: YARN-7647.001.patch
>
>
> {code:title=NodeStatusUpdaterImpl.java}
>   ... ...
>   if (response.getAreNodeLabelsAcceptedByRM() && LOG.isDebugEnabled()) {
>   LOG.debug("Node Labels {" + StringUtils.join(",", 
> previousNodeLabels)
>   + "} were Accepted by RM ");
> } else {
>   // case where updated labels from NodeLabelsProvider is sent to RM 
> and
>   // RM rejected the labels
>   LOG.error(
>   "NM node labels {" + StringUtils.join(",", previousNodeLabels)
>   + "} were not accepted by RM and message from RM : "
>   + response.getDiagnosticsMessage());
> }
>   ... ...
> {code}
> When LOG.isDebugEnabled() is false, NM will always print error log. It is an 
> obvious error and is so misleading.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (YARN-7647) NM print inappropriate error log when node-labels is enabled

2017-12-12 Thread Weiwei Yang (JIRA)

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

Weiwei Yang updated YARN-7647:
--
Target Version/s: 2.8.2, 3.1.0, 2.9.1, 3.0.1  (was: 2.8.2, 3.1.0, 3.0.1)

> NM print inappropriate error log when node-labels is enabled
> 
>
> Key: YARN-7647
> URL: https://issues.apache.org/jira/browse/YARN-7647
> Project: Hadoop YARN
>  Issue Type: Bug
>Affects Versions: 2.8.0, 3.0.0-alpha1
>Reporter: Yang Wang
>Assignee: Yang Wang
>Priority: Minor
> Fix For: 3.1.0
>
> Attachments: YARN-7647.001.patch
>
>
> {code:title=NodeStatusUpdaterImpl.java}
>   ... ...
>   if (response.getAreNodeLabelsAcceptedByRM() && LOG.isDebugEnabled()) {
>   LOG.debug("Node Labels {" + StringUtils.join(",", 
> previousNodeLabels)
>   + "} were Accepted by RM ");
> } else {
>   // case where updated labels from NodeLabelsProvider is sent to RM 
> and
>   // RM rejected the labels
>   LOG.error(
>   "NM node labels {" + StringUtils.join(",", previousNodeLabels)
>   + "} were not accepted by RM and message from RM : "
>   + response.getDiagnosticsMessage());
> }
>   ... ...
> {code}
> When LOG.isDebugEnabled() is false, NM will always print error log. It is an 
> obvious error and is so misleading.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (YARN-7647) NM print inappropriate error log when node-labels is enabled

2017-12-12 Thread Weiwei Yang (JIRA)

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

Weiwei Yang updated YARN-7647:
--
Fix Version/s: 3.1.0

> NM print inappropriate error log when node-labels is enabled
> 
>
> Key: YARN-7647
> URL: https://issues.apache.org/jira/browse/YARN-7647
> Project: Hadoop YARN
>  Issue Type: Bug
>Affects Versions: 2.8.0, 3.0.0-alpha1
>Reporter: Yang Wang
>Assignee: Yang Wang
>Priority: Minor
> Fix For: 3.1.0
>
> Attachments: YARN-7647.001.patch
>
>
> {code:title=NodeStatusUpdaterImpl.java}
>   ... ...
>   if (response.getAreNodeLabelsAcceptedByRM() && LOG.isDebugEnabled()) {
>   LOG.debug("Node Labels {" + StringUtils.join(",", 
> previousNodeLabels)
>   + "} were Accepted by RM ");
> } else {
>   // case where updated labels from NodeLabelsProvider is sent to RM 
> and
>   // RM rejected the labels
>   LOG.error(
>   "NM node labels {" + StringUtils.join(",", previousNodeLabels)
>   + "} were not accepted by RM and message from RM : "
>   + response.getDiagnosticsMessage());
> }
>   ... ...
> {code}
> When LOG.isDebugEnabled() is false, NM will always print error log. It is an 
> obvious error and is so misleading.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (YARN-7647) NM print inappropriate error log when node-labels is enabled

2017-12-12 Thread Weiwei Yang (JIRA)

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

Weiwei Yang updated YARN-7647:
--
Priority: Minor  (was: Major)

> NM print inappropriate error log when node-labels is enabled
> 
>
> Key: YARN-7647
> URL: https://issues.apache.org/jira/browse/YARN-7647
> Project: Hadoop YARN
>  Issue Type: Bug
>Affects Versions: 2.8.0, 3.0.0-alpha1
>Reporter: Yang Wang
>Assignee: Yang Wang
>Priority: Minor
> Attachments: YARN-7647.001.patch
>
>
> {code:title=NodeStatusUpdaterImpl.java}
>   ... ...
>   if (response.getAreNodeLabelsAcceptedByRM() && LOG.isDebugEnabled()) {
>   LOG.debug("Node Labels {" + StringUtils.join(",", 
> previousNodeLabels)
>   + "} were Accepted by RM ");
> } else {
>   // case where updated labels from NodeLabelsProvider is sent to RM 
> and
>   // RM rejected the labels
>   LOG.error(
>   "NM node labels {" + StringUtils.join(",", previousNodeLabels)
>   + "} were not accepted by RM and message from RM : "
>   + response.getDiagnosticsMessage());
> }
>   ... ...
> {code}
> When LOG.isDebugEnabled() is false, NM will always print error log. It is an 
> obvious error and is so misleading.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (YARN-7647) NM print inappropriate error log when node-labels is enabled

2017-12-12 Thread Weiwei Yang (JIRA)

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

Weiwei Yang updated YARN-7647:
--
Affects Version/s: 2.8.0
   3.0.0-alpha1

> NM print inappropriate error log when node-labels is enabled
> 
>
> Key: YARN-7647
> URL: https://issues.apache.org/jira/browse/YARN-7647
> Project: Hadoop YARN
>  Issue Type: Bug
>Affects Versions: 2.8.0, 3.0.0-alpha1
>Reporter: Yang Wang
>Assignee: Yang Wang
> Attachments: YARN-7647.001.patch
>
>
> {code:title=NodeStatusUpdaterImpl.java}
>   ... ...
>   if (response.getAreNodeLabelsAcceptedByRM() && LOG.isDebugEnabled()) {
>   LOG.debug("Node Labels {" + StringUtils.join(",", 
> previousNodeLabels)
>   + "} were Accepted by RM ");
> } else {
>   // case where updated labels from NodeLabelsProvider is sent to RM 
> and
>   // RM rejected the labels
>   LOG.error(
>   "NM node labels {" + StringUtils.join(",", previousNodeLabels)
>   + "} were not accepted by RM and message from RM : "
>   + response.getDiagnosticsMessage());
> }
>   ... ...
> {code}
> When LOG.isDebugEnabled() is false, NM will always print error log. It is an 
> obvious error and is so misleading.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (YARN-7647) NM print inappropriate error log when node-labels is enabled

2017-12-12 Thread Weiwei Yang (JIRA)

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

Weiwei Yang updated YARN-7647:
--
Target Version/s: 2.8.2, 3.1.0, 3.0.1

> NM print inappropriate error log when node-labels is enabled
> 
>
> Key: YARN-7647
> URL: https://issues.apache.org/jira/browse/YARN-7647
> Project: Hadoop YARN
>  Issue Type: Bug
>Affects Versions: 2.8.0, 3.0.0-alpha1
>Reporter: Yang Wang
>Assignee: Yang Wang
> Attachments: YARN-7647.001.patch
>
>
> {code:title=NodeStatusUpdaterImpl.java}
>   ... ...
>   if (response.getAreNodeLabelsAcceptedByRM() && LOG.isDebugEnabled()) {
>   LOG.debug("Node Labels {" + StringUtils.join(",", 
> previousNodeLabels)
>   + "} were Accepted by RM ");
> } else {
>   // case where updated labels from NodeLabelsProvider is sent to RM 
> and
>   // RM rejected the labels
>   LOG.error(
>   "NM node labels {" + StringUtils.join(",", previousNodeLabels)
>   + "} were not accepted by RM and message from RM : "
>   + response.getDiagnosticsMessage());
> }
>   ... ...
> {code}
> When LOG.isDebugEnabled() is false, NM will always print error log. It is an 
> obvious error and is so misleading.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (YARN-7647) NM print inappropriate error log when node-labels is enabled

2017-12-12 Thread Yang Wang (JIRA)

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

Yang Wang updated YARN-7647:

Attachment: YARN-7647.001.patch

> NM print inappropriate error log when node-labels is enabled
> 
>
> Key: YARN-7647
> URL: https://issues.apache.org/jira/browse/YARN-7647
> Project: Hadoop YARN
>  Issue Type: Bug
>Reporter: Yang Wang
>Assignee: Yang Wang
> Attachments: YARN-7647.001.patch
>
>
> {code:title=NodeStatusUpdaterImpl.java}
>   ... ...
>   if (response.getAreNodeLabelsAcceptedByRM() && LOG.isDebugEnabled()) {
>   LOG.debug("Node Labels {" + StringUtils.join(",", 
> previousNodeLabels)
>   + "} were Accepted by RM ");
> } else {
>   // case where updated labels from NodeLabelsProvider is sent to RM 
> and
>   // RM rejected the labels
>   LOG.error(
>   "NM node labels {" + StringUtils.join(",", previousNodeLabels)
>   + "} were not accepted by RM and message from RM : "
>   + response.getDiagnosticsMessage());
> }
>   ... ...
> {code}
> When LOG.isDebugEnabled() is false, NM will always print error log. It is an 
> obvious error and is so misleading.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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