org.apache.hadoop.mapreduce.util
Class HostUtil
java.lang.Object
org.apache.hadoop.mapreduce.util.HostUtil
@InterfaceAudience.Private
@InterfaceStability.Unstable
public class HostUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostUtil
public HostUtil()
getTaskLogUrl
public static String getTaskLogUrl(String scheme,
String taskTrackerHostName,
String httpPort,
String taskAttemptID)
- Construct the taskLogUrl
- Parameters:
taskTrackerHostName - httpPort - taskAttemptID -
- Returns:
- the taskLogUrl
getTaskLogUrl
@Deprecated
public static String getTaskLogUrl(String taskTrackerHostName,
String httpPort,
String taskAttemptID)
- Deprecated. Use
getTaskLogUrl(String, String, String, String)
to construct the taskLogUrl.
- Always throws
RuntimeException because this method is not
supposed to be called at runtime. This method is only for keeping
binary compatibility with Hive 0.13. MAPREDUCE-5830 for the details.
convertTrackerNameToHostName
public static String convertTrackerNameToHostName(String trackerName)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.