[
https://issues.apache.org/jira/browse/HBASE-27780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Beaudreault resolved HBASE-27780.
---------------------------------------
Fix Version/s: 2.6.0
3.0.0-alpha-4
Assignee: Bryan Beaudreault
Resolution: Fixed
> FileChangeWatcher improvements
> ------------------------------
>
> Key: HBASE-27780
> URL: https://issues.apache.org/jira/browse/HBASE-27780
> Project: HBase
> Issue Type: Improvement
> Reporter: Bryan Beaudreault
> Assignee: Bryan Beaudreault
> Priority: Major
> Fix For: 2.6.0, 3.0.0-alpha-4
>
>
> HBASE-27347 ported FileChangeWatcher from ZK so that we can reload
> certificates when the keystore/truststore files change. I'd like to make a
> few improvements:
> # Add more context to the thread name, so that we can disambiguate when
> multiple are launched for different cluster connections or paths
> # We currently launch a separate FileChangeWatcher for each of keystorePath
> and truststorePath, but in many cases they may be the same path. The runnable
> which gets called is identical for these, so this just results in extra work
> for no reason. We should check the configured paths and only launch one
> FileChangeWatcher if the two paths are identical.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)