java - SPARK 1.4.0 file not found exception for truststore -


i using spark 1.4.0 hadoop-2.6.0. enabled ssl using spark.ssl.enabled. when submitting example job getting following exception in nodemanager logs.

java.io.filenotfoundexception: c:\spark\conf\spark.truststore (the system cannot find path specified) 

when put truststore file in other drive (say d:) getting below exception

java.io.filenotfoundexception: d:\spark_conf\spark.truststore (the device not ready) 

i have mentioned keystore , truststore location correctly. following spark configuration setup ssl , acls

spark-defaults.conf

spark.authenticate              true spark.acls.enable               true spark.admin.acls                kumar spark.modify.acls               kumar spark.ui.view.acls              kumar spark.ssl.enabled               true spark.ssl.enabledalgorithms     tls_rsa_with_aes_128_cbc_sha,tls_rsa_with_aes_256_cbc_sha spark.ssl.keypassword           password spark.ssl.keystore              c:/spark/conf/spark.keystore spark.ssl.keystorepassword      password spark.ssl.protocol              tlsv1 spark.ssl.truststore            c:/spark/conf/spark.truststore spark.ssl.truststorepassword    password 

help me solve issue.

it may backslash problem. in error, shows filepath as

c:\spark\conf\spark.truststore  

and in configuration file have written as:

c:/spark/conf/spark.keystore 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -