Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8825 Enhancements to Balancer
  3. HDFS-8890

Allow admin to specify which blockpools the balancer should run on

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • balancer & mover
    • None
    • Reviewed
    • Hide
      Adds a new blockpools flag to the balancer. This allows admins to specify which blockpools the balancer will run on.
      Usage:
      -blockpools <comma-separated list of blockpool ids>
      The balancer will only run on blockpools included in this list.
      Show
      Adds a new blockpools flag to the balancer. This allows admins to specify which blockpools the balancer will run on. Usage: -blockpools <comma-separated list of blockpool ids> The balancer will only run on blockpools included in this list.

    Description

      Currently the balancer runs on all blockpools. Allow an admin to run the balancer on a set of blockpools. This will enable the balancer to skip blockpools that should not be balanced. For example, a tmp blockpool that has a large amount of churn.

      An example of the command line interface would be an additional flag that specifies the blockpools by id:

      -blockpools BP-6299761-10.55.116.188-1415904647555,BP-47348528-10.51.120.139-1415904199257

      Attachments

        1. HDFS-8890-trunk-v4.patch
          26 kB
          Chris Trezzo
        2. HDFS-8890-trunk-v3.patch
          24 kB
          Chris Trezzo
        3. HDFS-8890-trunk-v2.patch
          24 kB
          Chris Trezzo
        4. HDFS-8890-trunk-v1.patch
          21 kB
          Chris Trezzo

        Issue Links

        Activity

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

          People

            ctrezzo Chris Trezzo
            ctrezzo Chris Trezzo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment