kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KYLIN-2208) Unclosed FileReader in HiveCmdBuilder#build()
Date Thu, 17 Nov 2016 22:59:58 GMT
Ted Yu created KYLIN-2208:
-----------------------------

             Summary: Unclosed FileReader in HiveCmdBuilder#build()
                 Key: KYLIN-2208
                 URL: https://issues.apache.org/jira/browse/KYLIN-2208
             Project: Kylin
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
                if (logger.isDebugEnabled()) {
                    logger.debug("The SQL to execute in beeline: \n" + IOUtils.toString(new
FileReader(tmpHql)));
{code}
FileReader should be closed upon return from the method.



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

Mime
View raw message