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

Stack Overflow | nanounanue | 1 month ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 3

    Error in spark-submit but not in pyspark

    Stack Overflow | 1 month ago | nanounanue
    java.lang.IllegalArgumentException: Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':
  2. 0

    Getting Error when I ran hive UDF written in Java in pyspark EMR 5.x

    Stack Overflow | 1 month ago | braj259
    py4j.protocol.Py4JJavaError: An error occurred while calling o43.sql. : java.lang.NoSuchMethodError: org.apache.hadoop.hive.conf.HiveConf.getTimeVar(Lorg/apache/hadoop/hive/conf/HiveConf$ConfVars;Ljava/util/concurrent/TimeUnit;)J
  3. 0

    Spark SQL using Python: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient

    Stack Overflow | 1 month ago | pluecky
    java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Installing spark on windows 10 spark.hive.hiveSessionState

    Stack Overflow | 1 week ago | Arish
    java.lang.IllegalArgumentException: Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':
  6. 0

    Can't instantiate SparkSession on EMR 5.0 HUE

    Stack Overflow | 5 months ago | T. Bombeke
    java.lang.IllegalArgumentException: Error while instantiating 'org.apache.spark.sql.internal.SessionState':

  1. andyglick 8 times, last 2 weeks ago
  2. tyson925 3 times, last 2 weeks ago
  3. Adrien 8 times, last 2 weeks ago
  4. SteVio1989 4 times, last 3 weeks ago
  5. jstrayer 1 times, last 3 weeks ago
58 more registered users
37 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.apache.spark.sql.hive.HiveSessionState

    at java.net.URLClassLoader.findClass()
  2. Java RT
    Class.forName
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    4. java.lang.Class.forName0(Native Method)
    5. java.lang.Class.forName(Class.java:348)
    5 frames
  3. Spark
    Utils$.classForName
    1. org.apache.spark.util.Utils$.classForName(Utils.scala:228)
    1 frame
  4. Spark Project SQL
    SparkSession.conf
    1. org.apache.spark.sql.SparkSession$.org$apache$spark$sql$SparkSession$$reflect(SparkSession.scala:947)
    2. org.apache.spark.sql.SparkSession.sessionState$lzycompute(SparkSession.scala:111)
    3. org.apache.spark.sql.SparkSession.sessionState(SparkSession.scala:110)
    4. org.apache.spark.sql.SparkSession.conf$lzycompute(SparkSession.scala:133)
    5. org.apache.spark.sql.SparkSession.conf(SparkSession.scala:133)
    5 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  6. Py4J
    GatewayConnection.run
    1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:237)
    2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
    3. py4j.Gateway.invoke(Gateway.java:280)
    4. py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
    5. py4j.commands.CallCommand.execute(CallCommand.java:79)
    6. py4j.GatewayConnection.run(GatewayConnection.java:214)
    6 frames
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame