org.apache.hadoop.hdfs.protocol
Class QuotaExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.hdfs.protocol.QuotaExceededException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DSQuotaExceededException, NSQuotaExceededException
@InterfaceAudience.Private
@InterfaceStability.Evolving
public class QuotaExceededException
- extends IOException
This exception is thrown when modification to HDFS results in violation
of a directory quota. A directory quota might be namespace quota (limit
on number of files and directories) or a diskspace quota (limit on space
taken by all the file under the directory tree).
The message for the exception specifies the directory where the quota
was violated and actual quotas. Specific message is generated in the
corresponding Exception class:
DSQuotaExceededException or
NSQuotaExceededException
- See Also:
- Serialized Form
serialVersionUID
protected static final long serialVersionUID
- See Also:
- Constant Field Values
pathName
protected String pathName
quota
protected long quota
count
protected long count
QuotaExceededException
protected QuotaExceededException()
QuotaExceededException
protected QuotaExceededException(String msg)
QuotaExceededException
protected QuotaExceededException(long quota,
long count)
setPathName
public void setPathName(String path)
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
Copyright © 2009 The Apache Software Foundation