Files
impala/bin/copy_testdata.sh
Nong Li 2880f54d35 Perf Work:
- Added perf counter utility
  - Added google perf tools
  - Added html data set
  - Added escape char test
  - Initial perf tuning
2011-12-30 00:26:27 -08:00

17 lines
555 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright (c) 2011 Cloudera, Inc. All rights reserved.
bin=`dirname "$0"`
bin=`cd "$bin"; pwd`
. "$bin"/impala-config.sh
set -e
echo "Copying data files from the filer. If the file already exists locally, the files will not be copied. It's not check summing the files or anything like that, if you need to force a copy, delete the local directory: impala/testdata/data/hive_benchmark"
DATASRC="nong@haus01.sf.cloudera.com:impala-data"
DATADST=$IMPALA_HOME/testdata/hive_benchmark
mkdir -p $DATADST
scp -r $DATASRC/* $DATADST/