Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-670

Generic types for FSNamesystem

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7.2
    • 0.8.0
    • None
    • None

    Description

      I introduced generic types for FSNamesystem class.
      I tried to keep interfaces in declarations of the member as general as possible
      in order to have flexibility to change types of instances in the future.
      I tried to contain changes within one java file.

      I also replaced Vector types by ArrayList. Vectors are synchronized,
      which we don't need since we already have top level synchronization in FSNamesystem.

      Attachments

        1. Generics.patch
          45 kB
          Konstantin Shvachko

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: