java.lang.ClassCastException: org.bson.BasicBSONObject cannot be cast to com.mongodb.DBObject

JIRA | Artem Yankov | 5 years ago
  1. 0

    mongo-hadoop splitting BasicBSONObject cannot be cast to DBObject

    Google Groups | 5 years ago | imdeluth
    java.lang.ClassCastException: org.bson.BasicBSONObject cannot be cast to com.mongodb.DBObject at 122)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    [mongodb-user] mongo-hadoop splitting BasicBSONObject cannot be cast to DBObject - Grokbase

    grokbase.com | 8 months ago
    java.lang.ClassCastException: org.bson.BasicBSONObject cannot be cast to com.mongodb.DBObject at com.mongodb.hadoop.input.MongoInputSplit.readFields(MongoInputSplit.java: 122) at org.apache.hadoop.io.serializer.WritableSerialization $WritableDeserializer.deserialize(WritableSerialization.java:67) at org.apache.hadoop.io.serializer.WritableSerialization $WritableDeserializer.deserialize(WritableSerialization.java:40) at org.apache.hadoop.mapred.MapTask.getSplitDetails(MapTask.java:349)
  4. 0

    BigDecimal data type is not support [moved]

    GitHub | 4 years ago | jyemin
    com.google.code.morphia.mapping.MappingException: Could not map entity from DBObject

    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.ClassCastException

      org.bson.BasicBSONObject cannot be cast to com.mongodb.DBObject

      at com.mongodb.hadoop.input.MongoInputSplit.readFields()
    2. com.mongodb.hadoop
      MongoInputSplit.readFields
      1. com.mongodb.hadoop.input.MongoInputSplit.readFields(MongoInputSplit.java:122)
      1 frame
    3. Hadoop
      WritableSerialization$WritableDeserializer.deserialize
      1. org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:67)
      2. org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:40)
      2 frames
    4. Hadoop
      Child$4.run
      1. org.apache.hadoop.mapred.MapTask.getSplitDetails(MapTask.java:395)
      2. org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:727)
      3. org.apache.hadoop.mapred.MapTask.run(MapTask.java:369)
      4. org.apache.hadoop.mapred.Child$4.run(Child.java:259)
      4 frames
    5. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:396)
      2 frames
    6. Hadoop
      UserGroupInformation.doAs
      1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1059)
      1 frame
    7. Hadoop
      Child.main
      1. org.apache.hadoop.mapred.Child.main(Child.java:253)
      1 frame