public class LogCLIHelpers extends Object implements Configurable
| Constructor and Description |
|---|
LogCLIHelpers() |
| Modifier and Type | Method and Description |
|---|---|
int |
dumpAContainerLogs(String containerIdStr,
AggregatedLogFormat.LogReader reader,
PrintStream out) |
int |
dumpAContainersLogs(String appId,
String containerId,
String nodeId,
String jobOwner) |
int |
dumpAllContainersLogs(ApplicationId appId,
String appOwner,
PrintStream out) |
Configuration |
getConf()
Return the configuration used by this object.
|
void |
setConf(Configuration conf)
Set the configuration to be used by this object.
|
@InterfaceAudience.Private public int dumpAContainersLogs(String appId, String containerId, String nodeId, String jobOwner) throws IOException
IOException@InterfaceAudience.Private public int dumpAContainerLogs(String containerIdStr, AggregatedLogFormat.LogReader reader, PrintStream out) throws IOException
IOException@InterfaceAudience.Private public int dumpAllContainersLogs(ApplicationId appId, String appOwner, PrintStream out) throws IOException
IOExceptionpublic void setConf(Configuration conf)
ConfigurablesetConf in interface Configurablepublic Configuration getConf()
ConfigurablegetConf in interface ConfigurableCopyright © 2013 Apache Software Foundation. All rights reserved.