Faild to connect spark-elasticsearch with keystore location as hdfs

Hi ,

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!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.