Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10576 DiskBalancer followup work items
  3. HDFS-11038

DiskBalancer: support running multiple commands in single test

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha2
    • balancer & mover
    • None

    Description

      Disk balancer follows/reuses one rule designed by HDFS balancer, that is, only one instance is allowed to run at the same time. This is correct in production system to avoid any inconsistencies, but it's not ideal to write and run unit tests. For example, it should be allowed run plan, execute, scan commands under one setup of disk balancer. One instance rule will throw exception by complaining 'Another instance is running'. In such a case, there's no way to do a full life cycle tests which involves a sequence of commands.

      Attachments

        1. HDFS-11038.001.patch
          15 kB
          Xiaobing Zhou
        2. HDFS-11038.000.patch
          15 kB
          Xiaobing Zhou

        Issue Links

          Activity

            People

              xiaobingo Xiaobing Zhou
              xiaobingo Xiaobing Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: