Reply
Explorer
Posts: 7
Registered: ‎06-15-2018

'SparkSession' object has no attribute '_jssc'

Hello all, 

does someone has a solution to this issue:

 

'SparkSession' object has no attribute '_jssc'

 

I'm using Spark 2.3.0 and spark-sql-kafka-0-10_2.11-2.1.0.cloudera1.jar on 

Hadoop 2.6.0-cdh5.14.2

 

 

 

Highlighted
Explorer
Posts: 7
Registered: ‎06-15-2018

Re: 'SparkSession' object has no attribute '_jssc'

I found the problem: I was calling KafkaUtils.createDirectStream( ) passing sparksession as 1st parameter, the correct parameter is a StreamingSession object.
Announcements