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/14 20:40:34 UTC
[jira] [Comment Edited] (HADOOP-7984) Add hadoop command verbose
and debug options
[ https://issues.apache.org/jira/browse/HADOOP-7984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14133335#comment-14133335 ]
Allen Wittenauer edited comment on HADOOP-7984 at 9/14/14 6:39 PM:
-------------------------------------------------------------------
With the common code shell path in trunk, adding this functionality is fairly trivial.
That said, I've already co-opted \-\-debug for debugging the actual shell scripts as part of one of the follow-ons for HADOOP-9902. Since this isn't out in the wild yet, we can certainly move the shell's \-\-debug into something else (\-\-shelldebug?) and take back it back for usage here, which is much more likely to get used.
I'll work up a patch tomorrow.
was (Author: aw):
With the common code shell path in trunk, adding this functionality is fairly trivial.
That said, I've already co-opted --debug for debugging the actual shell scripts as part of one of the follow-ons for HADOOP-9902. Since this isn't out in the wild yet, we can certainly move the shell's --debug into something else (--shelldebug?) and take back it back for usage here, which is much more likely to get used.
I'll work up a patch tomorrow.
> 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
>
> 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)