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

Add -source flag to balancer usage message

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      HDFS-8826 added a -source flag to the balancer, but the usage message still needs to be updated. See current usage message in trunk:

         private static final String USAGE = "Usage: hdfs balancer"
             + "\n\t[-policy <policy>]\tthe balancing policy: "
             + BalancingPolicy.Node.INSTANCE.getName() + " or "
             + BalancingPolicy.Pool.INSTANCE.getName()
             + "\n\t[-threshold <threshold>]\tPercentage of disk capacity"
             + "\n\t[-exclude [-f <hosts-file> | <comma-separated list of hosts>]]"
             + "\tExcludes the specified datanodes."
             + "\n\t[-include [-f <hosts-file> | <comma-separated list of hosts>]]"
             + "\tIncludes only the specified datanodes."
             + "\n\t[-idleiterations <idleiterations>]"
             + "\tNumber of consecutive idle iterations (-1 for Infinite) before "
             + "exit."
             + "\n\t[-runDuringUpgrade]"
             + "\tWhether to run the balancer during an ongoing HDFS upgrade."
             + "This is usually not desired since it will not affect used space "
             + "on over-utilized machines.";
      

      Attachments

        1. HDFS-8923-trunk-v4.patch
          2 kB
          Chris Trezzo
        2. HDFS-8923-trunk-v3.patch
          2 kB
          Chris Trezzo
        3. HDFS-8923-trunk-v2.patch
          2 kB
          Chris Trezzo
        4. HDFS-8923-trunk-v1.patch
          0.9 kB
          Chris Trezzo

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: