java.util.NoSuchElementException: key not found: table

GitHub | peterfig | 5 months ago
  1. 0

    GitHub comment 205#245392964

    GitHub | 5 months ago | peterfig
    java.util.NoSuchElementException: key not found: table
  2. 0

    Reading cassandra table using Spark

    Google Groups | 5 months ago | Selvam Raman
    java.util.NoSuchElementException: key not found: c_table
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    find_model_collaborative.py job failed

    GitHub | 10 months ago | joshuarcher
    java.util.NoSuchElementException: key not found: path
  5. 0
    Check if the field you try to read really exists in the database. If it is optional, just use com.mongodb.casbah.commons.MongoDBObject#getAs
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.util.NoSuchElementException

    key not found: table

    at scala.collection.MapLike$class.default()
  2. Scala
    MapLike$class.default
    1. scala.collection.MapLike$class.default(MapLike.scala:228)
    1 frame
  3. org.apache.spark
    CaseInsensitiveMap.default
    1. org.apache.spark.sql.execution.datasources.CaseInsensitiveMap.default(ddl.scala:117)
    1 frame
  4. Scala
    MapLike$class.apply
    1. scala.collection.MapLike$class.apply(MapLike.scala:141)
    1 frame
  5. org.apache.spark
    CaseInsensitiveMap.apply
    1. org.apache.spark.sql.execution.datasources.CaseInsensitiveMap.apply(ddl.scala:117)
    1 frame
  6. spark-cassandra-connector
    DefaultSource.createRelation
    1. org.apache.spark.sql.cassandra.DefaultSource$.TableRefAndOptions(DefaultSource.scala:122)
    2. org.apache.spark.sql.cassandra.DefaultSource.createRelation(DefaultSource.scala:54)
    2 frames
  7. org.apache.spark
    DataSource.resolveRelation
    1. org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:315)
    1 frame
  8. Spark Project SQL
    DataFrameReader.load
    1. org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:149)
    2. org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:122)
    2 frames
  9. Java RT
    NativeMethodAccessorImpl.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    2 frames