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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            yuanbo Yuanbo Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment