[ 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 {code} serverRunner.run(); {code} 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