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

Code cleanup for Balancer and Dispatcher

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.6.0
    • balancer & mover
    • None
    • 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_20140810.patch
          37 kB
          Tsz-wo Sze
        2. h6837_20140810b.patch
          38 kB
          Tsz-wo Sze

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: