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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.3
    • 1.4.4
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: