我正在尝试使用Scala连接到启用SSL的HDFS位置。 实际上,我正在尝试将数据写入HDFS位置。但是由于某些安全问题,不允许写入数据。 如何添加安全功能,证书,以便我可以连接到HDFS URL
样本HDFS URL https://XXXX:8443/gateway/webhdfs/webhdfs/v1/opt/sandboxes/
我面临的错误:
WARN NetworkClient: Connection to node -1 terminated during authentication. This may indicate that authentication failed due to invalid credentials.
19/02/04 18:21:53 WARN SslTransportLayer: Failed to send SSL Close message
java.io.IOException: An established connection was aborted by the software in your host machine