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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21.0
    • 0.21.0
    • None
    • None
    • 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.

      Attachments

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

        Issue Links

          Activity

            People

              shv Konstantin Shvachko
              cos Konstantin I Boudnik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: