hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7984) Add hadoop command verbose and debug options
Date Sun, 14 Sep 2014 18:39:34 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14133335#comment-14133335
] 

Allen Wittenauer commented on HADOOP-7984:
------------------------------------------

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)

Mime
View raw message