Andrew Wong has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/16958 )

Change subject: scripts: add extra flags to start_kudu.sh
......................................................................

scripts: add extra flags to start_kudu.sh

This adds the following configurations to start_kudu.sh:
--clusterdir: allows users to specify the base directory for the
cluster, rather than always defaulting to using the build directory.
--tserver-flags: extra gflags to add to the tablet servers.
--master-flags: extra gflags to add to the master servers.

I found these useful in creating some data in a cluster with specific
gflags with one executable, and "upgrading" the cluster to use a
different executable while using that same data.

Here's an example:

/data/8/awong/Repositories/kudu/src/kudu/scripts/start_kudu.sh \
    -b /data/8/awong/kudu-1.4.x/build/release \
    -c /data/8/awong/kudu-1.4.x/build/release/kudu-2233-cluster \
    -T "--flush_threshold_secs=1 --flush_threshold_mb=1 
--raft_enable_pre_election=false \
        --consensus_inject_latency_ms_in_notifications=100 \
        --leader_failure_max_missed_heartbeat_periods=0.1 
--log_segment_size_mb=1 \
        --raft_heartbeat_interval_ms=50 --unlock_experimental_flags"

Change-Id: Ic8808570259b084970c228fcac5cb4ea7e0b8d1e
Reviewed-on: http://gerrit.cloudera.org:8080/16958
Tested-by: Andrew Wong <[email protected]>
Reviewed-by: Alexey Serbin <[email protected]>
---
M src/kudu/scripts/start_kudu.sh
1 file changed, 33 insertions(+), 11 deletions(-)

Approvals:
  Andrew Wong: Verified
  Alexey Serbin: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/16958
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic8808570259b084970c228fcac5cb4ea7e0b8d1e
Gerrit-Change-Number: 16958
Gerrit-PatchSet: 3
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to