HADOOP-17900. Move ClusterStorageCapacityExceededException to Public from LimitedPrivate. (#3404). Contributed by Ayush Saxena.

This commit is contained in:
Ayush Saxena 2021-09-13 22:50:39 +05:30 committed by GitHub
parent 17c58ac959
commit d9eb5ad6d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@
* cluster filesystem is exceeded. See also * cluster filesystem is exceeded. See also
* https://issues.apache.org/jira/browse/MAPREDUCE-7148. * https://issues.apache.org/jira/browse/MAPREDUCE-7148.
*/ */
@InterfaceAudience.LimitedPrivate({ "HDFS", "MapReduce", "Tez" }) @InterfaceAudience.Public
@InterfaceStability.Evolving @InterfaceStability.Evolving
public class ClusterStorageCapacityExceededException extends IOException { public class ClusterStorageCapacityExceededException extends IOException {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@ -22,7 +22,7 @@
import org.apache.hadoop.classification.InterfaceStability; import org.apache.hadoop.classification.InterfaceStability;
import static org.apache.hadoop.util.StringUtils.TraditionalBinaryPrefix.long2String; import static org.apache.hadoop.util.StringUtils.TraditionalBinaryPrefix.long2String;
@InterfaceAudience.Private @InterfaceAudience.Public
@InterfaceStability.Evolving @InterfaceStability.Evolving
public class DSQuotaExceededException extends QuotaExceededException { public class DSQuotaExceededException extends QuotaExceededException {
protected static final long serialVersionUID = 1L; protected static final long serialVersionUID = 1L;

View File

@ -21,7 +21,7 @@
import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.classification.InterfaceStability; import org.apache.hadoop.classification.InterfaceStability;
@InterfaceAudience.Private @InterfaceAudience.Public
@InterfaceStability.Evolving @InterfaceStability.Evolving
public final class NSQuotaExceededException extends QuotaExceededException { public final class NSQuotaExceededException extends QuotaExceededException {
protected static final long serialVersionUID = 1L; protected static final long serialVersionUID = 1L;

View File

@ -24,7 +24,7 @@
import static org.apache.hadoop.util.StringUtils.TraditionalBinaryPrefix.long2String; import static org.apache.hadoop.util.StringUtils.TraditionalBinaryPrefix.long2String;
@InterfaceAudience.Private @InterfaceAudience.Public
@InterfaceStability.Evolving @InterfaceStability.Evolving
public class QuotaByStorageTypeExceededException extends QuotaExceededException { public class QuotaByStorageTypeExceededException extends QuotaExceededException {
protected static final long serialVersionUID = 1L; protected static final long serialVersionUID = 1L;

View File

@ -34,7 +34,7 @@
* DSQuotaExceededException or * DSQuotaExceededException or
* NSQuotaExceededException * NSQuotaExceededException
*/ */
@InterfaceAudience.Private @InterfaceAudience.Public
@InterfaceStability.Evolving @InterfaceStability.Evolving
public class QuotaExceededException extends ClusterStorageCapacityExceededException { public class QuotaExceededException extends ClusterStorageCapacityExceededException {
protected static final long serialVersionUID = 1L; protected static final long serialVersionUID = 1L;

View File

@ -21,7 +21,7 @@
import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.classification.InterfaceStability; import org.apache.hadoop.classification.InterfaceStability;
@InterfaceAudience.Private @InterfaceAudience.Public
@InterfaceStability.Evolving @InterfaceStability.Evolving
/** /**