[ 
https://issues.apache.org/jira/browse/HBASE-15039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15071427#comment-15071427
 ] 

Ted Yu commented on HBASE-15039:
--------------------------------

{code}
233       public String getKeysParentZNode() {
234         return keysParentZNode;
{code}
The above method seems to be called by test only. You can annotate with 
@VisibleForTesting
The method can be package private.

> HMaster and RegionServers should try to refresh token keys from zk when face 
> InvalidToken.
> ------------------------------------------------------------------------------------------
>
>                 Key: HBASE-15039
>                 URL: https://issues.apache.org/jira/browse/HBASE-15039
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Yong Zhang
>            Assignee: Yong Zhang
>         Attachments: HBASE-15039.001.patch
>
>
> One of HMaster and RegionServers is token key master, and others are key 
> slaves, key master will write keys to zookeeper and key slaves will read. If 
> any disconnetion between key slaves and zookeeper, then these HMaster or 
> RegionServers may lost new token, client which use token authentication will 
> get InvalidToken exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to