Apache9 commented on pull request #2689:
URL: https://github.com/apache/hbase/pull/2689#issuecomment-735522712
I think we could make use of this method.
```
/**
* this method is used to pass some instance into subclass
* */
void init(Map<String, Object> params);
```
When creating HFileCleaner, we will set HMaster into the map and the actual
cleaners could get HMaster from the map.
I think we could do the same for LogCleaners, to get ZKWatcher from HMaster,
then there will be no problem if we hit session expired as the HMaster will
abort itself so we do not need to recover.
Thanks.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]