How to: |
The following components are needed to use the adapter for Apache Phoenix:
The location of the Java must be specified in an environment variable.
If you are using Linux, add a line to your profile with the location where Java is installed. For example:
export JAVA_HOME=/usr/lib/jvm/jre-1.8.0
If you have JDK installed:
export JAVA_HOME=/usr/lib/jvm/jdk-1.8.0
If you are using Windows, right-click Computer and select Properties. Then click Advanced System Settings and click Environment Variables. Add the locations to your PATH variable. For example:
C:\Program Files\Java\jdk-8\bin\server;C:\Program Files\Java\jdk-8\bin;
The location of the Apache Phoenix JDBC Driver 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:
or
From the Data Management Console, expand the Workspace folder.
The Java Services Configuration page opens.
In the IBI_CLASSPATH box, enter the full location of the jar file. For example:
/usr/lib/phoenix/phoenix-client.jar
If you are installing the adapter on a different system than where you have Apache Phoenix installed, copy the jar file to a location on that system.
C:\phoenix\phoenix-client.jar
/etc/hbase/conf
c:\phoenix
WebFOCUS | |
Feedback |