Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-20173

Throw NullPointerException when HiveThriftServer2 is shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • SQL
    • None

    Description

      Throw NullPointerException when HiveThriftServer2 is shutdown:

      ========================================================
      2017-03-30 11:52:56,355 ERROR Utils: Uncaught exception in thread Thread-2
      java.lang.NullPointerException
      at org.apache.spark.sql.hive.thriftserver.HiveThriftServer2$$anonfun$main$1.apply$mcV$sp(HiveThriftServer2.scala:85)
      at org.apache.spark.util.SparkShutdownHook.run(ShutdownHookManager.scala:215)
      at org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(ShutdownHookManager.scala:187)
      at org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1$$anonfun$apply$mcV$sp$1.apply(ShutdownHookManager.scala:187)
      at org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1$$anonfun$apply$mcV$sp$1.apply(ShutdownHookManager.scala:187)
      at org.apache.spark.util.Utils$.logUncaughtExceptions(Utils.scala:1953)
      at org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1.apply$mcV$sp(ShutdownHookManager.scala:187)
      at org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1.apply(ShutdownHookManager.scala:187)
      at org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1.apply(ShutdownHookManager.scala:187)
      at scala.util.Try$.apply(Try.scala:192)
      at org.apache.spark.util.SparkShutdownHookManager.runAll(ShutdownHookManager.scala:187)
      at org.apache.spark.util.SparkShutdownHookManager$$anon$2.run(ShutdownHookManager.scala:177)
      at org.apache.hadoop.util.ShutdownHookManager$1.run(ShutdownHookManager.java:54)
      2017-03-30 11:52:56,357 INFO ShutdownHookManager: Shutdown hook called

      Attachments

        Activity

          People

            zuo.tingbing9 zuotingbing
            zuo.tingbing9 zuotingbing
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: