[
https://issues.apache.org/jira/browse/HBASE-15039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15071445#comment-15071445
]
Ted Yu commented on HBASE-15039:
--------------------------------
Looks like refreshKeys() can be package private as well.
TestZKSecretWatcherRefreshKeys doesn't have test category annotation (small,
medium or large test). Please add one.
Is it possible to merge the new test into existing TestZKSecretWatcher.java ?
> 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, HBASE-15039.002.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)