[ 
https://issues.apache.org/jira/browse/HDFS-17146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17811266#comment-17811266
 ] 

ASF GitHub Bot commented on HDFS-17146:
---------------------------------------

zhtttylz opened a new pull request, #6504:
URL: https://github.com/apache/hadoop/pull/6504

   JIRA: HDFS-17146. Use the dfsadmin -reconfig command to initiate 
reconfiguration on all decommissioning datanodes.
   
   If the DFSAdmin command could have the ability to perform bulk operations 
across all decommissioned datanodes, that would be highly advantageous.
   
   ### How was this patch tested?
   
   Dev cluster and UT.
   
   When the cluster node status is as follows:
   ```
   Hostname: hadoop-node1
   Decommission Status : Decommission in progress
   
   Hostname: hadoop-node2
   Decommission Status : Decommission in progress
   
   Hostname: hadoop-node3
   Decommission Status : Normal
   
   [hadoop@hadoop-ops bin]$ hdfs dfsadmin -reconfig datanode decomnodes start
   Started reconfiguration task on node [hadoop-node1:9867].
   Started reconfiguration task on node [hadoop-node2:9867].
   Starting of reconfiguration task successful on 2 nodes, failed on 0 nodes.
   
   
   
   [hadoop@hadoop-ops bin]$ hdfs dfsadmin -reconfig datanode decomnodes status
   Reconfiguring status for node [hadoop-node1:9867]: started at Fri Jan 26 
20:19:54 CST 2024 and finished at Fri Jan 26 20:19:54 CST 2024.
   SUCCESS: Changed property dfs.datanode.data.transfer.bandwidthPerSec
           From: "0"
           To: "10240"
   Reconfiguring status for node [hadoop-node2:9867]: started at Fri Jan 26 
20:19:56 CST 2024 and finished at Fri Jan 26 20:19:56 CST 2024.
   SUCCESS: Changed property dfs.datanode.data.transfer.bandwidthPerSec
           From: "0"
           To: "10240"
   Retrieval of reconfiguration status successful on 2 nodes, failed on 0 nodes.
   ```




> Use the dfsadmin -reconfig command to initiate reconfiguration on all 
> decommissioning datanodes.
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-17146
>                 URL: https://issues.apache.org/jira/browse/HDFS-17146
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>    Affects Versions: 3.4.0
>            Reporter: Hualong Zhang
>            Assignee: Hualong Zhang
>            Priority: Major
>
> If the *DFSAdmin* command could have the ability to perform bulk operations 
> across all decommissioned datanodes, that would be highly advantageous.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to