public class LogCLIHelpers extends Object implements org.apache.hadoop.conf.Configurable
Constructor and Description |
---|
LogCLIHelpers() |
Modifier and Type | Method and Description |
---|---|
int |
dumpAContainerLogs(String containerIdStr,
AggregatedLogFormat.LogReader reader,
PrintStream out,
long logUploadedTime) |
int |
dumpAContainerLogsForALogType(String containerIdStr,
AggregatedLogFormat.LogReader reader,
PrintStream out,
long logUploadedTime,
List<String> logType) |
int |
dumpAContainersLogs(String appId,
String containerId,
String nodeId,
String jobOwner) |
int |
dumpAContainersLogsForALogType(String appId,
String containerId,
String nodeId,
String jobOwner,
List<String> logType) |
int |
dumpAllContainersLogs(org.apache.hadoop.yarn.api.records.ApplicationId appId,
String appOwner,
PrintStream out) |
org.apache.hadoop.conf.Configuration |
getConf() |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
@InterfaceAudience.Private public int dumpAContainersLogs(String appId, String containerId, String nodeId, String jobOwner) throws IOException
IOException
@InterfaceAudience.Private public int dumpAContainersLogsForALogType(String appId, String containerId, String nodeId, String jobOwner, List<String> logType) throws IOException
IOException
@InterfaceAudience.Private public int dumpAContainerLogs(String containerIdStr, AggregatedLogFormat.LogReader reader, PrintStream out, long logUploadedTime) throws IOException
IOException
@InterfaceAudience.Private public int dumpAContainerLogsForALogType(String containerIdStr, AggregatedLogFormat.LogReader reader, PrintStream out, long logUploadedTime, List<String> logType) throws IOException
IOException
@InterfaceAudience.Private public int dumpAllContainersLogs(org.apache.hadoop.yarn.api.records.ApplicationId appId, String appOwner, PrintStream out) throws IOException
IOException
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
Copyright © 2018 Apache Software Foundation. All Rights Reserved.