org.apache.hadoop.mapreduce.util
Class HostUtil

java.lang.Object
  extended by org.apache.hadoop.mapreduce.util.HostUtil

@InterfaceAudience.Private
@InterfaceStability.Unstable
public class HostUtil
extends Object


Constructor Summary
HostUtil()
           
 
Method Summary
static String convertTrackerNameToHostName(String trackerName)
           
static String getTaskLogUrl(String taskTrackerHostName, String httpPort, String taskAttemptID)
          Construct the taskLogUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostUtil

public HostUtil()
Method Detail

getTaskLogUrl

public static String getTaskLogUrl(String taskTrackerHostName,
                                   String httpPort,
                                   String taskAttemptID)
Construct the taskLogUrl

Parameters:
taskTrackerHostName -
httpPort -
taskAttemptID -
Returns:
the taskLogUrl

convertTrackerNameToHostName

public static String convertTrackerNameToHostName(String trackerName)


Copyright © 2013 Apache Software Foundation. All Rights Reserved.