Class StartCommand


public class StartCommand extends ClientCommand
Launches a drill cluster by uploading the Drill archive then launching the Drill Application Master (AM). For testing, can also do just the upload or just the launch. Handles both a localized Drill and a non-localized launch (which uses a pre-installed Drill.)

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.