[
https://issues.apache.org/jira/browse/HDFS-8272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14520627#comment-14520627
]
Zhe Zhang commented on HDFS-8272:
---------------------------------
Sounds good. I guess we can mock returning a bad token / encryption key at
first request and a good one on second req. Also we can mock a transient DN
failure.
> Erasure Coding: simplify the retry logic in DFSStripedInputStream (stateful
> read)
> ---------------------------------------------------------------------------------
>
> Key: HDFS-8272
> URL: https://issues.apache.org/jira/browse/HDFS-8272
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Fix For: HDFS-7285
>
> Attachments: HDFS-8272.002.patch, h8272-HDFS-7285.000.patch,
> h8272-HDFS-7285.001.patch
>
>
> Currently in DFSStripedInputStream the retry logic is still the same with
> DFSInputStream. More specifically, every failed read will try to search for
> another source node. And an exception is thrown when no new source node can
> be identified. This logic is not appropriate for EC inputstream and can be
> simplified.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)