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

Intrinsic limits for HDFS files, directories

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.23.0
    • Component/s: datanode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Enforce a configurable limit on:
      the length of a path component
      the number of names in a directory

      The intention is to prevent a too-long name or a too-full directory. This is not about RPC buffers, the length of command lines, etc. There may be good reasons for those kinds of limits, but that is not the intended scope of this feature. Consequently, a reasonable implementation might be to extend the existing quota checker so that it faults the creation of a name that violates the limits. This strategy of faulting new creation evades the problem of existing names or directories that violate the limits.

        Attachments

        1. HDFS-1751.patch
          20 kB
          Daryn Sharp
        2. HDFS-1751-2.patch
          21 kB
          Daryn Sharp
        3. HDFS-1751-3.patch
          16 kB
          Daryn Sharp
        4. HDFS-1751-4.patch
          16 kB
          Daryn Sharp
        5. HDFS-1751-5.patch
          16 kB
          Daryn Sharp
        6. HDFS-1751-6.patch
          16 kB
          Daryn Sharp

          Issue Links

            Activity

              People

              • Assignee:
                daryn Daryn Sharp
                Reporter:
                daryn Daryn Sharp
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: