You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Vrushali C (JIRA)" <ji...@apache.org> on 2016/08/11 15:09:20 UTC
[jira] [Comment Edited] (YARN-5506) Inconsistent logging content
and logging level for distributed shell
[ https://issues.apache.org/jira/browse/YARN-5506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15417378#comment-15417378 ]
Vrushali C edited comment on YARN-5506 at 8/11/16 3:09 PM:
-----------------------------------------------------------
Not sure if this should change to debug level, since the function is called intentionally when
{code}
if (cliParser.hasOption("debug")) {
dumpOutDebugInfo();
}
{code}
So perhaps INFO level is fine?
was (Author: vrushalic):
Will put up a patch very shortly
> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org