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

Daniel Ma commented on HDFS-16093:
----------------------------------

Hi [~tomscut], thanks for your quick reply.

The Jira you mentioned can relieve such issue to some extent, but I think only 
the DataNode in service should be returned to the client.

All the abnornal state DataNode like DECOMMISSION or MAINTANENCE should be 
removed in the return list.

> DataNodes under decommission will still be returned to the client via 
> getLocatedBlocks, so the client may request decommissioning datanodes to read 
> which will cause badly competation on disk IO.
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-16093
>                 URL: https://issues.apache.org/jira/browse/HDFS-16093
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 3.3.1
>            Reporter: Daniel Ma
>            Priority: Critical
>
> DataNodes under decommission will still be returned to the client via 
> getLocatedBlocks, so the client may request decommissioning datanodes to read 
> which will cause badly competation on disk IO.
> Therefore, datanodes under decommission should be removed from the return 
> list of getLocatedBlocks api.
> !image-2021-06-29-10-50-44-739.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to