java.io.IOException: java.sql.SQLException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal

sqoop-user | Brian Henriksen | 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. 1

    Avro Export error: "Cannot cast Integer to BigDecimal"

    sqoop-user | 1 year ago | Brian Henriksen
    java.io.IOException: java.sql.SQLException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal
  2. 0

    Avro Export error: "Cannot cast Integer to BigDecimal"

    sqoop-user | 1 year ago | Brian Henriksen
    java.io.IOException: java.sql.SQLException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal
  3. 0

    Avro Export error: "Cannot cast Integer to BigDecimal"

    sqoop-user | 1 year ago | Brian Henriksen
    java.io.IOException: java.sql.SQLException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Avro Export error: "Cannot cast Integer to BigDecimal"

    sqoop-user | 1 year ago | Brian Henriksen
    java.io.IOException: java.sql.SQLException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal

    Root Cause Analysis

    1. java.io.IOException

      java.sql.SQLException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal

      at org.apache.sqoop.mapreduce.AsyncSqlRecordWriter.write()
    2. org.apache.sqoop
      OraOopOutputFormatBase$OraOopDBRecordWriterBase.write
      1. org.apache.sqoop.mapreduce.AsyncSqlRecordWriter.write(AsyncSqlRecordWriter.java:220)
      2. org.apache.sqoop.manager.oracle.OraOopOutputFormatBase$OraOopDBRecordWriterBase.write(OraOopOutputFormatBase.java:564)
      3. org.apache.sqoop.manager.oracle.OraOopOutputFormatInsert$OraOopDBRecordWriterInsert.write(OraOopOutputFormatInsert.java:107)
      4. org.apache.sqoop.manager.oracle.OraOopOutputFormatBase$OraOopDBRecordWriterBase.write(OraOopOutputFormatBase.java:200)
      4 frames
    3. Hadoop
      WrappedMapper$Context.write
      1. org.apache.hadoop.mapred.MapTask$NewDirectOutputCollector.write(MapTask.java:558)
      2. org.apache.hadoop.mapreduce.task.TaskInputOutputContextImpl.write(TaskInputOutputContextImpl.java:85)
      3. org.apache.hadoop.mapreduce.lib.map.WrappedMapper$Context.write(WrappedMapper.java:106)
      3 frames
    4. org.apache.sqoop
      AvroExportMapper.map
      1. org.apache.sqoop.mapreduce.AvroExportMapper.map(AvroExportMapper.java:36)
      1 frame