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

Code cleanup: INode never throws QuotaExceededException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • namenode
    • None
    • Reviewed

    Description

      The quota verification logic is changed in a way that INode never throws QuotaExceededException. The verify parameter is always false in addSpaceConsumed(..) and addSpaceConsumed2Parent(..).

      This provide an opportunity for some code cleanup.

      Attachments

        1. h13257_20170309.patch
          16 kB
          Tsz-wo Sze
        2. h13257_20170309b.patch
          20 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: