Package org.apache.drill.yarn.client
package org.apache.drill.yarn.client
Implements a "YARN client" for Drill-on-YARN. The client uploads files to
DFS, then requests that YARN start the Application Master. Much fiddling
about is required to support this, such as zipping up the user's configuration,
creating a local file with the app id so we can get app status and shut down
the app, etc.
Divided into a main program (DrillOnYarn
) and a series of commands.
Some commands are further divided into tasks. Builds on the
YARN and DFS facades defined in the core module.
-
ClassDescriptionLaunch the AM through YARN.Provides a static set of contextual operations that can be configured one way for production, a separate way for unit tests.Drill YARN client command line options.Client for the Drill-on-YARN integration.Performs the file upload portion of the operation by uploading an archive to the target DFS system and directory.Launches a drill cluster by uploading the Drill archive then launching the Drill Application Master (AM).Perform a semi-graceful shutdown of the Drill-on-YARN AM.