commit | 099e6863123e6de72aa5c4439c9c033bf129c494 | [log] [tgz] |
---|---|---|
author | Christopher Tubbs <ctubbsii@apache.org> | Tue Dec 17 20:59:14 2019 -0500 |
committer | Christopher Tubbs <ctubbsii@apache.org> | Tue Dec 17 20:59:14 2019 -0500 |
tree | 73d2312d2cf24e73ef7cba1f719445ac0e36f740 | |
parent | b665bf4b13182e35aeb1d7704a939e8303e2af19 [diff] |
Fix build - broken compaction IT and javadoc * Fix javadoc plugin configuration for JDK11 builds * Add missing test jar for testing custom compaction strategies * Fix class loading of compaction strategy test jar * Update plugin versions in pom.xml
Apache Accumulo Proxy
This application acts as an Apache Accumulo Java client, and exposes its API as an Apache Thrift service so that users can use their preferred programming language to communicate with Accumulo (provided that language has a supported Thrift language binding).
Build the proxy tarball and install it.
cd /path/to/accumulo-proxy mvn clean package -Ptarball tar xzvf ./target/accumulo-proxy-2.0.0-SNAPSHOT-bin.tar.gz -C /path/to/install
Edit proxy.properties
and run the proxy.
cd /path/to/install/accumulo-proxy-2.0.0-SNAPSHOT ./bin/accumulo-proxy -p conf/proxy.properties
Bindings have been built in src/main/
for Java, python, and ruby.
Bindings for other languages can be built using the Thrift compiler. Follow the Thrift tutorial to install a Thrift compiler and use the following command to generate language bindings.
thrift -r --gen <language> <Thrift filename>
Run the commands below to install the Python bindings and create an example client:
mkdir accumulo-client/ cd accumulo-client/ pipenv --python 2.7 pipenv install thrift pipenv install -e /path/to/accumulo-proxy/src/main/python cp /path/to/accumulo-proxy/src/main/python/example.py . # Edit credentials if needed vim example.py pipenv run python2 example.py