[ 
https://issues.apache.org/jira/browse/SQOOP-856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587566#comment-13587566
 ] 

Venkat Ranganathan commented on SQOOP-856:
------------------------------------------

Attaching a patch for this issue
                
> PGBulkLoadExportMapper has an infinite waitFor without any logging in the 
> event of Interrupted exceptions
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SQOOP-856
>                 URL: https://issues.apache.org/jira/browse/SQOOP-856
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.4.3
>         Environment: All, Postgresql database
>            Reporter: Venkat Ranganathan
>            Assignee: Venkat Ranganathan
>            Priority: Minor
>         Attachments: SQOOP-856.patch
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to