HDFS-12441. Supress UnresolvedPathException in namenode log. Contributed by Kihwal Lee.

This commit is contained in:
Nathan Roberts 2017-09-15 13:08:41 -05:00
parent 2d2d97fa7d
commit de197fc156

View File

@ -517,10 +517,10 @@ public NameNodeRpcServer(Configuration conf, NameNode nn)
QuotaByStorageTypeExceededException.class,
AclException.class,
FSLimitException.PathComponentTooLongException.class,
FSLimitException.MaxDirectoryItemsExceededException.class,
UnresolvedPathException.class);
FSLimitException.MaxDirectoryItemsExceededException.class);
clientRpcServer.addSuppressedLoggingExceptions(StandbyException.class);
clientRpcServer.addSuppressedLoggingExceptions(StandbyException.class,
UnresolvedPathException.class);
clientRpcServer.setTracer(nn.tracer);
if (serviceRpcServer != null) {