public class LogCLIHelpers extends Object implements org.apache.hadoop.conf.Configurable
| Modifier and Type | Field and Description | 
|---|---|
| static String | CONTAINER_ON_NODE_PATTERN | 
| static String | PER_LOG_FILE_INFO_PATTERN | 
| Constructor and Description | 
|---|
| LogCLIHelpers() | 
public static final String PER_LOG_FILE_INFO_PATTERN
public static final String CONTAINER_ON_NODE_PATTERN
@InterfaceAudience.Private public int dumpAContainersLogs(String appId, String containerId, String nodeId, String jobOwner) throws IOException
IOException@InterfaceAudience.Private public static String getOwnerForAppIdOrNull(org.apache.hadoop.yarn.api.records.ApplicationId appId, String bestGuess, org.apache.hadoop.conf.Configuration conf) throws IOException
IOException@InterfaceAudience.Private public int dumpAContainerLogsForLogType(ContainerLogsRequest options) throws IOException
IOException@InterfaceAudience.Private public int dumpAContainerLogsForLogType(ContainerLogsRequest options, boolean outputFailure) throws IOException
IOException@InterfaceAudience.Private public int dumpAContainerLogsForLogTypeWithoutNodeId(ContainerLogsRequest options) throws IOException
IOException@InterfaceAudience.Private public int dumpAllContainersLogs(ContainerLogsRequest options) throws IOException
IOException@InterfaceAudience.Private public int printAContainerLogMetadata(ContainerLogsRequest options, PrintStream out, PrintStream err) throws IOException
IOException@InterfaceAudience.Private public void printNodesList(ContainerLogsRequest options, PrintStream out, PrintStream err) throws IOException
IOException@InterfaceAudience.Private public void printContainersList(ContainerLogsRequest options, PrintStream out, PrintStream err) throws IOException
IOExceptionpublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic void closePrintStream(PrintStream out)
@InterfaceAudience.Private public Set<ContainerLogFileInfo> listContainerLogs(ContainerLogsRequest options) throws IOException
IOExceptionCopyright © 2018 Apache Software Foundation. All Rights Reserved.