@InterfaceAudience.Private @InterfaceStability.Unstable public class HostUtil extends Object
Constructor and Description |
---|
HostUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
convertTrackerNameToHostName(String trackerName) |
static String |
getTaskLogUrl(String taskTrackerHostName,
String httpPort,
String taskAttemptID)
Deprecated.
Use
getTaskLogUrl(String, String, String, String)
to construct the taskLogUrl. |
static String |
getTaskLogUrl(String scheme,
String taskTrackerHostName,
String httpPort,
String taskAttemptID)
Construct the taskLogUrl
|
public static String getTaskLogUrl(String scheme, String taskTrackerHostName, String httpPort, String taskAttemptID)
taskTrackerHostName
- httpPort
- taskAttemptID
- @Deprecated public static String getTaskLogUrl(String taskTrackerHostName, String httpPort, String taskAttemptID)
getTaskLogUrl(String, String, String, String)
to construct the taskLogUrl.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.Copyright © 2020 Apache Software Foundation. All rights reserved.