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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.7
    • 1.5.0, 3.0.0
    • None
    • 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

        1. SQOOP-3378.2.patch
          29 kB
          Daniel Voros

        Issue Links

          Activity

            People

              dvoros Daniel Voros
              dvoros Daniel Voros
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: