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

Generic types for FSNamesystem

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.2
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      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

            • Assignee:
              shv Konstantin Shvachko
              Reporter:
              shv Konstantin Shvachko

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment