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

testAllEditsDirsFailOnFlush makes subsequent test cases fail (0.23.6 only)

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment