Reply
Highlighted
Explorer
Posts: 16
Registered: ‎02-08-2019

Sqoop - SQLException in nextKeyValue with ava.sql.SQLException: ORA-12801

[ Edited ]

I have a script which run every day  with  a sqoop-import command and I took the following error for the first time. I cannot understand why?

When I ran again the command everything was ok.

Can anyone explain me the following exception what does it mean  ??

 

I looked for similar events  and everything was talking about a reserved word. But this is very unsual because I run the script too many days now.

 

Thanks in advance.

  

Error: java.io.IOException: SQLException in nextKeyValue
at org.apache.sqoop.mapreduce.db.DBRecordReader.nextKeyValue(DBRecordReader.java:277)
at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.nextKeyValue(MapTask.java:556)
at org.apache.hadoop.mapreduce.task.MapContextImpl.nextKeyValue(MapContextImpl.java:80)
at org.apache.hadoop.mapreduce.lib.map.WrappedMapper$Context.nextKeyValue(WrappedMapper.java:91)
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
at org.apache.sqoop.mapreduce.AutoProgressMapper.run(AutoProgressMapper.java:64)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:787)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1714)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
Caused by: java.sql.SQLException: ORA-12801: error signaled in parallel query server P002
ORA-08103: object no longer exists

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:951)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:513)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:227)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
at oracle.jdbc.driver.T4CPreparedStatement.fetch(T4CPreparedStatement.java:1121)
at oracle.jdbc.driver.OracleResultSetImpl.close_or_fetch_from_next(OracleResultSetImpl.java:384)
at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:288)
at org.apache.sqoop.mapreduce.db.DBRecordReader.nextKeyValue(DBRecordReader.java:237)

Cloudera Employee
Posts: 70
Registered: ‎04-03-2017

Re: Sqoop - SQLException in nextKeyValue with ava.sql.SQLException: ORA-12801

Hi,

 

Please note that this error generally happens when you are trying to query the object which is no longer avaialable.

 

Link:- http://www.dba-oracle.com/t_ora_08103_object_no_longer_exists.htm

 

I would request you to go above the link which shares more details on this that when this error will happen.

 

Regards

Nitish