|
@@ -54,6 +54,7 @@ import org.apache.hadoop.conf.Configuration;
|
|
|
import org.apache.hadoop.conf.ReconfigurationTaskStatus;
|
|
|
import org.apache.hadoop.crypto.CryptoProtocolVersion;
|
|
|
import org.apache.hadoop.fs.BatchedRemoteIterator.BatchedEntries;
|
|
|
+import org.apache.hadoop.fs.PathIsNotEmptyDirectoryException;
|
|
|
import org.apache.hadoop.hdfs.AddBlockFlag;
|
|
|
import org.apache.hadoop.fs.CacheFlag;
|
|
|
import org.apache.hadoop.fs.CommonConfigurationKeys;
|
|
@@ -541,7 +542,8 @@ public class NameNodeRpcServer implements NamenodeProtocols {
|
|
|
FSLimitException.PathComponentTooLongException.class,
|
|
|
FSLimitException.MaxDirectoryItemsExceededException.class,
|
|
|
DisallowedDatanodeException.class,
|
|
|
- XAttrNotFoundException.class);
|
|
|
+ XAttrNotFoundException.class,
|
|
|
+ PathIsNotEmptyDirectoryException.class);
|
|
|
|
|
|
clientRpcServer.addSuppressedLoggingExceptions(StandbyException.class,
|
|
|
UnresolvedPathException.class);
|