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] [Updated] (HBASE-7915) Secure ThriftServer needs to login before calling HBaseHandler
Date Sat, 23 Feb 2013 01:21:11 GMT

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

Arpit Gupta updated HBASE-7915:
-------------------------------

    Attachment: HBASE-7915.branch-0.94.patch

Here is a patch for branch-0.94 where the login has been moved from ThriftServerRunner to
ThriftServer before an instance of the server is created.

If this approach looks good i can create a similar patch for trunk
                
> 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
>         Attachments: HBASE-7915.branch-0.94.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

Mime
View raw message