HDFS-7394. Log at INFO level, not WARN level, when InvalidToken is seen in ShortCircuitCache (Keith Pak via Colin P. McCabe)
This commit is contained in:
parent
198fb58776
commit
26d3b7e6ae
@ -359,6 +359,9 @@ Release 2.7.0 - UNRELEASED
|
||||
HDFS-7386. Replace check "port number < 1024" with shared isPrivilegedPort
|
||||
method. (Yongjun Zhang via cnauroth)
|
||||
|
||||
HDFS-7394. Log at INFO level, not WARN level, when InvalidToken is seen in
|
||||
ShortCircuitCache (Keith Pak via Colin P. McCabe)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
@ -743,7 +743,7 @@ private ShortCircuitReplicaInfo fetch(ExtendedBlockId key,
|
||||
throw new RetriableException("interrupted");
|
||||
}
|
||||
if (info.getInvalidTokenException() != null) {
|
||||
LOG.warn(this + ": could not get " + key + " due to InvalidToken " +
|
||||
LOG.info(this + ": could not get " + key + " due to InvalidToken " +
|
||||
"exception.", info.getInvalidTokenException());
|
||||
return info;
|
||||
}
|
||||
@ -802,7 +802,7 @@ private ShortCircuitReplicaInfo create(ExtendedBlockId key,
|
||||
Waitable<ShortCircuitReplicaInfo> waitableInMap = replicaInfoMap.get(key);
|
||||
if (waitableInMap == newWaitable) replicaInfoMap.remove(key);
|
||||
if (info.getInvalidTokenException() != null) {
|
||||
LOG.warn(this + ": could not load " + key + " due to InvalidToken " +
|
||||
LOG.info(this + ": could not load " + key + " due to InvalidToken " +
|
||||
"exception.", info.getInvalidTokenException());
|
||||
} else {
|
||||
LOG.warn(this + ": failed to load " + key);
|
||||
|
Loading…
Reference in New Issue
Block a user