@InterfaceAudience.Public @InterfaceStability.Evolving public class LogsCLI extends Configured implements Tool
| Constructor and Description |
|---|
LogsCLI() |
| Modifier and Type | Method and Description |
|---|---|
protected YarnClient |
createYarnClient() |
protected List<org.codehaus.jettison.json.JSONObject> |
getAMContainerInfoForRMWebService(Configuration conf,
String appId) |
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 static final String HELP_CMD
public 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.JSONExceptionCopyright © 2016 Apache Software Foundation. All rights reserved.