[
https://issues.apache.org/jira/browse/HBASE-7915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586174#comment-13586174
]
Ted Yu commented on HBASE-7915:
-------------------------------
I ran thrift tests in trunk with patch and they passed:
Running org.apache.hadoop.hbase.thrift.TestThriftServer
2013-02-25 11:17:20.261 java[67974:1203] Unable to load realm info from
SCDynamicStore
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 71.485 sec
Running org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine
2013-02-25 11:18:32.358 java[67986:1203] Unable to load realm info from
SCDynamicStore
Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.344 sec
Running org.apache.hadoop.hbase.thrift2.TestThriftHBaseServiceHandler
2013-02-25 11:19:30.291 java[68001:1203] Unable to load realm info from
SCDynamicStore
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.555 sec
Integrated to 0.94 and trunk.
Thanks for the patch, Arpit.
Thanks for the review, Gary.
> 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
> Assignee: Arpit Gupta
> Fix For: 0.96.0, 0.94.6
>
> Attachments: HBASE-7915.branch-0.94.patch, HBASE-7915.patch,
> HBASE-7915.patch
>
>
> 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