This topic provides instructions for using package managers to download and install Drill.
MapR Default Security Configuration
Installing Drill Under Warden or YARN
You can install and run Drill under Warden or you can install and run Drill under YARN. If you are currently running Drill under Warden, you can upgrade Drill and continue to run Drill under Warden, or you can migrate Drill to run under YARN. See Migrate Drill to Run Under YARN for instructions.
When Warden manages the Drill cluster, you can use the MapR Control System for monitoring. YARN (Yet Another Resource Negotiator) is a cluster management tool that automates the resource sharing process in a cluster. When you launch Drill under YARN, YARN deploys (localizes) Drill onto each node. You can monitor the Drill cluster using the Drill-on-YARN Application Master web UI.
You can use package managers to manually install the appropriate Drill package. The Drill packages provide the software needed to run Drill. MapR provides mapr-drill package and also a mapr-drill-yarn package.
Drill includes the Drill daemon, the core Drillbit service that runs on a node. Each node running the Drillbit service can receive, plan, and execute queries sent from a client. The software also includes the drill-shell command line interface, a pure-Java console-based utility, for connecting to a Drill cluster and executing SQL commands.
The following sections list the Drill packages and their descriptions:
/opt/mapr/drill and
integrates Drill with the MapR Warden service. You install this package on all nodes
designated to run Drill./opt/mapr/drill. You install this package on the
node that you designate as the Drill-on-YARN client. See Install
Drill to Run Under YARN for details. YARN deploys Drill to every node included
in the Drill cluster. Installing this package on every node is not required.To use the optional OJAI Distributed Query Service, you must install Drill and configure and register the service. See Configure the OJAI Distributed Query Service.
The following sections describe some manual installation scenarios for Drill with information about security configuration:
Installing or Upgrading Drill
You can install Drill on a MapR cluster with or without default security. After you install the Drill package, you must run the configuration script, configure.sh -R, to configure the Drill service on the nodes. When you run the configuration script, the script recognizes whether your MapR cluster is using the default security or not, and configures Drill accordingly.
drill-distrib.conf and distrib-env.sh
files. See Securing
Drill.drill-override.conf file, but doing so is not recommended or
supported.If your cluster is not using the default security, the internal Drill configuration script does not configure any security for Drill. Instead, it copies warden.drill-bits.conf to the conf.d directory.
Installing Drill with MapR and Configuring Custom Security
/usr/bin/touch /opt/mapr/conf/.customSecure to add the
.customSecure file.configure.sh -R.The configuration script recognizes the .customSecure file which indicates not to configure the default security settings. At this point, you can manually configure security in drill-override.conf.
Turning Default Security On|Off After You Install Drill
If you installed Drill on a MapR cluster with the default security option enabled, you can disable it. Likewise, if you did not enable the default security option, you can enable it. When you enable or disable the default security option, security is applied or removed across the cluster.
For example, if your cluster is not secure and you enable the default security option, the entire MapR cluster is secured, as well as all supported ecosystem components, including Drill.
-secure or -unsecure and
-forceSecurityDefaults flags to update the configuration of the nodes and
apply or remove security across the cluster, as
shown:/opt/mapr/server/configure.sh -forceSecurityDefaults [ -unsecure | -secure ]
-C <CLDB_node> -Z <ZK_node>
The configuration script communicates with internal ecosystem scripts to automatically configure or remove security across the cluster.
See the Interoperability Matrix pages for information about the compatibility of Drill with operating systems and ecosystem projects.
See the Drill Storage and Format Plugin Support Matrix page for a list of supported and unsupported data sources and formats in Drill on MapR.