org.apache.hadoop.hive.serde2.SerDeException: java.lang.NullPointerException

github.com | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. org.apache.hadoop.hive.serde2.SerDeException

    java.lang.NullPointerException

    at org.apache.hadoop.hive.serde2.thrift.ThriftDeserializer.initialize()
  2. Hive Serde
    ThriftDeserializer.initialize
    1. org.apache.hadoop.hive.serde2.thrift.ThriftDeserializer.initialize(ThriftDeserializer.java:68)
    1 frame
  3. Hive Query Language
    TableDesc.getDeserializer
    1. org.apache.hadoop.hive.ql.plan.TableDesc.getDeserializer(TableDesc.java:80)
    1 frame
  4. Spark Project Hive
    HiveStrategies$HiveTableScans$$anonfun$14.apply
    1. org.apache.spark.sql.hive.execution.HiveTableScan.addColumnMetadataToConf(HiveTableScan.scala:86)
    2. org.apache.spark.sql.hive.execution.HiveTableScan.<init>(HiveTableScan.scala:100)
    3. org.apache.spark.sql.hive.HiveStrategies$HiveTableScans$$anonfun$14.apply(HiveStrategies.scala:188)
    4. org.apache.spark.sql.hive.HiveStrategies$HiveTableScans$$anonfun$14.apply(HiveStrategies.scala:188)
    4 frames
  5. Spark Project SQL
    SQLContext$SparkPlanner.pruneFilterProject
    1. org.apache.spark.sql.SQLContext$SparkPlanner.pruneFilterProject(SQLContext.scala:364)
    1 frame
  6. Spark Project Hive
    HiveStrategies$HiveTableScans$.apply
    1. org.apache.spark.sql.hive.HiveStrategies$HiveTableScans$.apply(HiveStrategies.scala:184)
    1 frame
  7. Spark Project Catalyst
    QueryPlanner$$anonfun$1.apply
    1. org.apache.spark.sql.catalyst.planning.QueryPlanner$$anonfun$1.apply(QueryPlanner.scala:58)
    2. org.apache.spark.sql.catalyst.planning.QueryPlanner$$anonfun$1.apply(QueryPlanner.scala:58)
    2 frames
  8. Scala
    Iterator$$anon$13.hasNext
    1. scala.collection.Iterator$$anon$13.hasNext(Iterator.scala:371)
    1 frame
  9. Spark Project Catalyst
    QueryPlanner.planLater
    1. org.apache.spark.sql.catalyst.planning.QueryPlanner.apply(QueryPlanner.scala:59)
    2. org.apache.spark.sql.catalyst.planning.QueryPlanner.planLater(QueryPlanner.scala:54)
    2 frames
  10. Spark Project SQL
    SparkStrategies$BasicOperators$.apply
    1. org.apache.spark.sql.execution.SparkStrategies$BasicOperators$.apply(SparkStrategies.scala:280)
    1 frame
  11. Spark Project Catalyst
    QueryPlanner$$anonfun$1.apply
    1. org.apache.spark.sql.catalyst.planning.QueryPlanner$$anonfun$1.apply(QueryPlanner.scala:58)
    2. org.apache.spark.sql.catalyst.planning.QueryPlanner$$anonfun$1.apply(QueryPlanner.scala:58)
    2 frames
  12. Scala
    Iterator$$anon$13.hasNext
    1. scala.collection.Iterator$$anon$13.hasNext(Iterator.scala:371)
    1 frame
  13. Spark Project Catalyst
    QueryPlanner.apply
    1. org.apache.spark.sql.catalyst.planning.QueryPlanner.apply(QueryPlanner.scala:59)
    1 frame
  14. Spark Project SQL
    SQLContext$QueryExecution.executedPlan
    1. org.apache.spark.sql.SQLContext$QueryExecution.sparkPlan$lzycompute(SQLContext.scala:402)
    2. org.apache.spark.sql.SQLContext$QueryExecution.sparkPlan(SQLContext.scala:400)
    3. org.apache.spark.sql.SQLContext$QueryExecution.executedPlan$lzycompute(SQLContext.scala:406)
    4. org.apache.spark.sql.SQLContext$QueryExecution.executedPlan(SQLContext.scala:406)
    4 frames
  15. Spark Project Hive
    HiveContext$QueryExecution.stringResult
    1. org.apache.spark.sql.hive.HiveContext$QueryExecution.stringResult(HiveContext.scala:406)
    1 frame
  16. org.apache.spark
    SparkSQLCLIDriver.processCmd
    1. org.apache.spark.sql.hive.thriftserver.SparkSQLDriver.run(SparkSQLDriver.scala:59)
    2. org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver.processCmd(SparkSQLCLIDriver.scala:291)
    2 frames
  17. org.apache.hadoop
    CliDriver.processLine
    1. org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:413)
    1 frame
  18. org.apache.spark
    SparkSQLCLIDriver.main
    1. org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver$.main(SparkSQLCLIDriver.scala:226)
    2. org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver.main(SparkSQLCLIDriver.scala)
    2 frames
  19. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  20. Spark
    SparkSubmit.main
    1. org.apache.spark.deploy.SparkSubmit$.launch(SparkSubmit.scala:328)
    2. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:75)
    3. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
    3 frames