According to documentation,
trust store location (typically a URL, without a prefix it is interpreted as a classpath entry)
My question is how to add a truststore in a hive cli job classpath.
I tried the following solutions, none is working:
- ADD JAR truststore.jks - hive cli command (According to hive cli docs,
ADD JAR resources are also added to the Java classpath.) (I've loaded with ADD JAR a jar and is loaded ok).
- hive.aux.jars.path - setting in hive-site.xml (I've set this to a hdfs location, where I put all the jars needed for the job and the truststore.jks. All jars were loaded correctly, but truststore.jks was not found in classpath, according to es-hadoop plugin).
Also, all the examples I've found were with
file://, but none of them were showing how to load this file from classpath.