Quanlong Huang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/23787
Change subject: IMPALA-14546: Fix jdbc driver urls in test_postgres_jdbc_tables ...................................................................... IMPALA-14546: Fix jdbc driver urls in test_postgres_jdbc_tables TestPostgresJdbcTables.test_postgres_jdbc_tables uses hardcoded paths for JDBC driver URLs: "/test-warehouse/data-sources/jdbc-drivers/postgresql-jdbc.jar". This doesn't work correctly when running on Ozone where we need the prefix of "ofs://localhost:9862/impala". This patch fixes the issue by constructing the driver URL with FILESYSTEM_PREFIX which is "ofs://localhost:9862/impala" on Ozone. See more in bin/impala-config.sh about how it's set for different filesystems. Tests: - Ran the test on Ozone. Change-Id: Ie0c4368b3262d4dcb9e1c05475506411be2e2ef5 --- M tests/custom_cluster/test_ext_data_sources.py 1 file changed, 9 insertions(+), 6 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/87/23787/1 -- To view, visit http://gerrit.cloudera.org:8080/23787 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ie0c4368b3262d4dcb9e1c05475506411be2e2ef5 Gerrit-Change-Number: 23787 Gerrit-PatchSet: 1 Gerrit-Owner: Quanlong Huang <[email protected]>
