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

Add getAverageLoadOneMinute RPC in ClientDatanodeProtocol.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.4.0
    • None
    • datanode
    • None

    Description

      I think we should add a getAverageLoadOneMinute RPC in ClientDatanodeProtocol to get the average load of the datanode in recent one minute. 

      We can use this RPC in HDFS client side and other places. For example, in method addDatanode2ExistingPipeline.  We can choose the datanode with less average load as source datanode and then transfer block to new datanode which is added to existed pipeline.

      Attachments

        Activity

          People

            zhanghaobo farmmamba
            zhanghaobo farmmamba
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: