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

no NullAppender in the log4j config

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 0.23.1
    • conf
    • None
    • OS/X, no JAVA_HOME set

    • Reviewed

    Description

      running sbin/start-dfs.sh gives me a telling off about no null appender -should one be in the log4j config file.

      Full trace (failure expected, but full output not as expected)

      ./start-dfs.sh 
      log4j:ERROR Could not find value for key log4j.appender.NullAppender
      log4j:ERROR Could not instantiate appender named "NullAppender".
      Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.
      Starting namenodes on []
      cat: /Users/slo/Java/Hadoop/versions/hadoop-0.23.0/libexec/../etc/hadoop/slaves: No such file or directory
      cat: /Users/slo/Java/Hadoop/versions/hadoop-0.23.0/libexec/../etc/hadoop/slaves: No such file or directory
      Secondary namenodes are not configured.  Cannot start secondary namenodes.
      

      Attachments

        1. hadoop-7837-1.patch
          1 kB
          Eli Collins

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            eli Eli Collins
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment