Drill Configuration Files
The Drill installation includes configuration files with start-up options that you can modify prior to starting Drill.
The configuration files reside in a HOCON configuration file format, which is a hybrid between a properties file and a JSON file. The files have a nested relationship and a hierarchical structure, where one file overrides another. You can locate the files in the /opt/mapr/drill/drill-<version>/conf directory.
- drill-override.conf
- drill-distrib.conf
- drill-module.conf
- drill-env.sh (or explicitly defined in environment)
- distrib-env.sh
- drill-config.sh
File Name | Description | Default Configuration with Secure Installation |
drill-distrib.conf |
Contains distribution-specific configurations for Drill. Automatically updated by configure.sh when you configure the cluster. |
|
distrib-env.sh | Contains distribution-specific defaults for various environment variables. |
|
drill-env.sh | The drill-env.sh file contains the cluster admininstrator-specific environment variables that can differ from the defaults. You can modify this file to override the default values of system properties defined in the distrib-env.sh file or to define a new system property. For example, you can configure the amount of heap and direct memory allocated to Drill. See Configuring Drill Memory. | Empty upon installation. |
drill-override.conf |
Use the drill-override.conf file to override the default values obtained from drill-module.conf and drill-distrib.conf. A cluster administrator can update this file to configure a Drillbit as required (different from default installation) |
When you first install Drill, drill-override.conf contains ZooKeeper and Drillbit configuration information; however, after you run configure.sh -R, the entries are removed and the file does not contain any configurations. |