[
https://issues.apache.org/jira/browse/YARN-5506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15417496#comment-15417496
]
Nemo Chen commented on YARN-5506:
---------------------------------
That's a good point. If the level were changed to DEBUG in this code, I guess
the logs won't be printed under the following condition:
- the user includes the "debug" option,
- but with the logging level config set to be "INFO".
But is this a normal/expected scenario?
> Inconsistent logging content and logging level for distributed shell
> --------------------------------------------------------------------
>
> Key: YARN-5506
> URL: https://issues.apache.org/jira/browse/YARN-5506
> Project: Hadoop YARN
> Issue Type: Bug
> Components: applications/distributed-shell
> Affects Versions: 2.7.2
> Reporter: Nemo Chen
> Assignee: Vrushali C
> Labels: easyfix, easytest
>
> Similar to MAPREDUCE-6752, in file:
> hadoop-rel-release-2.7.2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java
> Line 313, the logging purpose is for debugging, but the level is set to info.
> {code:borderStyle=solid}
> /**
> * Dump out contents of $CWD and the environment to stdout for debugging
> */
> private void dumpOutDebugInfo() {
> LOG.info("Dump debug output");
> ...
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]