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] [Commented] (SQOOP-2933) Sqoop2: Ensure that the buffered writer is always closed in the RepositoryDumpTool
Date Thu, 26 May 2016 17:28:12 GMT

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

Abraham Fine commented on SQOOP-2933:
-------------------------------------

no tests should be necessary for this patch

> 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