Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-46

The namespace quota of root directory should not be Integer.MAX_VALUE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha1
    • namenode
    • Reviewed
    • Change default namespace quota of root directory from Integer.MAX_VALUE to Long.MAX_VALUE.

    Description

      The default namespace quota of root directory is set to Integer.MAX_VALUE but the data type of INodeDirectoryWithQuota.nsQuota is long. So default quota probably should be Long.MAX_VALUE or some other value like 1,000,000,000.

      Attachments

        1. HDFS-46.1.patch
          4 kB
          Uma Maheswara Rao G
        2. HDFS-46.patch
          4 kB
          Uma Maheswara Rao G

        Issue Links

          Activity

            People

              umamaheswararao Uma Maheswara Rao G
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: