You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Liang Xie (JIRA)" <ji...@apache.org> on 2014/01/14 10:38:57 UTC
[jira] [Created] (HDFS-5766) bypass addToDeadNodes() while
InvalidEncryptionKeyException happens in fetchBlockByteRange
Liang Xie created HDFS-5766:
-------------------------------
Summary: 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
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)