You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ki...@apache.org on 2021/02/03 14:57:13 UTC
[hadoop] branch trunk updated: HDFS-15799. Make
DisallowedDatanodeException terse. Contributed by Richard Ross.
This is an automated email from the ASF dual-hosted git repository.
kihwal pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 182623d HDFS-15799. Make DisallowedDatanodeException terse. Contributed by Richard Ross.
182623d is described below
commit 182623d2bc73cac4764149fcc9c7d94c1541f89c
Author: Kihwal Lee <ki...@apache.org>
AuthorDate: Wed Feb 3 08:55:50 2021 -0600
HDFS-15799. Make DisallowedDatanodeException terse. Contributed by Richard Ross.
---
.../org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
index 51f5921..f4ab8f9 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
@@ -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);
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org