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
IOException
public void setConf(Configuration conf)
Configurable
setConf
in interface Configurable
public Configuration getConf()
Configurable
getConf
in interface Configurable
Copyright © 2013 Apache Software Foundation. All rights reserved.