hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7984) Add hadoop command verbose and debug options
Date Thu, 25 Sep 2014 02:50:34 GMT

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

Akira AJISAKA commented on HADOOP-7984:

Thanks Allen for comments.
bq. So please drop the HADOOP_MAPRED_LOGLEVEL and YARN_LOGLEVEL bits and just use HADOOP_LOGLEVEL
I'll drop them in the next patch.
bq. I saw that you changed the log level for the security audit log, but I don't think it
has anything but INFO coded.
Agree, I'll drop the change.
bq. Also, one of the stated goals of this JIRA was to change the default from INFO up to WARN.
Is this something we still want to do?
I just want to add "--loglevel" option because adding a new option is compatible. I'm thinking
it would be better to create a separate jira for changing the default log level (i.e. incompatible

> 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: Akira AJISAKA
>            Priority: Minor
>              Labels: newbie
>         Attachments: HADOOP-7984.patch, 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

View raw message