[ https://issues.apache.org/jira/browse/HDFS-17245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17802402#comment-17802402 ]
Shilun Fan commented on HDFS-17245: ----------------------------------- We do not need to fill in the fix version. This field needs to be filled in only after jira is completed. > 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 > Affects Versions: 3.4.0 > Reporter: farmmamba > Assignee: farmmamba > Priority: Major > > 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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org