|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.logaggregation.LogAggregationUtils
@InterfaceAudience.Private public class LogAggregationUtils
| Field Summary | |
|---|---|
static String |
TMP_FILE_SUFFIX
|
| Constructor Summary | |
|---|---|
LogAggregationUtils()
|
|
| Method Summary | |
|---|---|
static String |
getNodeString(org.apache.hadoop.yarn.api.records.NodeId nodeId)
Converts a nodeId to a form used in the app log file name. |
static String |
getNodeString(String nodeId)
|
static org.apache.hadoop.fs.Path |
getRemoteAppLogDir(org.apache.hadoop.fs.Path remoteRootLogDir,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
String user,
String suffix)
Gets the remote app log dir. |
static org.apache.hadoop.fs.Path |
getRemoteLogSuffixedDir(org.apache.hadoop.fs.Path remoteRootLogDir,
String user,
String suffix)
Gets the remote suffixed log dir for the user. |
static org.apache.hadoop.fs.Path |
getRemoteLogUserDir(org.apache.hadoop.fs.Path remoteRootLogDir,
String user)
Gets the remote log user dir. |
static String |
getRemoteNodeLogDirSuffix(org.apache.hadoop.conf.Configuration conf)
Returns the suffix component of the log dir. |
static org.apache.hadoop.fs.Path |
getRemoteNodeLogFileForApp(org.apache.hadoop.fs.Path remoteRootLogDir,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
String user,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
String suffix)
Constructs the full filename for an application's log file per node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TMP_FILE_SUFFIX
| Constructor Detail |
|---|
public LogAggregationUtils()
| Method Detail |
|---|
public static org.apache.hadoop.fs.Path getRemoteNodeLogFileForApp(org.apache.hadoop.fs.Path remoteRootLogDir,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
String user,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
String suffix)
remoteRootLogDir - appId - user - nodeId - suffix -
public static org.apache.hadoop.fs.Path getRemoteAppLogDir(org.apache.hadoop.fs.Path remoteRootLogDir,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
String user,
String suffix)
remoteRootLogDir - appId - user - suffix -
public static org.apache.hadoop.fs.Path getRemoteLogSuffixedDir(org.apache.hadoop.fs.Path remoteRootLogDir,
String user,
String suffix)
remoteRootLogDir - user - suffix -
public static org.apache.hadoop.fs.Path getRemoteLogUserDir(org.apache.hadoop.fs.Path remoteRootLogDir,
String user)
remoteRootLogDir - user -
public static String getRemoteNodeLogDirSuffix(org.apache.hadoop.conf.Configuration conf)
conf -
public static String getNodeString(org.apache.hadoop.yarn.api.records.NodeId nodeId)
nodeId -
public static String getNodeString(String nodeId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||