[
https://issues.apache.org/jira/browse/HBASE-6788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532362#comment-13532362
]
Ted Yu commented on HBASE-6788:
-------------------------------
I added the following line to start TokenServer:
{code}
serverThread.run();
// wait for startup
Thread.sleep(1000);
{code}
But this call:
{code}
this.rpcServer.start();
{code}
resulted in:
{code}
java.lang.IllegalThreadStateException
at java.lang.Thread.start(Thread.java:656)
at org.apache.hadoop.hbase.ipc.HBaseServer.startThreads(HBaseServer.java:2004)
at
org.apache.hadoop.hbase.ipc.ProtobufRpcEngine$Server.startThreads(ProtobufRpcEngine.java:293)
at org.apache.hadoop.hbase.ipc.HBaseServer.start(HBaseServer.java:1986)
at
org.apache.hadoop.hbase.security.token.TestTokenAuthentication$TokenServer.initialize(TestTokenAuthentication.java:167)
{code}
Will dig some more.
> Convert AuthenticationProtocol to protocol buffer service
> ---------------------------------------------------------
>
> Key: HBASE-6788
> URL: https://issues.apache.org/jira/browse/HBASE-6788
> Project: HBase
> Issue Type: Sub-task
> Components: Coprocessors
> Reporter: Gary Helmling
> Assignee: Gary Helmling
> Priority: Blocker
> Fix For: 0.96.0
>
> Attachments: HBASE-6788_2.patch, HBASE-6788.patch
>
>
> With coprocessor endpoints now exposed as protobuf defined services, we
> should convert over all of our built-in endpoints to PB services.
> AccessControllerProtocol was converted as part of HBASE-5448, but the
> authentication token provider still needs to be changed.
--
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