HDFS-11012. Unnecessary INFO logging on DFSClients for InvalidToken. Contributed by Harsh J.
This closes #142
This commit is contained in:
parent
391ce535a7
commit
5ad037df25
|
@ -1261,8 +1261,9 @@ public class DFSInputStream extends FSInputStream
|
||||||
*/
|
*/
|
||||||
if (ex instanceof InvalidBlockTokenException ||
|
if (ex instanceof InvalidBlockTokenException ||
|
||||||
ex instanceof InvalidToken) {
|
ex instanceof InvalidToken) {
|
||||||
DFSClient.LOG.info("Access token was invalid when connecting to "
|
DFSClient.LOG.debug(
|
||||||
+ targetAddr + " : " + ex);
|
"Access token was invalid when connecting to {}: {}",
|
||||||
|
targetAddr, ex);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue