Complete the following steps before you upgrade Drill with or without the Installer.
mapr tickets) to provide authentication,
authorization, and encryption for cluster security. See Securing Drill for
more information.Preserving Custom Security When Upgrading Core and Drill
You can perform a manual upgrade, for example from a secured release 5.2 cluster to 6.0, to preserve your security settings from 5.2. When you upgrade, a special file, /opt/mapr/conf/.upgrade_from, checks for security settings. If security is set, the same settings carry over to 6.x.
During a custom upgrade, Drill configurations are not carried over. You must either reconfigure all of your Drill settings, or save your previous settings and then override the default Drill settings. You can manually secure Drill either by copying over the old drill-override.conf file into /opt/mapr/drill/drill-<version>/conf or by updating the /opt/mapr/drill/drill-<version>/conf/drill-distrib.conf file with the security settings.
After you upgrade, you must run configure.sh -R to configure the cluster. When you run the configuration script, it adds a .customSecure file to the /opt/mapr/conf directory. This file calls the internal ecosystem scripts, but does not configure Drill.
/opt/mapr/server/configure.sh -forceSecurityDefaults [ -unsecure | -secure ]
-C <CLDB_node> -Z <ZK_node>
Running configure.sh with these flags secures the cluster and supported ecosystem components. The internal Drill configuration script configures Drill security in the drill-distrib.conf and distrib-env.sh files. See Securing Drill.
Drill Management Service
Drill can run under the Warden service or under YARN. You can upgrade Drill and continue to run Drill under the Warden service. If you are currently running Drill under the Warden service, you can migrate Drill to run under YARN. If you want to migrate Drill to run under YARN, see Migrate Drill to Run Under YARN.
If you are upgrading Drill to run under Warden, Drill should preserve your storage plugin and configuration files when you upgrade. However, you should backup and restore your configuration files and UDF JAR files.
Pre-Upgrade Steps
Complete the following steps on Drill servers and clients before you upgrade Drill:
maprcli node services -name drill-bits -action stop -nodes <node hostnames separated by a space>