Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3233

Move IP to FQDN conversion from DatanodeJSPHelper to DatanodeID

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      In a handful of places DatanodeJSPHelper looks up the IP for a DN and then determines a FQDN for the IP. We should move this code to a single place, a new DatanodeID to return the FQDN for a DatanodeID.

        Activity

        Hide
        Daryn Sharp added a comment -

        There's a NetUtils.getCanonicalUri that might meet your needs.

        Show
        Daryn Sharp added a comment - There's a NetUtils.getCanonicalUri that might meet your needs.

          People

          • Assignee:
            Unassigned
            Reporter:
            Eli Collins
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development