Ubuntu 16.04, 18.04, 20.04
Usages:
source bin/impala-config.sh . bin/impala-config.sh |
Examples
# Compile Impala in RELEASE mode without building any tests or loading test data. # Remove the -ninja option if you use make instead of ninja. ./buildall.sh -noclean -notests -release -ninja |
Examples
# Restarts only the impalad processes. Catalogd keeps alive so doesn't need to reload metadata. bin/start-impala-cluster.py -r # Launch the Impala cluster with only one impalad. bin/start-impala-cluster.py -s 1 # Stop the Impala cluster bin/start-impala-cluster.py --kill # Launch the Impala cluster using release build type. Default is latest. bin/start-impala-cluster.py --build_type release # Launch the Impala cluster with customized flags. bin/start-impala-cluster.py --impalad_args="--use_local_catalog=true" --catalogd_args="--catalog_topic_mode=minimal" |
# Launch services that only needed in simple e2e tests, e.g. HDFS, HMS, Impala testdata/bin/run-mini-dfs.sh && testdata/bin/run-hive-server.sh -only_metastore && bin/start-impala-cluster.py |
Examples
# Run test_scanners.py only for ORC format impala-py.test --table_formats=orc/def/block tests/query_test/test_scanners.py # Only run tests which match the given substring "InListFilter" impala-py.test tests/query_test/test_runtime_filters.py -k InListFilter |
Examples
# Load data of a specific workload (functional-query) with a specifit stategy (core) bin/load-data.py -e core -w functional-query # Load data only in the specific formats. bin/load-data.py -e core -w functional-query --table_formats=text/none,parquet/none,orc/def/block # Force reload (-f) data of specific tables in the specific formats bin/load-data.py -e core -w tpch -f --table_formats=parquet/none --table_names=lineitem # Load TPCDS text,parquet and orc tables in scale factor 30. bin/load-data.py -e core -w tpcds --scale_factor=30 --table_formats=text/none,parquet/none,orc/def/block |