@InterfaceAudience.Public @InterfaceStability.Evolving public class LogsCLI extends Configured implements Tool
| コンストラクタと説明 | 
|---|
| LogsCLI() | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| protected YarnClient | createYarnClient() | 
| protected List<org.codehaus.jettison.json.JSONObject> | getAMContainerInfoForRMWebService(Configuration conf,
                                 String appId) | 
| Set<String> | getMatchedContainerLogFiles(org.apache.hadoop.yarn.logaggregation.ContainerLogsRequest request,
                           boolean useRegex) | 
| com.sun.jersey.api.client.ClientResponse | getResponeFromNMWebService(Configuration conf,
                          com.sun.jersey.api.client.Client webServiceClient,
                          org.apache.hadoop.yarn.logaggregation.ContainerLogsRequest request,
                          String logFile) | 
| static void | main(String[] args) | 
| int | run(String[] args)Execute the command with the given arguments. | 
getConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfpublic LogsCLI()
public int run(String[] args) throws Exception
Toolprotected YarnClient createYarnClient()
protected List<org.codehaus.jettison.json.JSONObject> getAMContainerInfoForRMWebService(Configuration conf, String appId) throws com.sun.jersey.api.client.ClientHandlerException, com.sun.jersey.api.client.UniformInterfaceException, org.codehaus.jettison.json.JSONException
com.sun.jersey.api.client.ClientHandlerExceptioncom.sun.jersey.api.client.UniformInterfaceExceptionorg.codehaus.jettison.json.JSONExceptionpublic Set<String> getMatchedContainerLogFiles(org.apache.hadoop.yarn.logaggregation.ContainerLogsRequest request, boolean useRegex) throws IOException
IOExceptionpublic com.sun.jersey.api.client.ClientResponse getResponeFromNMWebService(Configuration conf, com.sun.jersey.api.client.Client webServiceClient, org.apache.hadoop.yarn.logaggregation.ContainerLogsRequest request, String logFile)
Copyright © 2016 Apache Software Foundation. All rights reserved.