Bryan Beaudreault created HBASE-27780:
-----------------------------------------
Summary: FileChangeWatcher improvements
Key: HBASE-27780
URL: https://issues.apache.org/jira/browse/HBASE-27780
Project: HBase
Issue Type: Improvement
Reporter: Bryan Beaudreault
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)