HDFS-12441. Supress UnresolvedPathException in namenode log. Contributed by Kihwal Lee.
(cherry picked from commit de197fc1562c4d1c39d24738c7cf8a8869dcec9c)
This commit is contained in:
parent
9e9e36fa70
commit
11b325d17d
@ -483,10 +483,10 @@ public NameNodeRpcServer(Configuration conf, NameNode nn)
|
|||||||
QuotaByStorageTypeExceededException.class,
|
QuotaByStorageTypeExceededException.class,
|
||||||
AclException.class,
|
AclException.class,
|
||||||
FSLimitException.PathComponentTooLongException.class,
|
FSLimitException.PathComponentTooLongException.class,
|
||||||
FSLimitException.MaxDirectoryItemsExceededException.class,
|
FSLimitException.MaxDirectoryItemsExceededException.class);
|
||||||
UnresolvedPathException.class);
|
|
||||||
|
|
||||||
clientRpcServer.addSuppressedLoggingExceptions(StandbyException.class);
|
clientRpcServer.addSuppressedLoggingExceptions(StandbyException.class,
|
||||||
|
UnresolvedPathException.class);
|
||||||
|
|
||||||
clientRpcServer.setTracer(nn.tracer);
|
clientRpcServer.setTracer(nn.tracer);
|
||||||
if (serviceRpcServer != null) {
|
if (serviceRpcServer != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user