java.lang.NoSuchMethodError: com.google.common.reflect.TypeToken.isPrimitive()Z

oozie-user | Liping Zhang | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: how to add external guava-16.0.1.jar in oozie classpath

    oozie-user | 1 year ago | Liping Zhang
    java.lang.NoSuchMethodError: com.google.common.reflect.TypeToken.isPrimitive()Z
  2. 0

    Re: how to add external guava-16.0.1.jar in oozie classpath

    oozie-user | 1 year ago | Liping Zhang
    java.lang.NoSuchMethodError: com.google.common.reflect.TypeToken.isPrimitive()Z
  3. 0

    Re: how to add external guava-16.0.1.jar in oozie classpath

    oozie-user | 1 year ago | Liping Zhang
    java.lang.NoSuchMethodError: com.google.common.reflect.TypeToken.isPrimitive()Z
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Class org.apache.oozie.action.hadoop.SparkMain not found

    oozie-user | 1 year ago | Liping Zhang
    java.lang.NoSuchMethodError: com.google.common.reflect.TypeToken.isPrimitive()Z
  6. 0

    Re: Class org.apache.oozie.action.hadoop.SparkMain not found

    oozie-user | 1 year ago | Liping Zhang
    java.lang.NoSuchMethodError: com.google.common.reflect.TypeToken.isPrimitive()Z

    5 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.NoSuchMethodError

      com.google.common.reflect.TypeToken.isPrimitive()Z

      at com.datastax.driver.core.TypeCodec.<init>()
    2. DataStax Java Driver for Apache Cassandra - Core
      Cluster$Builder.build
      1. com.datastax.driver.core.TypeCodec.<init>(TypeCodec.java:142)
      2. com.datastax.driver.core.TypeCodec.<init>(TypeCodec.java:136)
      3. com.datastax.driver.core.TypeCodec$BlobCodec.<init>(TypeCodec.java:609)
      4. com.datastax.driver.core.TypeCodec$BlobCodec.<clinit>(TypeCodec.java:606)
      5. com.datastax.driver.core.CodecRegistry.<clinit>(CodecRegistry.java:147)
      6. com.datastax.driver.core.Configuration$Builder.build(Configuration.java:259)
      7. com.datastax.driver.core.Cluster$Builder.getConfiguration(Cluster.java:1135)
      8. com.datastax.driver.core.Cluster.<init>(Cluster.java:111)
      9. com.datastax.driver.core.Cluster.buildFrom(Cluster.java:178)
      10. com.datastax.driver.core.Cluster$Builder.build(Cluster.java:1152)
      10 frames
    3. spark-cassandra-connector
      RDDFunctions.saveToCassandra
      1. com.datastax.spark.connector.cql.DefaultConnectionFactory$.createCluster(CassandraConnectionFactory.scala:85)
      2. com.datastax.spark.connector.cql.CassandraConnector$.com$datastax$spark$connector$cql$CassandraConnector$$createSession(CassandraConnector.scala:153)
      3. com.datastax.spark.connector.cql.CassandraConnector$$anonfun$2.apply(CassandraConnector.scala:148)
      4. com.datastax.spark.connector.cql.CassandraConnector$$anonfun$2.apply(CassandraConnector.scala:148)
      5. com.datastax.spark.connector.cql.RefCountedCache.createNewValueAndKeys(RefCountedCache.scala:31)
      6. com.datastax.spark.connector.cql.RefCountedCache.acquire(RefCountedCache.scala:56)
      7. com.datastax.spark.connector.cql.CassandraConnector.openSession(CassandraConnector.scala:81)
      8. com.datastax.spark.connector.cql.CassandraConnector.withSessionDo(CassandraConnector.scala:109)
      9. com.datastax.spark.connector.cql.CassandraConnector.withClusterDo(CassandraConnector.scala:120)
      10. com.datastax.spark.connector.cql.Schema$.fromCassandra(Schema.scala:249)
      11. com.datastax.spark.connector.writer.TableWriter$.apply(TableWriter.scala:263)
      12. com.datastax.spark.connector.RDDFunctions.saveToCassandra(RDDFunctions.scala:36)
      12 frames
    4. Unknown
      TestCassandra.main
      1. TestCassandra$.main(TestCassandra.scala:44)
      2. TestCassandra.main(TestCassandra.scala)
      2 frames
    5. 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
    6. Spark
      SparkSubmit.main
      1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:672)
      2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:180)
      3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205)
      4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)
      5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
      5 frames
    7. org.apache.oozie
      SparkMain.main
      1. org.apache.oozie.action.hadoop.SparkMain.runSpark(SparkMain.java:185)
      2. org.apache.oozie.action.hadoop.SparkMain.run(SparkMain.java:176)
      3. org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:49)
      4. org.apache.oozie.action.hadoop.SparkMain.main(SparkMain.java:46)
      4 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. org.apache.oozie
      LauncherMapper.map
      1. org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:236)
      1 frame
    10. Hadoop
      LocalContainerLauncher$EventHandler$1.run
      1. org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
      2. org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)
      3. org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
      4. org.apache.hadoop.mapred.LocalContainerLauncher$EventHandler.runSubtask(LocalContainerLauncher.java:378)
      5. org.apache.hadoop.mapred.LocalContainerLauncher$EventHandler.runTask(LocalContainerLauncher.java:296)
      6. org.apache.hadoop.mapred.LocalContainerLauncher$EventHandler.access$200(LocalContainerLauncher.java:181)
      7. org.apache.hadoop.mapred.LocalContainerLauncher$EventHandler$1.run(LocalContainerLauncher.java:224)
      7 frames
    11. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames