Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1312 Re-balance disks within a Datanode
  3. HDFS-10496

DiskBalancer: ExecuteCommand checks planFile in a wrong way

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: HDFS-1312
    • Fix Version/s: HDFS-1312
    • Component/s: balancer & mover, datanode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In ExecuteCommand#execute, it checks the plan file as

       Preconditions.checkArgument(planFile == null || planFile.isEmpty(),
              "Invalid plan file specified.");
      

      Which stops the execution with a correct planFile argument.

        Attachments

        1. HDFS-10496-HDFS-1312.001.patch
          1.0 kB
          Lei (Eddy) Xu
        2. HDFS-10496.0.patch
          1.0 kB
          Lei (Eddy) Xu

          Activity

            People

            • Assignee:
              eddyxu Lei (Eddy) Xu
              Reporter:
              eddyxu Lei (Eddy) Xu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: