hadoophdfshortonworks-data-platformnamenode

What is the meaning of DSQUOTA and NSQUOTA columns in Hadoop FsImage?


I have taken a dump of fsimage using OIV tool and NSQUOTA and DSQUOTA fields always have one of the following values

NSQUOTA

DSQUOTA

What does NSQUOTA and DSQUOTA represent? How to interpret these values?


Solution

  • NSQUOTA is a name quota (similar to inodes) which limits how many files and directories are allowed under the specified directory.

    DSQUOTA is a directory space quota which limits how many bytes are allowed under that directory.

    Not sure about the other values but the -1 is the default value when you don't use quotas.

    References