Client connection getting rejected due to SASL authentication

0 votes
I am facing some issues with authentication in spark application. There are two points. One is the port where I have enabled SASL authentication and one more is the client that has authentication enabled (but not SASL). Whenever the client is trying to connect to this port, the connection request is getting rejected. I have recently started using encryption so I don't know what is wrong.
Mar 14 in Apache Spark by Manu
9 views

1 answer to this question.

0 votes

Seems like you have set the configuration such that the port will accept connections only if SASL encryption is used. To solve this error, you can run the command in the Spark shell:

val sc = new SparkContext(new SparkConf())
./bin/spark-submit <all your existing options> --spark.network.sasl.serverAlwaysEncrypt=false
answered Mar 14 by Raj

Related Questions In Apache Spark

0 votes
1 answer
0 votes
1 answer

How to set client authentication for SSL?

By default, this feature is disabled. To ...READ MORE

answered Mar 15 in Apache Spark by Karan
44 views
0 votes
1 answer

How to enable SASL encryption?

You can use dynamic configuration setting to ...READ MORE

answered Mar 14 in Apache Spark by Raj
20 views
0 votes
1 answer

How to run spark in Standalone client mode?

Hi, These are the steps to run spark in ...READ MORE

answered Jul 5 in Apache Spark by Gitika
• 25,300 points
27 views
0 votes
1 answer

Is there any way to check the Spark version?

There are 2 ways to check the ...READ MORE

answered Apr 19, 2018 in Apache Spark by nitinrawat895
• 10,490 points
1,010 views
0 votes
1 answer
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,490 points
2,370 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,490 points
239 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
12,062 views
0 votes
1 answer

How to add modify access for Web UI user?

For a user to have modification access ...READ MORE

answered Mar 14 in Apache Spark by Raj
31 views