[
https://issues.apache.org/jira/browse/HDFS-15119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17024474#comment-17024474
]
Ahmed Hussein commented on HDFS-15119:
--------------------------------------
[~ayushtkn], refreshening the block locations regardless of the blacklists may
have advantage in exploring better source and destinations when blocks move
between nodes.
> Allow expiration of cached locations in DFSInputStream
> ------------------------------------------------------
>
> Key: HDFS-15119
> URL: https://issues.apache.org/jira/browse/HDFS-15119
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: dfsclient
> Reporter: Ahmed Hussein
> Assignee: Ahmed Hussein
> Priority: Minor
> Fix For: 3.3.0, 3.1.4, 3.2.2
>
> Attachments: HDFS-15119.001.patch, HDFS-15119.002.patch,
> HDFS-15119.003.patch
>
>
> Staleness and other transient conditions can affect reads for a long time
> since the block locations may not be re-fetched. It makes sense to make
> cached locations to expire.
> For example, we may not take advantage of local-reads since the nodes are
> blacklisted and have not been updated.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]