HDFS-15799. Make DisallowedDatanodeException terse. Contributed by Richard Ross.
(cherry picked from commit 182623d2bc
)
This commit is contained in:
parent
ba03f84812
commit
7c18c77d16
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue