apache / apache/accumulo

Consider moving compactor and scan server path cleaners to a utility

Open
#5,041 4 comments 0 reactions 1 assignee Claimed by @ArbaazKhan1 View on GitHub
Dominant language
Java
Stars
1.2k
Forks
487
Avg merge
4d 5h
Merged PRs (30d)
13

Description

The Manager and CompactionCoordinator classes start cleanup threads ([here](https://github.com/apache/accumulo/blob/main/server/manager/src/main/java/org/apache/accumulo/manager/Manager.java#L1173) and [here](https://github.com/apache/accumulo/blob/main/server/manager/src/main/java/org/apache/accumulo/manager/compaction/coordinator/CompactionCoordinator.java#L266)) that remove paths in ZooKeeper that are no longer being used. The `accumulo-cluster` script uses the `ZooZap` utility to clean ZooKeeper paths when stopping the cluster ([here](https://github.com/apache/accumulo/blob/main/assemble/bin/accumulo-cluster#L491) 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.