mirror of
https://github.com/apache/impala.git
synced 2026-01-02 12:00:33 -05:00
- added support for mvn based builds and also a driver script 'recreate_store.sh' to regenerate the data. - switched test setup to create test tables via a hive cli script rather than programmatically - added script to load data into default.AllTypes table (24-way partitioned)
24 lines
524 B
Bash
Executable File
24 lines
524 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -x
|
|
set -e
|
|
|
|
CONF_DIR=$1
|
|
SCRIPT=$2
|
|
WH=$3
|
|
MS_URL=$4
|
|
MS_DRIVER=$5
|
|
MS_USERNAME=$6
|
|
MS_PASSWORD=$7
|
|
|
|
HIVE="hive "
|
|
HIVE="$HIVE -hiveconf \"test.hive.warehouse.dir=$WH\""
|
|
HIVE="$HIVE -hiveconf \"test.hive.metastore.jdbc.url=$MS_URL\""
|
|
HIVE="$HIVE -hiveconf \"test.hive.metastore.jdbc.driver=$MS_DRIVER\""
|
|
HIVE="$HIVE -hiveconf \"test.hive.metastore.jdbc.username=$MS_USERNAME\""
|
|
HIVE="$HIVE -hiveconf \"test.hive.metastore.jdbc.password=$MS_PASSWORD\""
|
|
|
|
HIVE_CONF_DIR=$CONF_DIR
|
|
export HIVE_CONF_DIR
|
|
$HIVE -f $SCRIPT -v
|