Hello Daniel Becker, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/21376
to look at the new patch set (#2).
Change subject: IMPALA-13047: Support restarting/killing specified impalads in
start-impala-cluster.py
......................................................................
IMPALA-13047: Support restarting/killing specified impalads in
start-impala-cluster.py
This patch adds a new option, --impalad_ids, in start-impala-cluster.py
to specify the impalads to restart/kill. It's a comma seperated list of
the impalad index, starting from 0.
Assuming the current cluster has 3 impalads, to restart the first
impalad:
bin/start-impala-cluster.py -r --impalad_ids=0
To restart the second and third impalad:
bin/start-impala-cluster.py -r --impalad_ids=1,2
To kill the last impalad:
bin/start-impala-cluster.py --kill --impalad_ids=2
To be simple, it's not allowed to change the cluster size (by -s) when
restarting specified impalads.
This patch also adds logs to show which process is killed, e.g.
17:33:33 MainThread: Killed statestored (pid 6618)
17:33:33 MainThread: Killed catalogd (pid 6676)
17:33:33 MainThread: Killed impalad (pid 6726)
17:33:33 MainThread: Killed impalad (pid 6729)
Tests:
- Verified the commands locally
Change-Id: Id4a863853341959eb6870b662d82188e7d570971
---
M bin/start-impala-cluster.py
M tests/common/impala_cluster.py
2 files changed, 90 insertions(+), 21 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/76/21376/2
--
To view, visit http://gerrit.cloudera.org:8080/21376
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id4a863853341959eb6870b662d82188e7d570971
Gerrit-Change-Number: 21376
Gerrit-PatchSet: 2
Gerrit-Owner: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Daniel Becker <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>