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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

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

Solutions on the web

via Stack Overflow by Arish Ballana
, 9 months ago
Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':
via Stack Overflow by vefthym
, 10 months ago
Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':
via Stack Overflow by Akshay
, 5 months ago
Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':
via Stack Overflow by Peng Gao
, 9 months ago
Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':
via Stack Overflow by Leelakrishna
, 5 months ago
Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':
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 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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.