IBMStreams com.ibm.streamsx.hbase Toolkit > com.ibm.streamsx.hbase 3.9.3 > Developing and running applications that use the HBase Toolkit
To create applications that use the HBase Toolkit, you must configure either Streams Studio or the SPL compiler to be aware of the location of the toolkit.
The com.ibm.streamsx.hbase toolkit can also access to the: IBM Biginsighs https://www.ibm.com/support/knowledgecenter/en/SSPT3X_4.2.0/com.ibm.swg.im.infosphere.biginsights.welcome.doc/doc/welcome.html Hortonworks data platform https://hortonworks.com/products/data-platforms/hdp/
After the location of the toolkit is communicated to the compiler, the SPL artifacts that are specified in the toolkit can be used by an application. The application can include a use directive to bring the necessary namespaces into scope. Alternatively, you can fully qualify the operators that are provided by toolkit with their namespaces as prefixes.
cp -Lr path-to-hbase/lib /path-on-streams-host
export STREAMS_SPLPATH=$STREAMS_INSTALL/toolkits/com.ibm.streamsx.hbase
sc -t $STREAMS_INSTALL/toolkits/com.ibm.streamsx.hbase -M MyMainwhere MyMain is the name of the SPL main composite. Note: These command parameters override the STREAMS_SPLPATH environment variable.
use com.ibm.streamsx.hbase::*;You can also specify a use clause for individual operators by replacing the asterisk (*) with the operator name. For example:
use com.ibm.streamsx.hbase::HBASEDelete;
Build your application. You can use the sc command or Streams Studio.
Start the IBM Streams instance. Remember to set HBASE_HOME and HADOOP_HOME This can be done using the Streams Console or the streamtool utility. The streamsx.hbase toolkit from version 3.1.0 delivers all needed apache clint jar libaries. If you use the hbaseSite parameter to specify the hbase-site.xml file, it is not necessary to set the HBASE_HOME and HADOOP_HOME environment variables.
Run the application. You can submit the application as a job by using the streamtool submitjob command or by using Streams Studio.