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

testAllEditsDirsFailOnFlush makes subsequent test cases fail (0.23.6 only)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.23.6
    • 0.23.6
    • test
    • None
    • 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.

      Attachments

        1. hdfs-4254.branch-0.23.patch
          0.7 kB
          Kihwal Lee

        Issue Links

          Activity

            People

              kihwal Kihwal Lee
              kihwal Kihwal Lee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: