Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-3378

Error during direct Netezza import/export can interrupt process in uncontrolled ways

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.7
    • Fix Version/s: 1.5.0, 3.0.0
    • Component/s: None
    • Labels:
      None

      Description

      SQLException during JDBC operation in direct Netezza import/export signals parent thread to fail fast by interrupting it (see here).

      We're trying to process the interrupt in the parent (main) thread, but there's no guarantee that we're not in some blocking internal call that will process the interrupted flag and reset it before we're able to check.

      It is also possible that the parent thread has passed the "checking part" when it gets interrupted. In case of NetezzaExternalTableExportMapper this can interrupt the upload of log files.

      I'd recommend using some other means of communication between the threads than interrupts.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dvoros Daniel Voros
                Reporter:
                dvoros Daniel Voros
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: