org.apache.hadoop.yarn.logaggregation
Class LogCLIHelpers

java.lang.Object
  extended by org.apache.hadoop.yarn.logaggregation.LogCLIHelpers
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable

public class LogCLIHelpers
extends Object
implements org.apache.hadoop.conf.Configurable


Constructor Summary
LogCLIHelpers()
           
 
Method Summary
 int dumpAContainerLogs(String containerIdStr, AggregatedLogFormat.LogReader reader, PrintStream out)
           
 int dumpAContainersLogs(String appId, String containerId, String nodeId, String jobOwner)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogCLIHelpers

public LogCLIHelpers()
Method Detail

dumpAContainersLogs

@InterfaceAudience.Private
public int dumpAContainersLogs(String appId,
                                                         String containerId,
                                                         String nodeId,
                                                         String jobOwner)
                        throws IOException
Throws:
IOException

dumpAContainerLogs

@InterfaceAudience.Private
public int dumpAContainerLogs(String containerIdStr,
                                                        AggregatedLogFormat.LogReader reader,
                                                        PrintStream out)
                       throws IOException
Throws:
IOException

dumpAllContainersLogs

@InterfaceAudience.Private
public int dumpAllContainersLogs(org.apache.hadoop.yarn.api.records.ApplicationId appId,
                                                           String appOwner,
                                                           PrintStream out)
                          throws IOException
Throws:
IOException

setConf

public void setConf(org.apache.hadoop.conf.Configuration conf)
Specified by:
setConf in interface org.apache.hadoop.conf.Configurable

getConf

public org.apache.hadoop.conf.Configuration getConf()
Specified by:
getConf in interface org.apache.hadoop.conf.Configurable


Copyright © 2014 Apache Software Foundation. All Rights Reserved.