mirror of
https://github.com/apache/impala.git
synced 2026-01-07 09:02:19 -05:00
15 lines
479 B
Bash
Executable File
15 lines
479 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) 2012 Cloudera, Inc. All rights reserved.
|
|
|
|
set -u
|
|
|
|
# Kill and clean data for a clean start.
|
|
$IMPALA_HOME/testdata/bin/kill-mini-dfs.sh
|
|
|
|
# Starts up a three-node single-process cluster; the NN listens on port 20500.
|
|
pushd ${HADOOP_HOME}
|
|
CLASSPATH=`hadoop classpath`
|
|
java -Dtest.build.data="$MINI_DFS_BASE_DATA_DIR" -Djava.library.path="$HADOOP_HOME/lib/native" org.apache.hadoop.test.MiniDFSClusterManager -datanodes 3 -nnport=20500 $@ &
|
|
popd
|
|
sleep 10
|