我在hadoop-2.6.0中使用SPARK 1.4.0。我使用spark.ssl.enabled.启用ssl当提交一个示例作业时,在nodemanager日志中获取以下异常。
java.io.FileNotFoundException: C:\Spark\conf\spark.truststore (The system cannot find the path specified)当我将信任存储文件放到其他驱动器(例如D:)中时,就会出现以下异常
java.io.FileNotFoundException: D:\Spark_conf\spark.truststore (The device is not ready)我已经正确地提到了密钥库和信任库的位置。我遵循火花结构为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帮我解决这个问题。
发布于 2016-11-15 07:23:57
这可能是个反斜杠问题。在错误中,它将文件路径显示为
C:\Spark\conf\spark.truststore 在配置文件中,您将其编写为:
C:/Spark/conf/spark.keystorehttps://stackoverflow.com/questions/31286138
复制相似问题