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

Make FSVolumeSet in FSDataSet pluggable

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.22.0
    • Fix Version/s: None
    • Component/s: datanode
    • Labels:
      None

      Description

      I am trying to submit a patch for HDFS-1362, which enable online add or remove a volume of a serving DataNode.

      I managed to create the patch avoiding modify exist class, but FSVolumeSet is an exception, the member "volumes" is an array, while I need a List to facilitate the hotplug procedure. Thus I have 2 possible solutions:

      • Provide a abstract class as its super class, with the definition of all its methods. OR
      • Modify the volumes' definition in FSVolumeSet, as a Gereral Type Collection<>, which may use different implementation in subclasses.

      I will supply a patch for the first method for review

        Attachments

        1. HDFS-1405.txt
          7 kB
          Wang Xu
        2. HDFS-1405v2.txt
          8 kB
          Wang Xu
        3. HDFS-1405v3.txt
          14 kB
          Wang Xu

        Issue Links

          Activity

            People

            • Assignee:
              gnawux Wang Xu
              Reporter:
              gnawux Wang Xu

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment