You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Masahiro Tanaka (JIRA)" <ji...@apache.org> on 2016/06/17 00:27:05 UTC

[jira] [Commented] (AMBARI-16731) Should close file object in security.py

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

Masahiro Tanaka commented on AMBARI-16731:
------------------------------------------

Hi [~aonishuk], [~u39kun], [~swagle], [~mahadev], could you review this ?

> Should close file object in security.py
> ---------------------------------------
>
>                 Key: AMBARI-16731
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16731
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: trunk
>            Reporter: Masahiro Tanaka
>            Assignee: Masahiro Tanaka
>            Priority: Minor
>              Labels: patch-available
>         Attachments: AMBARI-16371.patch, AMBARI-16731.1.patch
>
>
> {{reqSignCrt}} method opens CSR file with {{open}} function but that doesn't close it.
> And, {{loadSrvrCrt}} method opens a file but this is unclosed too.
> They waste resources and may cause a problem.



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