Tera Java SDK Guide

November 28, 2016 ยท View on GitHub

Implementation

  • Java-SDK invokes native-SDK through JNI library (libjni_tera.so).
  • Java-SDK uses Maven to automate the build of projects.

Have a quick try

  1. Build Tera. See BUILD.
  2. Deploy Tera. See pseudo-distributed mode.
  3. Add the path of libjni_tera.so to environment variable LD_LIBRARY_PATH.
  4. Set environment variable TERA_CONF_PATH to the path of tera.flag.
  5. Under the directory src/sdk/java, execute command mvn package to run the unittest and build JAR files.
  6. Install the output JAR files into the Maven repository to use Tera Java SDK in the future.