sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abraham Fine (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SQOOP-2933) Sqoop2: Ensure that the buffered writer is always closed in the RepositoryDumpTool
Date Wed, 25 May 2016 22:43:12 GMT

     [ 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)

Mime
View raw message