You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/07/01 03:04:29 UTC

[jira] [Updated] (HBASE-11444) Remove use of reflection in the User facade

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

Andrew Purtell updated HBASE-11444:
-----------------------------------

    Description: 
The time we spend looking up a user's short name with User#getShortName in hot security code paths is mostly spent in Class#getMethod, ~70%. This is only ~1% of overall CPU time but is the bulk of time spent in AccessController#prePut, for example. 

Since HBase 1.0 is only going to support Hadoop 2, we can remove the use of reflection and replace with direct calls to UserGroupInformation, or remove the User facade and use UGI directly.

  was:
The time we spend looking up a user's short name with User#getShortName in hot security code paths is mostly spent in Class#getMethod, ~70%. This is only ~1% of overall CPU time but is the bulk of time spent in AccessController#prePut. 

Since HBase 1.0 is only going to support Hadoop 2, we can remove the use of reflection and replace with direct calls to UserGroupInformation, or remove the User facade and use UGI directly.


> Remove use of reflection in the User facade
> -------------------------------------------
>
>                 Key: HBASE-11444
>                 URL: https://issues.apache.org/jira/browse/HBASE-11444
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>             Fix For: 0.99.0
>
>
> The time we spend looking up a user's short name with User#getShortName in hot security code paths is mostly spent in Class#getMethod, ~70%. This is only ~1% of overall CPU time but is the bulk of time spent in AccessController#prePut, for example. 
> Since HBase 1.0 is only going to support Hadoop 2, we can remove the use of reflection and replace with direct calls to UserGroupInformation, or remove the User facade and use UGI directly.



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