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

Restore method signature for LocatedBlock#getLocations()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0
    • None
    • None
    • 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-002.patch
          8 kB
          Ted Yu
        2. hdfs-7756-001.patch
          7 kB
          Ted Yu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: