public class DrillControllerFactory extends Object implements ControllerFactory
The controller consists of a generic dispatcher and cluster controller, along with a Drill-specific scheduler and task launch specification. Drill also includes an interface to ZooKeeper to monitor Drillbits.
The AM is launched by YARN. All it knows is what is in its launch environment
or configuration files. The client must set up all the information that the
AM needs. Static information appears in configuration files. But, dynamic
information (or that which is inconvenient to repeat in configuration files)
must arrive in environment variables. See
DrillOnYarnConfig for more
|Modifier and Type||Class and Description|
|Constructor and Description|
|Modifier and Type||Method and Description|
Utility method to create an environment variable in the process launch specification if a given Drill-on-YARN configuration variable is set, copying the config value to the environment variable.
public Dispatcher build() throws ControllerFactory.ControllerFactoryException
public void addIfSet(LaunchSpec spec, String configParam, String envVar)
spec- launch specification
configParam- config value
envVar- environment variable
Copyright © 1970 The Apache Software Foundation. All rights reserved.