Create and Populate exampleJsonTable with Example Data

Assuming an Oracle NoSQL Database store (either non-secure or secure) has been deployed with KVHOME equal to /opt/oracle/kv-ee, the LoadExampleJson program supplied in the Oracle NoSQL Database example distribution can be executed to create and populate the table named exampleJsonTable. Before executing LoadJsonExample though, that program must first be compiled. To do this, assuming you have installed the example distribution under the directory /opt/oracle/nosql/apps/kv/examples, type the following from your client node's command line:

cd /opt/oracle/nosql/apps/kv
javac -classpath \
    /opt/oracle/kv-ee/lib/kvstore.jar:examples \
    examples/hadoop/hive/es/table/LoadExampleJson.java

This should produce the file:

/opt/oracle/nosql/apps/kv/examples/  \   
    hadoop/hive/es/table/LoadExampleJson.class