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

Restore method signature for LocatedBlock#getLocations()

    XMLWordPrintableJSON

    Details

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

      Description

      This is related to HDFS-7647

      DatanodeInfoWithStorage was introduced in org.apache.hadoop.hdfs.server.protocol package whereas its base class, DatanodeInfo, is in org.apache.hadoop.hdfs.protocol

      Method signature change in LocatedBlock#getLocations() breaks downstream project(s) (such as HBase) which may reorder DatanodeInfo's.

      DatanodeInfo is tagged @InterfaceAudience.Private
      DatanodeInfoWithStorage should have the same tag.

        Attachments

        1. hdfs-7756-001.patch
          7 kB
          Ted Yu
        2. hdfs-7756-002.patch
          8 kB
          Ted Yu

          Issue Links

            Activity

              People

              • Assignee:
                yuzhihong@gmail.com Ted Yu
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: