Class QuotaExceededException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.fs.ClusterStorageCapacityExceededException
org.apache.hadoop.hdfs.protocol.QuotaExceededException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DSQuotaExceededException, NSQuotaExceededException, QuotaByStorageTypeExceededException

@Public @Evolving public class QuotaExceededException extends org.apache.hadoop.fs.ClusterStorageCapacityExceededException
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:
  • Field Details

    • serialVersionUID

      protected static final long serialVersionUID
      See Also:
    • pathName

      protected String pathName
    • quota

      protected long quota
    • count

      protected long count
  • Constructor Details

    • QuotaExceededException

      protected QuotaExceededException()
    • QuotaExceededException

      protected QuotaExceededException(String msg)
    • QuotaExceededException

      protected QuotaExceededException(long quota, long count)
  • Method Details