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

PGBulkLoadExportMapper has an infinite waitFor without any logging in the event of Interrupted exceptions

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.3
    • Fix Version/s: 1.4.4
    • Component/s: None
    • Labels:
      None
    • Environment:

      All, Postgresql database

      Description

      The PGBulkloadExportMapper has the following code fragment

      try

      { ... process.waitFor(); ... }

      catch (InterruptedException ie)

      { // interrupted; loop around. continue; }

      We need to log an exception to note the fact that the thread was interrupted ( not sure of any condition except for spurious interrupts)
      Also we need to add a finally block to reset the interrupted condition as mentioned in http://bugs.sun.com/view_bug.do?bug_id=6420270

        Attachments

        1. SQOOP-856.patch
          0.9 kB
          Venkat Ranganathan

          Activity

            People

            • Assignee:
              venkatnrangan Venkat Ranganathan
              Reporter:
              venkatnrangan Venkat Ranganathan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: