HADOOP-17900. Move ClusterStorageCapacityExceededException to Public from LimitedPrivate. (#3404). Contributed by Ayush Saxena.
This commit is contained in:
parent
17c58ac959
commit
d9eb5ad6d3
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -34,7 +34,7 @@
|
||||
* DSQuotaExceededException or
|
||||
* NSQuotaExceededException
|
||||
*/
|
||||
@InterfaceAudience.Private
|
||||
@InterfaceAudience.Public
|
||||
@InterfaceStability.Evolving
|
||||
public class QuotaExceededException extends ClusterStorageCapacityExceededException {
|
||||
protected static final long serialVersionUID = 1L;
|
||||
|
@ -21,7 +21,7 @@
|
||||
import org.apache.hadoop.classification.InterfaceAudience;
|
||||
import org.apache.hadoop.classification.InterfaceStability;
|
||||
|
||||
@InterfaceAudience.Private
|
||||
@InterfaceAudience.Public
|
||||
@InterfaceStability.Evolving
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user