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)