java.lang.NoSuchFieldError: HIVE_STATS_JDBC_TIMEOUT

Stack Overflow | eltherion | 4 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. java.lang.NoSuchFieldError

    HIVE_STATS_JDBC_TIMEOUT

    at org.apache.spark.sql.hive.HiveContext.configure()
  2. Spark Project Hive
    HiveContext.setConf
    1. org.apache.spark.sql.hive.HiveContext.configure(HiveContext.scala:512)
    2. org.apache.spark.sql.hive.HiveContext.metadataHive$lzycompute(HiveContext.scala:252)
    3. org.apache.spark.sql.hive.HiveContext.metadataHive(HiveContext.scala:239)
    4. org.apache.spark.sql.hive.HiveContext.setConf(HiveContext.scala:443)
    4 frames
  3. Spark Project SQL
    SQLContext$$anonfun$4.apply
    1. org.apache.spark.sql.SQLContext$$anonfun$4.apply(SQLContext.scala:272)
    2. org.apache.spark.sql.SQLContext$$anonfun$4.apply(SQLContext.scala:271)
    2 frames
  4. Scala
    AbstractIterable.foreach
    1. scala.collection.Iterator$class.foreach(Iterator.scala:727)
    2. scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    3. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    4. scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    4 frames
  5. Spark Project SQL
    SQLContext.<init>
    1. org.apache.spark.sql.SQLContext.<init>(SQLContext.scala:271)
    1 frame
  6. 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
  7. my.package
    PdfTextExtractor.main
    1. my.package.AbstractProcess$class.prepareContexts(AbstractProcess.scala:33)
    2. my.package.PdfTextExtractor$.prepareContexts(PdfTextExtractor.scala:11)
    3. my.package.AbstractProcess$class.main(AbstractProcess.scala:21)
    4. my.package.PdfTextExtractor$.main(PdfTextExtractor.scala:11)
    5. my.package.PdfTextExtractor.main(PdfTextExtractor.scala)
    5 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  9. Spark
    SparkSubmit.main
    1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:731)
    2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181)
    3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206)
    4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121)
    5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
    5 frames