Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. Main$.createSparkSession() has thrown an IllegalArgumentException
    Unsorted
    6
    0
    0
  2. SparkSession$Builder.getOrCreate() has thrown an IllegalArgumentException
    Spark Project SQL
    6
    1
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.IllegalArgumentException: Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':
9 matching frames hidden
    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)

Solution

rafael1 year ago

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

Check the source of this solution for more info

External results for this pattern (7)

  1. Akshayvia Stack Overflow4 months ago
    Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':
    Show stack trace
  2. AmyJvia Stack Overflow4 months ago
    Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':
    Show stack trace
  3. fushu18via GitHub8 months ago
    Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':
    Show stack trace
  4. Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':
    Show stack trace
  5. Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':
    Show stack trace
  6. vefthymvia Stack Overflow1 year ago
    Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':
    Show stack trace