Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-5741

BlockInfo#findDataNode can be removed

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0, 2.3.0
    • Fix Version/s: None
    • Component/s: namenode
    • Labels:
      None

      Description

      NN now tracks replicas by storage, so BlockInfo#findDataNode can be replaced with BlockInfo#findStorageInfo.

      BlockManager#reportDiff is being fixed as part of HDFS-5483, this Jira is to fix the rest of the callers.

      [suggested by Eric Sirianni on HDFS-5483]

        Issue Links

          Activity

          Hide
          Arpit Agarwal added a comment -

          Thanks, edited description.

          Show
          Arpit Agarwal added a comment - Thanks, edited description.
          Hide
          Tsz Wo Nicholas Sze added a comment -

          Since it is a private API, we may simply remove it without deprecating it.

          Show
          Tsz Wo Nicholas Sze added a comment - Since it is a private API, we may simply remove it without deprecating it.

            People

            • Assignee:
              Arpit Agarwal
              Reporter:
              Arpit Agarwal
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Development