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

Code cleanup: INode never throws QuotaExceededException

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      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_20170309b.patch
          20 kB
          Tsz Wo Nicholas Sze
        2. h13257_20170309.patch
          16 kB
          Tsz Wo Nicholas Sze

          Activity

            People

            • Assignee:
              szetszwo Tsz Wo Nicholas Sze
              Reporter:
              szetszwo Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: