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

Replace Vector types by ArrayList in FSDirectory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      FSDirectory contains local variables that are declared Vector but are used within a
      synchronized

      { ... }

      block. Extra synchronization provided by Vector is redundant in the case.
      Using ArrayLists instead should boost the performance.

      Attachments

        Activity

          People

            Unassigned Unassigned
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: