[ https://issues.apache.org/jira/browse/HDFS-5766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colin Patrick McCabe updated HDFS-5766: --------------------------------------- Summary: In DFSInputStream, do not add datanode to deadNodes after InvalidEncryptionKeyException in fetchBlockByteRange (was: bypass addToDeadNodes() while InvalidEncryptionKeyException happens in fetchBlockByteRange) > In DFSInputStream, do not add datanode to deadNodes after > InvalidEncryptionKeyException 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)