Installing the Driver on Mac OS X
Install the Drill ODBC Driver on the machine from which you connect to the Drill service.
Install the Drill ODBC Driver on a system that meets the system requirements. Complete the following steps, described in detail in this document:
- Step 1: Download the Drill ODBC Driver
- Step 2: Install the Drill ODBC Driver
- Step 3: Check the Drill ODBC Driver Version
System Requirements
To install the driver, you need Administrator privileges on the computer.
- Mac OS X version 10.9, 10.10, or 10.11
- 100 MB of available disk space
- iODBC 3.52.7 or later
The iodbc-config file in the
/usr/local/iODBC/bin
includes the version of the driver. -
The client must be able to resolve the actual host name of the Drill node or nodes from the IP address. Verify that a DNS entry was created on the client machine for the Drill node or nodes. If not, create an entry in
/etc/hosts
for each node in the following format:<drill-machine-IP> <drill-machine-hostname>
.Example:
127.0.0.1 localhost
Step 1: Download the Drill ODBC Driver
Note
Post the acquisition of MapR by HPE, the MapR ODBC driver's licensing and distribution have changed.
The latest advice shared with the open source project by HPE follows.
You must create a HPE passport account with your email, then you must obtain a token: https://docs.ezmeral.hpe.com/datafabric-customer-managed/75/AdvancedInstallation/Obtaining_a_Token.html. With your token and your passport email then you can connect to https://package.ezmeral.hpe.com/tools/MapR-ODBC/MapR_Drill/MapRDrill_odbc_v1.5.1.1002/.
Step 2: Install the Drill ODBC Driver
To install the driver, complete the following steps:
- Double-click
MapR Drill 1.3.dmg
to mount the disk image. - Double-click
MapRDrillODBC.pkg
to run the Installer. - Follow the instructions in the Installer to complete the installation process.
- When the installation completes, click Close.
Drill ODBC Driver files install in the following locations:
/Library/mapr/drill/ErrorMessages
– Error messages files directory/Library/mapr/drill/Setup
– Sample configuration files directory/Library/mapr/drill/lib
– Binaries directory
Step 3: Check the Drill ODBC Driver Version
To check the version of the driver you installed, use the following command on the terminal command line:
$ pkgutil --pkg-info mapr.drillodbc
package-id: mapr.drillodbc
version: 1.3.8 (You may see 3.52.12.)
volume: /
location:
install-time: 1433465518 To display information about the iODBC driver manager installed on the machine, issue the following command:
/usr/local/iODBC/bin/iodbc-config