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

Improving the argument check during balancer command line parsing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4.1
    • 2.6.0
    • balancer & mover
    • None
    • Reviewed

    Description

      Currently balancer CLI parser simply checks if the total number of arguments is greater than 2 inside the loop. Since the check does not include any loop variables, it is not a proper check when there more than 2 arguments.

      Attachments

        1. HDFS-6796.patch
          3 kB
          Benoy Antony
        2. HDFS-6796.patch
          5 kB
          Benoy Antony

        Activity

          People

            benoyantony Benoy Antony
            benoyantony Benoy Antony
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: