Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via sqoop-user by John Huang, 2 years ago
SQLException in nextKeyValue
via Stack Overflow by matmach
, 1 year ago
SQLException in nextKeyValue
via Stack Overflow by user8663868
, 2 months ago
SQLException in nextKeyValue
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:145) 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:1698) at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)Caused by: java.sql.SQLException: The statement (1) has no open cursor. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2901) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:773) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1304) at com.mysql.jdbc.MysqlIO.fetchRowsViaCursor(MysqlIO.java:933) at com.mysql.jdbc.CursorRowProvider.fetchMoreRows(CursorRowProvider.java:357) at com.mysql.jdbc.CursorRowProvider.hasNext(CursorRowProvider.java:291) at com.mysql.jdbc.ResultSet.next(ResultSet.java:2834) at org.apache.sqoop.mapreduce.db.DBRecordReader.nextKeyValue(DBRecordReader.java:237) ... 12 more