DomGarguilo commented on PR #5966:
URL: https://github.com/apache/accumulo/pull/5966#issuecomment-3572491996
In aa5b11a I made it so we can set per-server-component-type properties in
`accumulo-env.sh`. I left a commented example in the file but there may be a
better example to use that the one I included.
I tested with the following in `accumulo-env.sh`:
```
case "$cmd" in
monitor) ACCUMULO_MAIN_ARGS=(-o "rpc.bind.port=9995") ;;
tserver) ACCUMULO_MAIN_ARGS=(-o "rpc.bind.port=20000-20049") ;;
compactor) ACCUMULO_MAIN_ARGS=(-o "rpc.bind.port=20050-20099") ;;
sserver) ACCUMULO_MAIN_ARGS=(-o "rpc.bind.port=20100-20149") ;;
esac
```
and it all seemed to work as expected:
```
dgarguilo@thor: ~/github/fluo-uno main!
$ accumulo-service tserver list
[14:20:48]
Currently running tserver processes (fields: process pid port):
tserver_default_1 55482 20003
tserver_default_2 55485 20000
tserver_default_3 55488 20001
tserver_default_4 55491 20002
dgarguilo@thor: ~/github/fluo-uno main!
$ accumulo-service compactor list
[14:20:53]
Currently running compactor processes (fields: process pid port):
compactor_default_1 55550 20051
compactor_default_2 55556 20050
compactor_default_3 55559 20052
dgarguilo@thor: ~/github/fluo-uno main!
$ accumulo-service sserver list
[14:21:10]
Currently running sserver processes (fields: process pid port):
sserver_default_1 55534 20101
sserver_default_2 55539 20100
dgarguilo@thor: ~/github/fluo-uno main!
$ accumulo-service monitor list
[14:21:29]
Currently running monitor processes (fields: process pid port):
monitor_default_1 55508 9995
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]