Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-4254

testAllEditsDirsFailOnFlush makes subsequent test cases fail (0.23.6 only)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.6
    • Fix Version/s: 0.23.6
    • Component/s: test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      This jira is about a broken test case in branch-0.23 only.

      After HDFS-4233, testAllEditsDirsFailOnFlush started making subsequent cases in the same file fail. This is because MiniDFSCluster won't shutdown cleanly due to logSync() failure caused by lack of active journal streams. Without HDFS-4233, the condition was not detected and logSync() incorrectly ran without any error. To make MiniDFSCluster shutdown cleanly after a crash, the edit log needs to be aborted.

        Issue Links

          Activity

          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12555589/hdfs-4254.branch-0.23.patch
          against trunk revision .

          -1 patch. The patch command could not apply the patch.

          Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/3582//console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12555589/hdfs-4254.branch-0.23.patch against trunk revision . -1 patch . The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/3582//console This message is automatically generated.
          Hide
          Kihwal Lee added a comment -

          The patch is for 0.23 only.

          Show
          Kihwal Lee added a comment - The patch is for 0.23 only.
          Hide
          Daryn Sharp added a comment -

          I've committed to branch 23. Thanks Kihwal!

          Show
          Daryn Sharp added a comment - I've committed to branch 23. Thanks Kihwal!
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-0.23-Build #452 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/452/)
          HDFS-4254. testAllEditsDirsFailOnFlush makes subsequent test cases fail (0.23.6 only) (Kihwal Lee via daryn) (Revision 1415899)

          Result = SUCCESS
          daryn : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1415899
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestEditLogJournalFailures.java
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #452 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/452/ ) HDFS-4254 . testAllEditsDirsFailOnFlush makes subsequent test cases fail (0.23.6 only) (Kihwal Lee via daryn) (Revision 1415899) Result = SUCCESS daryn : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1415899 Files : /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestEditLogJournalFailures.java

            People

            • Assignee:
              Kihwal Lee
              Reporter:
              Kihwal Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development