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

MAX_DIR_ITEMS should not be hard coded since RPC buff size is configurable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      In HDFS, "dfs.namenode.fs-limits.max-directory-items" was introduced in HDFS-6102 to restrict max items of single directory, and the value of it can not be larger than the value of MAX_DIR_ITEMS. Since "ipc.maximum.data.length" was added in HADOOP-9676 and documented in HADOOP-13039 to make maximum RPC buffer size configurable, it's not proper to hard code the value of MAX_DIR_ITEMS in FSDirectory.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                yuanbo Yuanbo Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: