From 11b325d17daa123841cbae6614e8093cc1e34616 Mon Sep 17 00:00:00 2001 From: Nathan Roberts Date: Fri, 15 Sep 2017 13:08:41 -0500 Subject: [PATCH] HDFS-12441. Supress UnresolvedPathException in namenode log. Contributed by Kihwal Lee. (cherry picked from commit de197fc1562c4d1c39d24738c7cf8a8869dcec9c) --- .../hadoop/hdfs/server/namenode/NameNodeRpcServer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java index ed30b25b0b0..84041fa9ba9 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java @@ -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) {