Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7425

NameNode block deletion logging uses incorrect appender.

    Details

    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The NameNode uses 2 separate Log4J appenders for tracking state changes. The appenders are named "org.apache.hadoop.hdfs.StateChange" and "BlockStateChange". The intention of BlockStateChange is to separate more verbose block state change logging and allow it to be configured separately. In branch-2, there is some block state change logging that incorrectly goes to the "org.apache.hadoop.hdfs.StateChange" appender though. The bug is not present in trunk.

        Issue Links

          Activity

          Hide
          cnauroth Chris Nauroth added a comment -

          Here is a branch-2 patch that corrects this logging. This is in agreement with what we have currently in trunk. (There will be no trunk patch for this.)

          Show
          cnauroth Chris Nauroth added a comment - Here is a branch-2 patch that corrects this logging. This is in agreement with what we have currently in trunk. (There will be no trunk patch for this.)
          Hide
          wheat9 Haohui Mai added a comment -

          +1

          Show
          wheat9 Haohui Mai added a comment - +1
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #6590 (See https://builds.apache.org/job/Hadoop-trunk-Commit/6590/)
          HDFS-7425. NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth. (cnauroth: rev b8c094b0754099f13d668081b4afcf0644e325c3)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #6590 (See https://builds.apache.org/job/Hadoop-trunk-Commit/6590/ ) HDFS-7425 . NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth. (cnauroth: rev b8c094b0754099f13d668081b4afcf0644e325c3) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          cnauroth Chris Nauroth added a comment -

          I committed this to branch-2 and branch-2.6. Haohui, thank you for the code review.

          Show
          cnauroth Chris Nauroth added a comment - I committed this to branch-2 and branch-2.6. Haohui, thank you for the code review.
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #13 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/13/)
          HDFS-7425. NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth. (cnauroth: rev b8c094b0754099f13d668081b4afcf0644e325c3)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #13 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/13/ ) HDFS-7425 . NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth. (cnauroth: rev b8c094b0754099f13d668081b4afcf0644e325c3) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Yarn-trunk #751 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/751/)
          HDFS-7425. NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth. (cnauroth: rev b8c094b0754099f13d668081b4afcf0644e325c3)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk #751 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/751/ ) HDFS-7425 . NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth. (cnauroth: rev b8c094b0754099f13d668081b4afcf0644e325c3) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Hdfs-trunk #1941 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1941/)
          HDFS-7425. NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth. (cnauroth: rev b8c094b0754099f13d668081b4afcf0644e325c3)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Hdfs-trunk #1941 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1941/ ) HDFS-7425 . NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth. (cnauroth: rev b8c094b0754099f13d668081b4afcf0644e325c3) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Hdfs-trunk-Java8 #13 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/13/)
          HDFS-7425. NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth. (cnauroth: rev b8c094b0754099f13d668081b4afcf0644e325c3)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Hdfs-trunk-Java8 #13 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/13/ ) HDFS-7425 . NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth. (cnauroth: rev b8c094b0754099f13d668081b4afcf0644e325c3) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #13 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/13/)
          HDFS-7425. NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth. (cnauroth: rev b8c094b0754099f13d668081b4afcf0644e325c3)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #13 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/13/ ) HDFS-7425 . NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth. (cnauroth: rev b8c094b0754099f13d668081b4afcf0644e325c3) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk #1965 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1965/)
          HDFS-7425. NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth. (cnauroth: rev b8c094b0754099f13d668081b4afcf0644e325c3)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #1965 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1965/ ) HDFS-7425 . NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth. (cnauroth: rev b8c094b0754099f13d668081b4afcf0644e325c3) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

            People

            • Assignee:
              cnauroth Chris Nauroth
              Reporter:
              cnauroth Chris Nauroth
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development