hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Pivovarov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7180) BufferedReader is not closed in MetaStoreSchemaInfo ctor
Date Sun, 28 Jun 2015 05:18:04 GMT

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

Alexander Pivovarov commented on HIVE-7180:
-------------------------------------------

The errors are unrelated. Previous build (4418) had the same 10 errors

> BufferedReader is not closed in MetaStoreSchemaInfo ctor
> --------------------------------------------------------
>
>                 Key: HIVE-7180
>                 URL: https://issues.apache.org/jira/browse/HIVE-7180
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.13.1
>            Reporter: Ted Yu
>            Assignee: Alexander Pivovarov
>            Priority: Minor
>         Attachments: HIVE-7180.3.patch, HIVE-7180.4.patch, HIVE-7180.patch, HIVE-7180_001.patch
>
>
> Here is related code:
> {code}
>       BufferedReader bfReader =
>         new BufferedReader(new FileReader(upgradeListFile));
>       String currSchemaVersion;
>       while ((currSchemaVersion = bfReader.readLine()) != null) {
>         upgradeOrderList.add(currSchemaVersion.trim());
> {code}
> BufferedReader / FileReader should be closed upon return from ctor.



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

Mime
View raw message