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

Stack Overflow | nanounanue | 4 days ago
  1. 0

    Error in spark-submit but not in pyspark

    Stack Overflow | 4 days 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 week 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 | 5 days 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

    Can't instantiate SparkSession on EMR 5.0 HUE

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

    Cannot create a Spark DataFrame in Jupyter notebook on a local Windows 7 machine

    Stack Overflow | 4 months ago | avinax
    java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient

  1. eti22 1 times, last 1 day ago
  2. aldrinleal 2 times, last 3 days ago
  3. johnxfly 1 times, last 5 days ago
  4. gamebusterz 1 times, last 6 days ago
  5. jokester 4 times, last 7 days ago
60 more registered users
35 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