Skip to content
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

Add configuration to start external compactions and scan servers #296

Open
DomGarguilo opened this issue Oct 2, 2023 · 1 comment
Open

Comments

@DomGarguilo
Copy link
Member

Right now when using uno if I want to start external compactions or scan servers I need to stop accumulo change the cluster.yaml within the install folder and then start accumulo back up. It would be nice to be able to have uno start these services for me.

@ctubbsii
Copy link
Member

ctubbsii commented Oct 5, 2023

My workaround for special cases, when I want to diverge from Uno's default behavior, is to create a new branch in my fork that diverges from the main branch just slightly and makes the changes I want. I have found that to be more useful than adding a ton of options to Uno's config files and modifying its scripts to support those options.

In the case you're describing, I would probably just comment out the line in bin/impl/install/accumulo.sh that does accumulo-cluster create-config and place my own preferred cluster.yaml in conf/accumulo/common/. If one were to patch Uno to support this natively, rather than add more Uno config for the number of scan servers or external compactor services, I'd just make it do [[ -f conf/cluster.yaml ]] || accumulo-cluster create-config. That way, it doesn't try to generate a new config if you already have one copied in from conf/accumulo/common/, and then you just supply your own there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants