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

Code cleanup for Balancer and Dispatcher

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0
    • Component/s: balancer & mover
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      A few minor code cleanup changes:

      • The constructor of Dispatcher should not read Balancer's conf properties; the values should be passed by parameters.
      • StorageGroup.utilization can be removed; it is only used in toString().
      • Move Balancer.ReturnStatus to a standalone class.
      • In Dispatcher, rename BalancerDatanode to DDatanode.

        Attachments

        1. h6837_20140810b.patch
          38 kB
          Tsz-wo Sze
        2. h6837_20140810.patch
          37 kB
          Tsz-wo Sze

          Activity

            People

            • Assignee:
              szetszwo Tsz-wo Sze
              Reporter:
              szetszwo Tsz-wo Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: