HDFS-5766. In DFSInputStream, do not add datanode to deadNodes after InvalidEncryptionKeyException in fetchBlockByteRange (Liang Xie via Colin Patrick McCabe)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1558536 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
037a89abc5
commit
c3b236ce5d
|
@ -677,6 +677,10 @@ Release 2.4.0 - UNRELEASED
|
||||||
HDFS-5762. BlockReaderLocal doesn't return -1 on EOF when doing zero-length
|
HDFS-5762. BlockReaderLocal doesn't return -1 on EOF when doing zero-length
|
||||||
reads (Colin Patrick McCabe)
|
reads (Colin Patrick McCabe)
|
||||||
|
|
||||||
|
HDFS-5766. In DFSInputStream, do not add datanode to deadNodes after
|
||||||
|
InvalidEncryptionKeyException in fetchBlockByteRange (Liang Xie via Colin
|
||||||
|
Patrick McCabe)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HDFS-5239. Allow FSNamesystem lock fairness to be configurable (daryn)
|
HDFS-5239. Allow FSNamesystem lock fairness to be configurable (daryn)
|
||||||
|
|
|
@ -969,6 +969,7 @@ implements ByteBufferReadable, CanSetDropBehind, CanSetReadahead,
|
||||||
// The encryption key used is invalid.
|
// The encryption key used is invalid.
|
||||||
refetchEncryptionKey--;
|
refetchEncryptionKey--;
|
||||||
dfsClient.clearDataEncryptionKey();
|
dfsClient.clearDataEncryptionKey();
|
||||||
|
continue;
|
||||||
} else if (refetchToken > 0 && tokenRefetchNeeded(e, targetAddr)) {
|
} else if (refetchToken > 0 && tokenRefetchNeeded(e, targetAddr)) {
|
||||||
refetchToken--;
|
refetchToken--;
|
||||||
fetchBlockAt(block.getStartOffset());
|
fetchBlockAt(block.getStartOffset());
|
||||||
|
|
Loading…
Reference in New Issue