This toolkit allows Streams to write tuples into HBase and to read tuples from Apache HBase.
Connecting to HBase on IBM Cloud service requires the JDBC Toolkit.
The toolkit includes the following operators, and at least one sample per operator:
See the documentation for operators and samples to learn more.
The toolkit has been tested with HBase 1.2 and Hadoop 2.7.0, but is expected to work for any later version of Hadoop or HBase.
if you use hbaseSite
parameter, it is not necessary to install any hadoop and Hbase client.
You can copy the hbase-site.xml file from your HBase server install's conf directory into your project directory and then use hbaseSite
parameter to point to hbase-site.xml
.
for example:
hbaseSite : "etc/hbase-site.xml" ;
To run these operators, you can install Apache HBase and its dependencies. An installation of HBASE client includes everything you need.
Please see the individual product pages for instructions on installation.
Once you have HBase installed, the operators need HBase configuration information in order to run. It uses hbase-site.xml
to do that. You can supply that in two ways:
HBASE_HOME
, the operator will look under HBASE_HOME/conf/hbase-site.xml
for HBase configuration information. This is probably the easiest thing to do if the operator is running on the HBase host. Download a release, or build the toolkit yourself from the source. See the section below on how to build the toolkit.
The following applications in the samples
directory are good starting points:
The toolkit uses Maven to download the needed dependencies.
ant
at the top level. This will build the toolkit, but also download all the necessary jars into opt/downloaded
. These jars are used at toolkit build time, but also at the toolkit runtime.Please enter an issue on GitHub for defects and other problems.
This repository is using the fork-and-pull model (https://help.github.com/articles/using-pull-requests). If you'd like to contribute code, fork a copy of the repository, make changes, and when ready, issue a pull request. For more details, see the wiki in the IBMStreams/toolkits repository. This toolkit implements the NLS feature. Use the guidelines for the message bundle described in Messages and National Language Support for toolkits
We will make releases after major features have been added. If you wish to request a release, please open an issue.