3.2.5 Sqoop导入数据异常处理
1)问题描述:执行Sqoop导入数据脚本时,发生如下异常
java.sql.SQLException: Streaming result set
com.mysql.jdbc.RowDataDynamic@65d6b83b is still active. No
statements may be issued when any streaming result sets are open
and in use on a given connection. Ensure that you have called
.close() on any active streaming result sets before attempting more
queries.
at
com.mysql.jdbc.SQLError.createSQLException(SQLError.
at
com.mysql.jdbc.MysqlIO.checkForOutstandingStreamingData(MysqlIO.
at
com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.
at
com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.
at
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.
at
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.
at
com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.
<