Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-680

Add new access method to a copy of a block's replica

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Sometimes tests (and perhaps other client applications) might need an access to the state of a block's replica.
      Currently it is accessible through FSDataset member of DataNode class. However, FSDataset is an internal matter of DataNode and shouldn't be available externally.

      This JIRA will provide new getter method which will be returning a copy of a block's replica instead of a reference to an actual replica.

      1. replicaClone.patch
        11 kB
        Konstantin Shvachko
      2. replicaClone.patch
        11 kB
        Konstantin Shvachko

        Issue Links

          Activity

          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Konstantin Shvachko made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Konstantin Shvachko made changes -
          Attachment replicaClone.patch [ 12422055 ]
          Konstantin Shvachko made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Konstantin Boudnik made changes -
          Assignee Konstantin Boudnik [ cos ] Konstantin Shvachko [ shv ]
          Konstantin Shvachko made changes -
          Attachment replicaClone.patch [ 12421939 ]
          Konstantin Boudnik made changes -
          Field Original Value New Value
          Link This issue blocks HDFS-616 [ HDFS-616 ]
          Konstantin Boudnik created issue -

            People

            • Assignee:
              Konstantin Shvachko
              Reporter:
              Konstantin Boudnik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development