[ https://issues.apache.org/jira/browse/HBASE-7915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586035#comment-13586035 ]
Gary Helmling commented on HBASE-7915: -------------------------------------- +1 on the patch. This should work. The underlying problem is that establish a network connection in a chained series of constructors (ThriftServerRunner -> ThriftServerRunner$HBaseHandler -> HBaseAdmin), which seems like something we should avoid. But HBaseAdmin is the real culprit, so any change there should really be a separate JIRA. > 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 > > > 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