Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-339

Logging is fixed at INFO level in hadoop-daemon.sh instead of using log4j.properties

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: CDH3u0
    • Fix Version/s: None
    • Component/s: Hadoop Common
    • Labels:
    • Environment:
      Ubuntu Linux 10.04 LTS

      Description

      In the file /usr/lib/hadoop/bin/hadoop-daemon.sh the LOGLEVEL is set through an environment variable:
      EXPORT HADOOP_ROOT_LOGGER="INFO,DRFA"

      Many people expect that changing /usr/lib/hadoop/conf/log4j.properties will change the log level, but it does not. Changing the hadoop-daemon.sh script does the trick, but it is not a clean way. I'm not sure what would be the best way to attack this problem, but it would be nice if we could use log4j.properties.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              eric Eric
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: