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

liyang resolved KYLIN-1634.
---------------------------
       Resolution: Fixed
    Fix Version/s: v1.5.2

> Unclosed OutputStream in SSHClient#scpFileToLocal()
> ---------------------------------------------------
>
>                 Key: KYLIN-1634
>                 URL: https://issues.apache.org/jira/browse/KYLIN-1634
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>             Fix For: v1.5.2
>
>
> {code}
>             OutputStream out = channel.getOutputStream();
> ...
>                 out.write(buf, 0, 1);
>                 out.flush();
>             }
>             session.disconnect();
>         } catch (Exception e) {
>             throw e;
> {code}
> out is not closed upon return from the method.



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

Reply via email to