-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider moving compactor and scan server path cleaners to a utility #5041
Comments
Is this for the case of determining how many server processes died? |
Stopped or died. It would make it easier to detect down servers for the monitor or other utilities. |
@keith-turner and I discussed this - the idea behind this issue is to use ZooKeeper as a mechanism to understand the intended state of the system. If we know the intended state of the system via paths in ZooKeeper, then we can identify which servers are down by looking for paths that don't have an associated lock. For users using |
The Manager and CompactionCoordinator classes start cleanup threads (here and here) that remove paths in ZooKeeper that are no longer being used. The
accumulo-cluster
script uses theZooZap
utility to clean ZooKeeper paths when stopping the cluster (here for example).If we removed the ZK cleaner threads in the Manager and CompactionCoordinator, then it would be relatively easy to determine how many and which compactors and scan servers were started, but not running.
The text was updated successfully, but these errors were encountered: