java.io.IOException: java.sql.SQLException: Error occured while writing to file.

Stack Overflow | Tara Richards | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.sql.SQLException

    Error occured while writing to file.

    at org.netezza.externaltable.NzUnload.cleanupUnload()
  2. org.netezza.externaltable
    NzUnload.unload
    1. org.netezza.externaltable.NzUnload.cleanupUnload(NzUnload.java:238)
    2. org.netezza.externaltable.NzUnload.unload(NzUnload.java:143)
    2 frames
  3. org.netezza.internal
    QueryExecutor.execute
    1. org.netezza.internal.QueryExecutor.getNextResult(QueryExecutor.java:252)
    2. org.netezza.internal.QueryExecutor.execute(QueryExecutor.java:76)
    2 frames
  4. org.netezza.sql
    NzPreparedStatament.execute
    1. org.netezza.sql.NzConnection.execute(NzConnection.java:2904)
    2. org.netezza.sql.NzStatement._execute(NzStatement.java:885)
    3. org.netezza.sql.NzPreparedStatament.execute(NzPreparedStatament.java:187)
    3 frames
  5. org.apache.sqoop
    NetezzaJDBCStatementRunner.run
    1. org.apache.sqoop.mapreduce.db.netezza.NetezzaJDBCStatementRunner.run(NetezzaJDBCStatementRunner.java:75)
    1 frame