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

Miscellaneous Improvements for FsVolumeSpi

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • datanode
    • None
    • Reviewed
    • Patch

    Description

      The work in HDFS-13947 allowed for using ArrayList instead of LinkedList when scanning DataNode local directories, however the FsVolumeSpi implementations were still using (and forcing) LinkedList. I propose changing the FsVolumeSpi signatures to allow for Collection instead of LinkedList. Since I'm looking at the code, I made some small improvements and check-style fixes.

      Attachments

        1. HDFS-13958.1.patch
          53 kB
          David Mollitor
        2. HDFS-13958.2.patch
          53 kB
          David Mollitor

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: