java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Avro Export error: "Cannot cast Integer to BigDecimal"
    via by Brian Henriksen,
  • Avro Export error: "Cannot cast Integer to BigDecimal"
    via by Brian Henriksen,
  • Re: Sqoop exporting error
    via by Jarek Jarcec Cecho,
  • Re: Sqoop exporting error
    via by Matthieu Labour,
  • Re: Sqoop exporting error
    via by Matthieu Labour,
  • Re: Sqoop exporting error
    via by Jarek Jarcec Cecho,
  • Re: Sqoop exporting error
    via by Jarek Jarcec Cecho,
    • 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(AsyncSqlRecordWriter.java:220) at org.apache.sqoop.manager.oracle.OraOopOutputFormatBase$OraOopDBRecordWriterBase.write(OraOopOutputFormatBase.java:564) at org.apache.sqoop.manager.oracle.OraOopOutputFormatInsert$OraOopDBRecordWriterInsert.write(OraOopOutputFormatInsert.java:107) at org.apache.sqoop.manager.oracle.OraOopOutputFormatBase$OraOopDBRecordWriterBase.write(OraOopOutputFormatBase.java:200) at org.apache.hadoop.mapred.MapTask$NewDirectOutputCollector.write(MapTask.java:558) at org.apache.hadoop.mapreduce.task.TaskInputOutputContextImpl.write(TaskInputOutputContextImpl.java:85) at org.apache.hadoop.mapreduce.lib.map.WrappedMapper$Context.write(WrappedMapper.java:106) at org.apache.sqoop.mapreduce.AvroExportMapper.map(AvroExportMapper.java:36)
    No Bugmate found.