You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jerry He (JIRA)" <ji...@apache.org> on 2016/07/11 18:03:11 UTC

[jira] [Commented] (HBASE-15291) FileSystem not closed in secure bulkLoad

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

Jerry He commented on HBASE-15291:
----------------------------------

There is a race condition caused by this fix and it is risky.

For example, the same region server hosting two regions: region1 and region2.
Secure bulkload calls into both region1 and region2.  
The calls are from the same UGI so they will share the same fs.  If one region finishes earlier, it will close the bulk load fs, and the other region will fail.

> 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)