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

DiskBalancer: no validations for Disk balancer commands

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0, 3.2.1
    • diskbalancer

    Description

      Scenario:-

       
      1 Run the Disk Balancer commands with extra arguments passing  

       
      hadoopclient> hdfs diskbalancer -plan hostname --thresholdPercentage 2 *sgfsdgfs*
      2018-08-31 14:57:35,454 INFO planner.GreedyPlanner: Starting plan for Node : hostname:50077
      2018-08-31 14:57:35,457 INFO planner.GreedyPlanner: Disk Volume set fb67f00c-e333-4f38-a3a6-846a30d4205a Type : DISK plan completed.
      2018-08-31 14:57:35,457 INFO planner.GreedyPlanner: Compute Plan for Node : hostname:50077 took 23 ms
      2018-08-31 14:57:35,457 INFO command.Command: Writing plan to:
      2018-08-31 14:57:35,457 INFO command.Command: /system/diskbalancer/2018-Aug-31-14-57-35/hostname.plan.json
      Writing plan to:
      /system/diskbalancer/2018-Aug-31-14-57-35/hostname.plan.json
      

      Expected Output:-
      =============
      Disk balancer commands should be fail if we pass any invalid arguments or extra arguments.

      Attachments

        1. HDFS-13893.001.patch
          3 kB
          Lokesh Jain
        2. HDFS-13893.002.patch
          2 kB
          Lokesh Jain
        3. HDFS-13893.003.patch
          3 kB
          Lokesh Jain

        Activity

          People

            ljain Lokesh Jain
            Harsha1206 Harshakiran Reddy
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: