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

Replace TreeSet in NamenodeFsck with HashSet

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 3.3.0
    • None
    • None
    • Patch

    Description

      Use HashSet instead of TreeSet. TreeSet has the overhead of keeping elements in order even though ordering is not taken into consideration in this class.

      Attachments

        1. HDFS-14105.1.patch
          2 kB
          David Mollitor
        2. HDFS-14105.1.patch
          2 kB
          David Mollitor

        Activity

          People

            belugabehr David Mollitor
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: