[ https://issues.apache.org/jira/browse/HDFS-5766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13872430#comment-13872430
]
Colin Patrick McCabe commented on HDFS-5766:
--------------------------------------------
+1. Thanks, Liang.
> bypass addToDeadNodes() while InvalidEncryptionKeyException happens in fetchBlockByteRange
> ------------------------------------------------------------------------------------------
>
> Key: HDFS-5766
> URL: https://issues.apache.org/jira/browse/HDFS-5766
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs-client
> Affects Versions: 3.0.0
> Reporter: Liang Xie
> Assignee: Liang Xie
> Attachments: HDFS-5766.txt
>
>
> Found this issue when i read fetchBlockByteRange code:
> If we hit InvalidEncryptionKeyException, current logic is:
> 1) reduce the retry count
> 2) clearDataEncryptionKey
> 3) addToDeadNodes
> 4) retry in another loop...
> If i am correct, we should treat InvalidEncryptionKeyException similar with InvalidBlockToken
branch, bypassing addToDeadNodes(), since it's a client related, not caused by DN side:)
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
|