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

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • HDFS-1312
    • HDFS-1312
    • balancer & mover, datanode
    • None
    • 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.0.patch
          1.0 kB
          Lei (Eddy) Xu
        2. HDFS-10496-HDFS-1312.001.patch
          1.0 kB
          Lei (Eddy) Xu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: