Files
impala/testdata/bin/copy-data-sources.sh
Matthew Jacobs ebc6c5894e External Data Source: Frontend and catalog changes
Initial frontend and catalog changes for external data sources.

Change-Id: Ia0e61ef97cfd7a4e138ef555c17f2e45bbf08c18
Reviewed-on: http://gerrit.ent.cloudera.com:8080/2224
Reviewed-by: Matthew Jacobs <mj@cloudera.com>
Tested-by: jenkins
(cherry picked from commit dfa14c828957f751db9c89bae0bdc040ce6f648c)
Reviewed-on: http://gerrit.ent.cloudera.com:8080/2485
2014-05-08 14:56:19 -07:00

14 lines
379 B
Bash
Executable File

#!/bin/bash
# Copyright (c) 2014 Cloudera, Inc. All rights reserved.
#
# This script copies the test data source library into hdfs.
. ${IMPALA_HOME}/bin/impala-config.sh
set -e
hadoop fs -mkdir -p /test-warehouse/data-sources/
hadoop fs -put -f \
${IMPALA_HOME}/ext-data-source/test/target/impala-data-source-test-*.jar \
/test-warehouse/data-sources/test-data-source.jar