You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2014/09/16 01:02:34 UTC
[jira] [Updated] (HADOOP-7984) Add hadoop command verbose and debug
options
[ https://issues.apache.org/jira/browse/HADOOP-7984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer updated HADOOP-7984:
-------------------------------------
Attachment: HADOOP-7984.patch
* Changes the default loggers to WARN,console & WARN,RFA
* Changes --debug to take parameters (--debug shell, --debug java, --debug java shell, --debug shell java) to activate debugging for the shell code and/or set DEBUG as the first param in the logger env vars.
* --verbose added which changes the first param in the log4j params to INFO
> Add hadoop command verbose and debug options
> --------------------------------------------
>
> Key: HADOOP-7984
> URL: https://issues.apache.org/jira/browse/HADOOP-7984
> Project: Hadoop Common
> Issue Type: Improvement
> Components: scripts
> Reporter: Eli Collins
> Assignee: Allen Wittenauer
> Priority: Minor
> Labels: newbie
> Attachments: HADOOP-7984.patch
>
>
> It would be helpful if bin/hadoop had verbose and debug flags. Currently users need to set an env variable or prefix the command (eg "HADOOP_ROOT_LOGGER=DEBUG,console hadoop distcp") which isn't very user friendly. We currently log INFO by default. How about we only log ERROR and WARN by default, then -verbose triggers INFO and -debug triggers DEBUG?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)