I'm running my spark job against a secured elasticsearch cluster.
I have trustore.jks and keystore.jks generated , if i run run my spark job with ,jks on local path they are working fine but if i put my jks files in hdfs and read those files from hdfs i'm getting below exception:
Caused by: org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Expected to find keystore file at [file:///keystore.jks] but was unable to. Make sure that it is available on the classpath, or if not, that you have specified a valid URI.
i would like to know how to use below two parameters if the files location is hdfs:
Thanks in Advance!