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

Ted Yu commented on HBASE-10593:
--------------------------------

JenkinsHash is used to generate encoded region name:
{code}
      int hashVal = Math.abs(JenkinsHash.getInstance().hash(regionName,
        regionName.length, 0));
      encodedName = String.valueOf(hashVal);
{code}
JenkinsHash cannot be removed - not yet.

> FileInputStream in JenkinsHash#main() is never closed
> -----------------------------------------------------
>
>                 Key: HBASE-10593
>                 URL: https://issues.apache.org/jira/browse/HBASE-10593
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Trivial
>         Attachments: 10593-v1.txt
>
>
> {code}
>     FileInputStream in = new FileInputStream(args[0]);
> {code}
> The above FileInputStream is not closed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to