From d9eb5ad6d3dd53e7e20e871b3cde0a4809fa129d Mon Sep 17 00:00:00 2001 From: Ayush Saxena Date: Mon, 13 Sep 2021 22:50:39 +0530 Subject: [PATCH] HADOOP-17900. Move ClusterStorageCapacityExceededException to Public from LimitedPrivate. (#3404). Contributed by Ayush Saxena. --- .../hadoop/fs/ClusterStorageCapacityExceededException.java | 2 +- .../apache/hadoop/hdfs/protocol/DSQuotaExceededException.java | 2 +- .../apache/hadoop/hdfs/protocol/NSQuotaExceededException.java | 2 +- .../hdfs/protocol/QuotaByStorageTypeExceededException.java | 2 +- .../org/apache/hadoop/hdfs/protocol/QuotaExceededException.java | 2 +- .../java/org/apache/hadoop/hdfs/protocol/FSLimitException.java | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ClusterStorageCapacityExceededException.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ClusterStorageCapacityExceededException.java index 908d67723e..9534ec932e 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ClusterStorageCapacityExceededException.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ClusterStorageCapacityExceededException.java @@ -27,7 +27,7 @@ * cluster filesystem is exceeded. See also * https://issues.apache.org/jira/browse/MAPREDUCE-7148. */ -@InterfaceAudience.LimitedPrivate({ "HDFS", "MapReduce", "Tez" }) +@InterfaceAudience.Public @InterfaceStability.Evolving public class ClusterStorageCapacityExceededException extends IOException { private static final long serialVersionUID = 1L; diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/DSQuotaExceededException.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/DSQuotaExceededException.java index 499d69b487..3f2d3f307f 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/DSQuotaExceededException.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/DSQuotaExceededException.java @@ -22,7 +22,7 @@ import org.apache.hadoop.classification.InterfaceStability; import static org.apache.hadoop.util.StringUtils.TraditionalBinaryPrefix.long2String; -@InterfaceAudience.Private +@InterfaceAudience.Public @InterfaceStability.Evolving public class DSQuotaExceededException extends QuotaExceededException { protected static final long serialVersionUID = 1L; diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/NSQuotaExceededException.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/NSQuotaExceededException.java index 68ac58ef3d..051358c262 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/NSQuotaExceededException.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/NSQuotaExceededException.java @@ -21,7 +21,7 @@ import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceStability; -@InterfaceAudience.Private +@InterfaceAudience.Public @InterfaceStability.Evolving public final class NSQuotaExceededException extends QuotaExceededException { protected static final long serialVersionUID = 1L; diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/QuotaByStorageTypeExceededException.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/QuotaByStorageTypeExceededException.java index 25084c7c9e..85bce6d7f6 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/QuotaByStorageTypeExceededException.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/QuotaByStorageTypeExceededException.java @@ -24,7 +24,7 @@ import static org.apache.hadoop.util.StringUtils.TraditionalBinaryPrefix.long2String; -@InterfaceAudience.Private +@InterfaceAudience.Public @InterfaceStability.Evolving public class QuotaByStorageTypeExceededException extends QuotaExceededException { protected static final long serialVersionUID = 1L; diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/QuotaExceededException.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/QuotaExceededException.java index 7033f3f8ad..2ead04e344 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/QuotaExceededException.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/QuotaExceededException.java @@ -34,7 +34,7 @@ * DSQuotaExceededException or * NSQuotaExceededException */ -@InterfaceAudience.Private +@InterfaceAudience.Public @InterfaceStability.Evolving public class QuotaExceededException extends ClusterStorageCapacityExceededException { protected static final long serialVersionUID = 1L; diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/FSLimitException.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/FSLimitException.java index 347d8923d3..4c9cbbe665 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/FSLimitException.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/FSLimitException.java @@ -21,7 +21,7 @@ import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceStability; -@InterfaceAudience.Private +@InterfaceAudience.Public @InterfaceStability.Evolving /**