java.lang.RuntimeException: java.lang.NullPointerException at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:522)

GitHub | dfalty | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Error on spark_connect() after installing msvc redistributable without restarting RStudio

    GitHub | 8 months ago | dfalty
    java.lang.RuntimeException: java.lang.NullPointerException at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:522)

    Root Cause Analysis

    1. java.lang.RuntimeException

      java.lang.NullPointerException at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:522)

      at org.apache.spark.sql.hive.client.ClientWrapper.<init>()
    2. org.apache.spark
      IsolatedClientLoader.createClient
      1. org.apache.spark.sql.hive.client.ClientWrapper.<init>(ClientWrapper.scala:204)
      2. org.apache.spark.sql.hive.client.IsolatedClientLoader.createClient(IsolatedClientLoader.scala:238)
      2 frames
    3. Spark Project Hive
      HiveContext.functionRegistry
      1. org.apache.spark.sql.hive.HiveContext.executionHive$lzycompute(HiveContext.scala:218)
      2. org.apache.spark.sql.hive.HiveContext.executionHive(HiveContext.scala:208)
      3. org.apache.spark.sql.hive.HiveContext.functionRegistry$lzycompute(HiveContext.scala:462)
      4. org.apache.spark.sql.hive.HiveContext.functionRegistry(HiveContext.scala:461)
      4 frames
    4. Spark Project SQL
      SQLContext.<init>
      1. org.apache.spark.sql.UDFRegistration.<init>(UDFRegistration.scala:40)
      2. org.apache.spark.sql.SQLContext.<init>(SQLContext.scala:330)
      2 frames
    5. Spark Project Hive
      HiveContext.<init>
      1. org.apache.spark.sql.hive.HiveContext.<init>(HiveContext.scala:90)
      2. org.apache.spark.sql.hive.HiveContext.<init>(HiveContext.scala:101)
      2 frames