[
https://issues.apache.org/jira/browse/HDFS-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108121#comment-13108121
]
Milind Bhandarkar commented on HDFS-2246:
-----------------------------------------
@Eli, I think Konst kept HDFS-2285 open for trunk commit.
I took a brief look at this patch, and relying on a substring in the exception
message is the anti-pattern used here. Can a subclass of
InvalidBlockTokenException be created that specifically indicates token
expired, and ex checked as instanceof of that ?
> Shortcut a local client reads to a Datanodes files directly
> -----------------------------------------------------------
>
> Key: HDFS-2246
> URL: https://issues.apache.org/jira/browse/HDFS-2246
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Sanjay Radia
> Attachments: 0001-HDFS-347.-Local-reads.patch, HDFS-2246.20s.1.patch,
> HDFS-2246.20s.patch, localReadShortcut20-security.2patch
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira