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

Hadoop QA commented on LENS-953:
--------------------------------

Applied patch: 
[LENS-953-v1.patch|https://issues.apache.org/jira/secure/attachment/12793270/LENS-953-v1.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/327/

> Unclosed InputStream in DatabaseUtil#initializeDatabaseStorage()
> ----------------------------------------------------------------
>
>                 Key: LENS-953
>                 URL: https://issues.apache.org/jira/browse/LENS-953
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: client
>            Reporter: Ted Yu
>            Assignee: Ajay Yadava
>            Priority: Minor
>         Attachments: LENS-953-v1.patch, LENS-953.patch
>
>
> Here is related code:
> {code}
>     InputStream file = 
> DatabaseUtil.class.getClassLoader().getResourceAsStream("db-storage-schema.sql");
>     BufferedReader reader = new BufferedReader(new InputStreamReader(file, 
> "UTF-8"));
> {code}
> Neither file nor reader is closed upon exit from the method.



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

Reply via email to