Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4040

History links should use hostname rather than IP address.

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      While navigating from web page (eg: /cluster/app/<app-id> ) to HS, browser displays IP address rather than hostname.

      JobHistoryUtils.java
          if (address.getAddress().isAnyLocalAddress() || 
              address.getAddress().isLoopbackAddress()) {
            sb.append(InetAddress.getLocalHost().getHostAddress());
          }	
      }
      

      I think it is better to use hostname rather than IP address.

      Attachments

        1. MAPREDUCE-4040.patch
          0.9 kB
          Bhallamudi Venkata Siva Kamesh

        Activity

          People

            kam_iitkgp Bhallamudi Venkata Siva Kamesh
            kam_iitkgp Bhallamudi Venkata Siva Kamesh
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: