mirror of
https://github.com/apache/impala.git
synced 2026-01-05 12:01:11 -05:00
18 lines
609 B
Bash
Executable File
18 lines
609 B
Bash
Executable File
# Kill and clean data for a clean start.
|
|
$IMPALA_HOME/testdata/bin/kill-hbase.sh 2>&1
|
|
|
|
# To work around HBase bug (HBASE-4467), unset $HADOOP_HOME before calling hbase
|
|
HADOOP_HOME=
|
|
|
|
# Start HBase and 3 regionserver
|
|
$HBASE_HOME/bin/start-hbase.sh
|
|
|
|
# TODO: Remove once the race between master and RS has been
|
|
# resolved. Note this script requires having
|
|
# org.apache.zookeeper.ZooKeeperMain on the classpath, so make sure
|
|
# that mvn dependency:unpack-dependencies has been run from
|
|
# $IMPALA_HOME/fe.
|
|
python $IMPALA_HOME/testdata/bin/wait-for-hbase-master.py
|
|
|
|
$HBASE_HOME/bin/local-regionservers.sh start 1 2 3
|