Preparing the Apache Spark Environment

How to:

The following components are needed to use the adapter for Hadoop/Hive:

Procedure: How to Configure the Java CLASSPATH

The location of the Apache Spark jar files must be specified to the server. If you are running the server on the same system as the Hadoop and Hive server, you can specify their 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. Right-click DEFAULT and click Properties.

    The Java Services Configuration page opens.

  3. Expand Class path.

    In the IBI_CLASSPATH box, enter the full location of the Spark files shown below. The file names must be entered one per line.

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

    Enter the location on your system that matches your installation.

    hive-jdbc-<version>-standalone.jar
    hadoop-common.jar

WebFOCUS

Feedback