Browse Source

HDFS-7233. NN logs unnecessary org.apache.hadoop.hdfs.protocol.UnresolvedPathException. Contributed by Rushabh S Shah.

Jing Zhao 10 years ago
parent
commit
5bd3a569f9

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -694,6 +694,9 @@ Release 2.6.0 - UNRELEASED
     HDFS-7276. Limit the number of byte arrays used by DFSOutputStream and
     HDFS-7276. Limit the number of byte arrays used by DFSOutputStream and
     provide a mechanism for recycling arrays. (szetszwo)
     provide a mechanism for recycling arrays. (szetszwo)
 
 
+    HDFS-7233. NN logs unnecessary org.apache.hadoop.hdfs.protocol.UnresolvedPathException.
+    (Rushabh S Shah via jing9)
+
   OPTIMIZATIONS
   OPTIMIZATIONS
 
 
     HDFS-6690. Deduplicate xattr names in memory. (wang)
     HDFS-6690. Deduplicate xattr names in memory. (wang)

+ 2 - 1
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java

@@ -399,7 +399,8 @@ class NameNodeRpcServer implements NamenodeProtocols {
         DSQuotaExceededException.class,
         DSQuotaExceededException.class,
         AclException.class,
         AclException.class,
         FSLimitException.PathComponentTooLongException.class,
         FSLimitException.PathComponentTooLongException.class,
-        FSLimitException.MaxDirectoryItemsExceededException.class);
+        FSLimitException.MaxDirectoryItemsExceededException.class,
+        UnresolvedPathException.class);
  }
  }
 
 
   /** Allow access to the client RPC server for testing */
   /** Allow access to the client RPC server for testing */