You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2016/02/05 07:32:39 UTC

[jira] [Updated] (GORA-440) Fix several instances of 'Method may fail to close stream' within gora-accumulo BinaryEncoder

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

Lewis John McGibbney updated GORA-440:
--------------------------------------
    Fix Version/s:     (was: 0.8)
                   0.6.1

> Fix several instances of 'Method may fail to close stream' within gora-accumulo BinaryEncoder
> ---------------------------------------------------------------------------------------------
>
>                 Key: GORA-440
>                 URL: https://issues.apache.org/jira/browse/GORA-440
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: gora-accumulo
>    Affects Versions: 0.6.1
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>             Fix For: 0.7
>
>
> A number of methods within the BinaryEncoder class create an IO stream object, does not assign it to any fields, pass it to other methods that might close it, or return it, and does not appear to close the stream on all paths out of the method.  This may result in a file descriptor leak.  It is generally a good idea to use a finally block to ensure that streams are closed.



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