Repository: impala Updated Branches: refs/heads/master 92292e79f -> c8bfcbd6e
IMPALA-7200: Fix missing FILESYSTEM_PREFIX hitting local dataload As part of IMPALA-3307, we copy a time-zone database into HDFS. This command is failing on local filesystem due to a missing FILESYSTEM_PREFIX. This adds FILESYSTEM_PREFIX for this command. Change-Id: I972192f22943baef6043a4c9db54d5d48089ea9d Reviewed-on: http://gerrit.cloudera.org:8080/10803 Reviewed-by: Sailesh Mukil <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/impala/repo Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/c8bfcbd6 Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/c8bfcbd6 Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/c8bfcbd6 Branch: refs/heads/master Commit: c8bfcbd6e826110678df4a699a9e8f05cf57b5d2 Parents: 92292e7 Author: Joe McDonnell <[email protected]> Authored: Fri Jun 22 15:03:28 2018 -0700 Committer: Joe McDonnell <[email protected]> Committed: Sat Jun 23 05:04:11 2018 +0000 ---------------------------------------------------------------------- testdata/bin/create-load-data.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/impala/blob/c8bfcbd6/testdata/bin/create-load-data.sh ---------------------------------------------------------------------- diff --git a/testdata/bin/create-load-data.sh b/testdata/bin/create-load-data.sh index b9611b9..3d06b0f 100755 --- a/testdata/bin/create-load-data.sh +++ b/testdata/bin/create-load-data.sh @@ -485,7 +485,8 @@ function custom-post-load-steps { ${FILESYSTEM_PREFIX}/test-warehouse/lineitem_multiblock_one_row_group_parquet # IMPALA-3307: Upload test time-zone database - hadoop fs -Ddfs.block.size=1048576 -put -f ${IMPALA_HOME}/testdata/tzdb /test-warehouse/ + hadoop fs -Ddfs.block.size=1048576 -put -f ${IMPALA_HOME}/testdata/tzdb \ + ${FILESYSTEM_PREFIX}/test-warehouse/ } function copy-and-load-ext-data-source {
