IMPALA-3595: Hardcoded HDFS path in test_avro_stale_schema causes all other filesystems to fail
This test had a hardcoded HDFS path which caused a failure on all non-HDFS runs. This change simply makes the path filesystem agnostic. Change-Id: I31e5955893f2c0d967ce6f0cab653d1020ee45b3 Reviewed-on: http://gerrit.cloudera.org:8080/3174 Reviewed-by: Alex Behm <[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/6c8dc1bf Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/6c8dc1bf Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/6c8dc1bf Branch: refs/heads/master Commit: 6c8dc1bf7b12509e0ef08e40f60acbabae9ddad9 Parents: 5112e65 Author: Sailesh Mukil <[email protected]> Authored: Mon May 23 11:34:57 2016 -0700 Committer: Tim Armstrong <[email protected]> Committed: Tue May 24 20:41:09 2016 -0700 ---------------------------------------------------------------------- .../functional-query/queries/QueryTest/avro-stale-schema.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/6c8dc1bf/testdata/workloads/functional-query/queries/QueryTest/avro-stale-schema.test ---------------------------------------------------------------------- diff --git a/testdata/workloads/functional-query/queries/QueryTest/avro-stale-schema.test b/testdata/workloads/functional-query/queries/QueryTest/avro-stale-schema.test index e21a980..6375ff6 100644 --- a/testdata/workloads/functional-query/queries/QueryTest/avro-stale-schema.test +++ b/testdata/workloads/functional-query/queries/QueryTest/avro-stale-schema.test @@ -13,7 +13,7 @@ CREATE EXTERNAL TABLE alltypesagg_staleschema ( string_col STRING, timestamp_col STRING ) -LOCATION 'hdfs://localhost:20500//test-warehouse/alltypesaggmultifilesnopart_avro_snap' +LOCATION '/test-warehouse/alltypesaggmultifilesnopart_avro_snap' TBLPROPERTIES ('avro.schema.url'= '/test-warehouse/avro_schemas/functional/alltypesaggmultifilesnopart.json') ==== ---- QUERY
