farmmamba created HDFS-17245:
--------------------------------

             Summary: Add getAverageLoadOneMinute RPC in ClientDatanodeProtocol.
                 Key: HDFS-17245
                 URL: https://issues.apache.org/jira/browse/HDFS-17245
             Project: Hadoop HDFS
          Issue Type: New Feature
          Components: datanode
            Reporter: farmmamba
             Fix For: 3.4.0


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to