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