Preparing the Apache Drill Environment

How to:

The following components are needed to use the adapter for Apache Drill:

Procedure: How to Configure the Java CLASSPATH

The location of the Drill jar files must be specified to the server. If you are running the server on the same system as a drillbit, you can specify its location. If you are running the server on another system, copy the files listed below to some location on your system and specify their location.

This can be done in the system CLASSPATH or in the DataMigrator or WebFOCUS Reporting Server IBI_CLASSPATH variable as follows:

  1. From the Web Console menu bar, select Workspace

    or

    From the Data Management Console, expand the Workspace folder.

  2. Expand the Java Services folder, then right-click DEFAULT, and select Properties.

    The Java Services Configuration page opens.

  3. Click on the chevrons to expand Class Path.

    For the Open Source JDBC Driver

    In the IBI_CLASSPATH box, enter the full location of the jar file. For example:

    /opt/drill/apache-drill-1.112.0/jars/jdbc-driver/drill-jdbc-all-1.112.0.jar

    If you want to access data stored in HBase or MapR-DB, add an additional jar file. For example:

    /opt/drill/apache-drill-1.112.0/jars/3rdparty/hadoop-common-2.4.17.0.jar

    Note: The file names must be entered one per line.

    If you are installing the adapter on a different system than where you have Drill installed, copy the jar files to a location on that system.

    Note: For a server running on Windows, use Windows syntax for directory names. For example:
    C:\Drill\jars\jdbc-driver\drill-jdbc-all-1.112.0.jar

    For the MapR (Simba) JDBC Driver

    Download the The MapR JDBC Driver from https://maprdocs.mapr.com/home/Drill/drill_jdbc_connector.html from the link for the Drill JDBC Driver provided by MapR. This will download a file named:

    MapRDrillJDBC41-1.5.8.1017.zip

    Note: The numbers will change with new releases.

    Unzip the file to a location on your server. The 46 jar files constitute the MapR Drill JDBC Driver.

    Add the names of all the jar files to your CLASSPATH or IBI_CLASSPATH, as described above.

  4. Scroll down and click the Save and Restart Java Services button.

WebFOCUS

Feedback