|
@@ -225,6 +225,7 @@ import org.slf4j.Logger;
|
|
|
|
|
|
import org.apache.hadoop.thirdparty.com.google.common.annotations.VisibleForTesting;
|
|
|
import org.apache.hadoop.thirdparty.protobuf.BlockingService;
|
|
|
+import org.apache.hadoop.hdfs.server.protocol.DisallowedDatanodeException;
|
|
|
|
|
|
import javax.annotation.Nonnull;
|
|
|
|
|
@@ -530,7 +531,8 @@ public class NameNodeRpcServer implements NamenodeProtocols {
|
|
|
QuotaByStorageTypeExceededException.class,
|
|
|
AclException.class,
|
|
|
FSLimitException.PathComponentTooLongException.class,
|
|
|
- FSLimitException.MaxDirectoryItemsExceededException.class);
|
|
|
+ FSLimitException.MaxDirectoryItemsExceededException.class,
|
|
|
+ DisallowedDatanodeException.class);
|
|
|
|
|
|
clientRpcServer.addSuppressedLoggingExceptions(StandbyException.class,
|
|
|
UnresolvedPathException.class);
|