IMPALA-3249: Failed to mkdirs on core-local-filesystem build. This failure happens on filesystems other than HDFS because as a part of IMPALA-2466, the $FILESYSTEM_PREFIX was not added to the new directories that the patch tries to create in create-load-data.
Change-Id: I8de74db93893c5273ccc9c687f608959628f5004 Reviewed-on: http://gerrit.cloudera.org:8080/2644 Reviewed-by: Sailesh Mukil <[email protected]> Tested-by: Internal Jenkins Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/49a73cd5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/49a73cd5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/49a73cd5 Branch: refs/heads/master Commit: 49a73cd598890ca9642feea07f81217e67753233 Parents: 39a2818 Author: Sailesh Mukil <[email protected]> Authored: Mon Mar 28 11:20:04 2016 -0700 Committer: Internal Jenkins <[email protected]> Committed: Wed Mar 30 00:03:45 2016 +0000 ---------------------------------------------------------------------- testdata/bin/create-load-data.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/49a73cd5/testdata/bin/create-load-data.sh ---------------------------------------------------------------------- diff --git a/testdata/bin/create-load-data.sh b/testdata/bin/create-load-data.sh index eace01e..136100f 100755 --- a/testdata/bin/create-load-data.sh +++ b/testdata/bin/create-load-data.sh @@ -306,16 +306,16 @@ function custom-post-load-steps { ${FILESYSTEM_PREFIX}/test-warehouse/lineitem_multiblock_parquet # IMPALA-2466: Add more tests to the HDFS Parquet scanner (Added after IMPALA-1881) - hadoop fs -mkdir -p /test-warehouse/lineitem_sixblocks_parquet && \ + hadoop fs -mkdir -p ${FILESYSTEM_PREFIX}/test-warehouse/lineitem_sixblocks_parquet && \ hadoop fs -Ddfs.block.size=1048576 -put -f \ ${IMPALA_HOME}/testdata/LineItemMultiBlock/lineitem_sixblocks.parquet \ - /test-warehouse/lineitem_sixblocks_parquet + ${FILESYSTEM_PREFIX}/test-warehouse/lineitem_sixblocks_parquet # IMPALA-2466: Add more tests to the HDFS Parquet scanner (this has only one row group) - hadoop fs -mkdir -p /test-warehouse/lineitem_multiblock_one_row_group_parquet && \ + hadoop fs -mkdir -p ${FILESYSTEM_PREFIX}/test-warehouse/lineitem_multiblock_one_row_group_parquet && \ hadoop fs -Ddfs.block.size=1048576 -put -f \ ${IMPALA_HOME}/testdata/LineItemMultiBlock/lineitem_one_row_group.parquet \ - /test-warehouse/lineitem_multiblock_one_row_group_parquet + ${FILESYSTEM_PREFIX}/test-warehouse/lineitem_multiblock_one_row_group_parquet } function copy-and-load-ext-data-source {
