Generating the Server Side JAR File

After creating the login, trust, and password artifacts, you must generate a server side JAR file that can be added to Hive's HIVE_AUX_JARS_PATH environment variable. Assuming you created artifacts like those described in the previous section, you would do the following:

cd /tmp/kv-client-security
jar cvf hive-nosql-server.jar client.trust
jar uvf hive-nosql-server.jar hive-nosql.login

The command above creates a JAR file named hive-nosql-server.jar with contents that include only public credentials which should look something like:

      0 META-INF/
     68 META-INF/MANIFEST.MF
    508 client.trust
    255 hive-nosql.login