public class StartCommand extends ClientCommand
This single operation combines upload and launch because the upload Information is needed by the launch.
On the surface, it would seem that uploading a file and launching an app should be simple operations. However, under YARN, we must handle a large number of details that must be gotten exactly right. Plus, both the upload and launch can be slow operations, so we provide feedback to the user that something is, indeed, happening.
opts
Constructor and Description |
---|
StartCommand(boolean upload,
boolean launch) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
checkAppId, getAppIdFile, getClient, loadAppId, removeAppIdFile, setOpts
public void run() throws ClientException
run
in class ClientCommand
ClientException
Copyright © 1970 The Apache Software Foundation. All rights reserved.