java.lang.IllegalArgumentException

Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':


Samebug tips1

You might need to add the permission 777, run this in your cmd (as admin) "C:\hadoop\bin>winutils.exe chmod 777 \tmp\hive"

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web1093

Solution icon of stackoverflow
Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':

Solution icon of stackoverflow
Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':

Solution icon of stackoverflow
Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':

Solution icon of stackoverflow
Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':

Solution icon of stackoverflow
Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':

Solution icon of stackoverflow
Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':

Solution icon of stackoverflow
via Stack Overflow by nanounanue
, 7 months ago
Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':

Solution icon of stackoverflow
via Stack Overflow by vefthym
, 6 months ago
Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':

Solution icon of stackoverflow
Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':

Solution icon of stackoverflow
via Stack Overflow by oki
, 2 weeks ago
Error while instantiating org.apache.spark.sql.hive.HiveSessionState':

Stack trace

  • java.lang.IllegalArgumentException: Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState': at org.apache.spark.sql.SparkSession$.org$apache$spark$sql$SparkSession$$reflect(SparkSession.scala:981) at org.apache.spark.sql.SparkSession.sessionState$lzycompute(SparkSession.scala:110) at org.apache.spark.sql.SparkSession.sessionState(SparkSession.scala:109) at org.apache.spark.sql.SparkSession$Builder$$anonfun$getOrCreate$5.apply(SparkSession.scala:878) at org.apache.spark.sql.SparkSession$Builder$$anonfun$getOrCreate$5.apply(SparkSession.scala:878) at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:99) at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:99) at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:230) at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:40) at scala.collection.mutable.HashMap.foreach(HashMap.scala:99) at org.apache.spark.sql.SparkSession$Builder.getOrCreate(SparkSession.scala:878) at org.apache.spark.repl.Main$.createSparkSession(Main.scala:95)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago