Hadoop Common
  1. Hadoop Common
  2. HADOOP-279

running without the hadoop script causes warnings about log4j not being configured correctly

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.3.1
    • Fix Version/s: 0.3.2
    • Component/s: None
    • Labels:
      None

      Description

      Anyone who runs hadoop programs without the bin/hadoop script will get a message about log4j not being configured correctly. The problem is that the config file uses the system property "hadoop.root.logger", which is set in the script.

        Activity

        Hide
        Doug Cutting added a comment -

        I just committed this. Thanks, Owen.

        Show
        Doug Cutting added a comment - I just committed this. Thanks, Owen.
        Hide
        Owen O'Malley added a comment -

        This patch sets default values for the three system properties that are used in the default property files.

        hadoop.root.logger=INFO,stdout
        hadoop.log.dir=.
        hadoop.log.file=hadoop.log

        It also includes some examples of increasing logging levels.

        Show
        Owen O'Malley added a comment - This patch sets default values for the three system properties that are used in the default property files. hadoop.root.logger=INFO,stdout hadoop.log.dir=. hadoop.log.file=hadoop.log It also includes some examples of increasing logging levels.

          People

          • Assignee:
            Owen O'Malley
            Reporter:
            Owen O'Malley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development