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 Mon, 15 Sep 2014 23:03:34 GMT

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

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

Also, wrt my question, this patch opts to leave the setting in _OPTS alone.

> Add hadoop command verbose and debug options
> --------------------------------------------
>
>                 Key: HADOOP-7984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7984
>             Project: Hadoop Common
>          Issue Type: New Feature
>          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)

Mime
View raw message