Hi,
I am trying to use Structured Streaming which is the latest API for the streaming in Spark.
I am facing the error when I login into spark-shell for 2.2.1 and 2.0.2. I want to use the latest APIs
Even the first line is throwing and error
FIRST LINE
** val static = spark.read.json("/home/uutkarshsingh7351/part-00079-tid-730451297822678341-1dda7027-2071-4d73-a0e2-7fb6a91e1d1f-0-c000.json")**
THIS IS THE ERROR
java.lang.IllegalArgumentException: Error while instantiating ‘org.apache.spark.sql.hive.HiveSessionStateBuilder’:
I think the error is happening due to some setting in the cluster.
Has someone faced this problem?
Any solutions for this as the error is not in my code as it is working locally.
Thanks