[ 
https://issues.apache.org/jira/browse/SQOOP-2933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Abraham Fine updated SQOOP-2933:
--------------------------------
    Description: We may not properly close the bufferedwriter if an exception 
is thrown before close, we should use a try-with-resources to fix that  (was: 
We may not properly close the bufferedwriter if there is a crash, we should use 
a try-with-resources to fix that)

> Sqoop2: Ensure that the buffered writer is always closed in the 
> RepositoryDumpTool
> ----------------------------------------------------------------------------------
>
>                 Key: SQOOP-2933
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2933
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.6
>            Reporter: Abraham Fine
>            Assignee: Abraham Fine
>         Attachments: SQOOP-2933.patch
>
>
> We may not properly close the bufferedwriter if an exception is thrown before 
> close, we should use a try-with-resources to fix that



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to