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

HDFS-12487 breaks test TestDiskBalancer.testDiskBalancerWithFedClusterWithOneNameServiceEmpty

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0, 3.2.1, 3.1.3
    • 3.3.0, 3.2.2
    • diskbalancer
    • Reviewed

    Description

      It looks like HDFS-12487 changes the error message expected by TestDiskBalancer#testDiskBalancerWithFedClusterWithOneNameServiceEmpty.

      The test expects error "There are no blocks in the blockPool" but after HDFS-12487, it returns error string "NextBlock call returned null.No valid block to copy."

      Probably the simplest approach to fix it is to update the expected error string.

      Thoughts? [~bharatviswa] you crafted the test in HDFS-13715. Should we update the expected error string, or revert HDFS-12487?

      Attachments

        1. HDFS-14599.001.patch
          3 kB
          Xiaoqiao He
        2. HDFS-14599.002.patch
          3 kB
          Xiaoqiao He

        Issue Links

        Activity

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

          People

            hexiaoqiao Xiaoqiao He
            weichiu Wei-Chiu Chuang
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment