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

Yong Zhang commented on HBASE-15291:
------------------------------------

Sorry for later replay, I am in checking code.
FileSystem.newInstance(conf) also not work because some other part still use 
FileSystem.get(conf).
for example in SecureBulkLoadEndpoint.SecureBulkLoadListener.prepareBulkLoad:
{code}
if (srcFs == null) {
  srcFs = FileSystem.get(p.toUri(), conf);
}
{code}

> FileSystem not closed in secure bulkLoad
> ----------------------------------------
>
>                 Key: HBASE-15291
>                 URL: https://issues.apache.org/jira/browse/HBASE-15291
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.0.2, 0.98.16.1
>            Reporter: Yong Zhang
>            Assignee: Yong Zhang
>             Fix For: 2.0.0, 1.3.0, 1.2.1, 0.98.18, 1.4.0
>
>         Attachments: HBASE-15291.001.patch, HBASE-15291.002.patch, 
> HBASE-15291.003.patch, HBASE-15291.004.patch, HBASE-15291.addendum, patch
>
>
> FileSystem not closed in secure bulkLoad after bulkLoad  finish, it will 
> cause memory used more and more if too many bulkLoad .



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

Reply via email to