hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7915) Secure ThriftServer needs to login before calling HBaseHandler
Date Sat, 23 Feb 2013 01:07:12 GMT

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

Arpit Gupta commented on HBASE-7915:

I have confirmed that if i add the login code before the instance of ThriftServerRunner is
retrieved it works but that does not seem to be the ideal solution. Currently the login will
happen when 


is called and not when the instance of the server is created.
> Secure ThriftServer needs to login before calling HBaseHandler
> --------------------------------------------------------------
>                 Key: HBASE-7915
>                 URL: https://issues.apache.org/jira/browse/HBASE-7915
>             Project: HBase
>          Issue Type: Bug
>          Components: security, Thrift
>    Affects Versions: 0.96.0, 0.94.5
>            Reporter: Arpit Gupta
> in ThriftServer.java the following call is made
> {code}
> serverRunner = new ThriftServerRunner(conf);
> {code}
> which invokes
> {code}
> public ThriftServerRunner(Configuration conf) throws IOException {
>     this(conf, new ThriftServerRunner.HBaseHandler(conf));
>   }
> {code}
> All of this is happening before the user has logged in and fails. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message