Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-279

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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
        cutting Doug Cutting added a comment -

        I just committed this. Thanks, Owen.

        Show
        cutting Doug Cutting added a comment - I just committed this. Thanks, Owen.
        Hide
        owen.omalley 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.omalley 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.omalley Owen O'Malley
            Reporter:
            owen.omalley Owen O'Malley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development