Sqoop:从Oracle表导入数据时,sqoop导入对列数没有任何限制吗?

时间:2019-02-20 15:10:29

标签: sqoop

对于具有700多个列的表,Sqoop导入作业失败,并出现以下错误,但对于没有列数很少的其他表,相同作业运行良好。 sqoop导入作业对具有更多(> 700)列的oracle表是否有任何限制?

错误:

错误:java.lang.NullPointerException         在oracle.jdbc.driver.T4CVarcharAccessor.unmarshalOneRow(T4CVarcharAccessor.java:312)         在oracle.jdbc.driver.T4CTTIrxd.unmarshal(T4CTTIrxd.java:945)         在oracle.jdbc.driver.T4CTTIrxd.unmarshal(T4CTTIrxd.java:865)         在oracle.jdbc.driver.T4C8Oall.readRXD(T4C8Oall.java:790)         在oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:403)         在oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:227)         在oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)         在oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)         在oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1046)         在oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1207)         在oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1296)         在oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3613)         在oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3657)         在oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1495)         在org.apache.sqoop.mapreduce.db.DBRecordReader.executeQuery(DBRecordReader.java:111)         在org.apache.sqoop.mapreduce.db.DBRecordReader.nextKeyValue(DBRecordReader.java:235)         在org.apache.hadoop.mapred.MapTask $ NewTrackingRecordReader.nextKeyValue(MapTask.java:562)         在org.apache.hadoop.mapreduce.task.MapContextImpl.nextKeyValue(MapContextImpl.java:80)         在org.apache.hadoop.mapreduce.lib.map.WrappedMapper $ Context.nextKeyValue(WrappedMapper.java:91)         在org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)         在org.apache.sqoop.mapreduce.AutoProgressMapper.run(AutoProgressMapper.java:64)         在org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:793)         在org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)         在org.apache.hadoop.mapred.YarnChild $ 2.run(YarnChild.java:164)         在java.security.AccessController.doPrivileged(本机方法)         在javax.security.auth.Subject.doAs(Subject.java:415)         在org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1920)         在org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)

0 个答案:

没有答案