blob: d9e556ea868816a16e1636e94ec3b5e9557d4a01 [file] [log] [blame]
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
= Quickstart using Bash scripts
Create, start, and stop Kudu cluster using shell scripts
== Start Kudu cluster
Create and start Kudu cluster with one master and three tablet servers
[source,bash]
----
cd build/latest
../../src/kudu/scripts/start_kudu.sh
----
== Check Kudu master server web interface
Open in browser: http://localhost:8764/
== Generate and load some data into Kudu
[source,bash]
----
./bin/kudu perf loadgen 127.0.0.1:8765 --keep_auto_table=true --num_rows_per_thread=100000 --run_scan=true
----
== Query Kudu servers
[source,bash]
----
./bin/kudu master get_flags 127.0.0.1:8765
./bin/kudu tserver get_flags 127.0.0.1:9870
----
== Stop Kudu cluster
[source,bash]
----
../../src/kudu/scripts/stop_kudu.sh
----