Files
impala/testdata/bin/run-all.sh
Lenni Kuff 1e25c98fb4 Test data loading framework improvements
This change includes a number of improvements for the test data loading framework:
* Named sections for schema template definitions
* Removal of uneeded sections from schema template definitions (ex. ANALYZE TABLE)
* More granular data loading via table name filters
* Improved robustness in detecting failed data loads
* Table level constraints for specific file formats
* Re-written compute stats script
2014-01-08 10:46:49 -08:00

20 lines
532 B
Bash
Executable File

#!/bin/bash
# Copyright (c) 2012 Cloudera, Inc. All rights reserved.
# If first argument is set, reformat the cluster, else try to load
# what was already there
HDFS_FORMAT_CLUSTER=""
if [ "x$1" != "x" ]; then
echo "Formatting cluster"
HDFS_FORMAT_CLUSTER="-format"
fi
# Kill and clean data for a clean start.
$IMPALA_HOME/testdata/bin/kill-all.sh
# Start up DFS, then Hbase
$IMPALA_HOME/testdata/bin/run-mini-dfs.sh ${HDFS_FORMAT_CLUSTER}
$IMPALA_HOME/testdata/bin/run-hbase.sh
$IMPALA_HOME/testdata/bin/run-hive-server.sh