All Forums Extensibility
ranjan.kumar1 3 posts Joined 08/11
22 Aug 2011
Failure to insert in table

I am trying to use JDBC connection to teradata from a map-reduce program (Hadoop). I am getting the following error stack trace.

11/08/22 10:57:33 INFO mapred.JobClient: Task Id : attempt_201107010928_0154_m_000001_2, Status : FAILED
at com.teradata.jdbc.jdbc_3.ifjdbc_4.LocalStatementParame ters.buildBatchStatement( :112)
at com.teradata.jdbc.jdbc_3.ifjdbc_4.TeraLocalPreparedSta tement.executeBatch( 298)
at org.apache.hadoop.mapreduce.lib.db.DBOutputFormat$DBRe cordWriter.close(
at org.apache.hadoop.mapred.lib.db.DBOutputFormat$DBRecor dWriter.close(
at org.apache.hadoop.mapred.MapTask$DirectMapOutputCollec tor.close(
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask. java:395)
at org.apache.hadoop.mapred.Child$
at Method)
at org.apache.hadoop.mapred.Child.main(

Any idea what could be wrong?

tomnolan 594 posts Joined 01/08
23 Aug 2011

It looks like you may have encountered a known problem with old versions of the Teradata JDBC Driver -- DR 143844 -- which is fixed in newer versions of the Teradata JDBC Driver.

We recommend that you upgrade to the newest version of the Teradata JDBC Driver available here on Developer Exchange.

You must sign in to leave a comment.