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

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development