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

(cherry picked from commit de197fc156)
This commit is contained in:
Nathan Roberts 2017-09-15 13:08:41 -05:00
parent 9e9e36fa70
commit 11b325d17d
1 changed files with 3 additions and 3 deletions

View File

@ -483,10 +483,10 @@ public class NameNodeRpcServer implements NamenodeProtocols {
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) {