Re: Triggering Table Balancer in Accumulo [SEC=UNOFFICIAL]

2021-11-01 Thread Christopher
Hi Bruce, We don't have an API for forcing the balancer to rebalance, but I believe it automatically runs every couple of minutes. So, it should get frequent opportunities to rebalance. It shouldn't be necessary to force a rebalance, if your balancer logic takes into account all the factors you

RE: [External] Re: accumulo 1.10 stop-all.sh script

2021-11-01 Thread Ligade, Shailesh [USA]
Thanks for quick reply. In reality I have a very similar unit file, only thing difference is I have added Type=forking Restart=always. I am also using ExecStart "bin/start-ademon.sh " (as opposed to accmulo master in your unit file) Yes, I updated the stop-server.sh script (which is

accumulo 1.10 stop-all.sh script

2021-11-01 Thread Ligade, Shailesh [USA]
Hello, I noticed that stop-all.sh script first calls accmulo admin stopAll and then if the servers are still up, it does stop individual servers by going thru masters, gc, slaves etc files. Since we are using systemd unit files to start the services, and our unit files has restart=always, we

Re: accumulo 1.10 stop-all.sh script

2021-11-01 Thread Christopher
The start-all.sh / stop-all.sh scripts that come with Accumulo 1.10 are just one possible set of out-of-the-box scripts that you could use. If you have written or acquired systemd unit files to manage your services, you may be better off using those instead, and avoiding the built-in scripts

Re: [External] Re: accumulo 1.10 stop-all.sh script

2021-11-01 Thread Christopher
The "accumulo admin stopAll" command is for a graceful shutdown. There are advantages to shutting down that way. It can reduce the start-up time and avoid unnecessary write-ahead log recovery. But, it shouldn't strictly be necessary. You can shut down Accumulo by just killing it, and it should