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

Yang Yun commented on HDFS-15816:
---------------------------------

Thanks [~ayushtkn] for your review.

Add a new variable 'ThreadLocal<Boolean> hasStaleNode' to trace if it met node 
in new patch HDFS-15816.002.patch.

> If NO stale node in last choosing, the chooseTarget don't need to retry with 
> stale nodes.
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-15816
>                 URL: https://issues.apache.org/jira/browse/HDFS-15816
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: block placement
>            Reporter: Yang Yun
>            Assignee: Yang Yun
>            Priority: Minor
>         Attachments: HDFS-15816.001.patch, HDFS-15816.002.patch
>
>
> If NO stale node in last choosing, the chooseTarget don't need to retry with 
> stale nodes.



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

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

Reply via email to