[
https://issues.apache.org/jira/browse/IMPALA-14546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Quanlong Huang resolved IMPALA-14546.
-------------------------------------
Fix Version/s: Impala 5.0.0
Resolution: Fixed
> TestPostgresJdbcTables.test_postgres_jdbc_tables fails on Ozone due to
> missing prefix
> -------------------------------------------------------------------------------------
>
> Key: IMPALA-14546
> URL: https://issues.apache.org/jira/browse/IMPALA-14546
> Project: IMPALA
> Issue Type: Bug
> Components: Test
> Affects Versions: Impala 5.0.0
> Reporter: Joe McDonnell
> Assignee: Quanlong Huang
> Priority: Blocker
> Labels: broken-build
> Fix For: Impala 5.0.0
>
>
> custom_cluster/test_ext_data_sources.py's
> TestPostgresJdbcTables.test_postgres_jdbc_tables is consistently failing as
> it is unable to get the postgres JDBC driver:
> {noformat}
> E InternalException: Data source DataSource{name=impalajdbcdatasource,
> location=, className=org.apache.impala.extdatasource.jdbc.JdbcDataSource,
> apiVersion=V1} returned an error from prepare(): Failed to retrieve total
> number of records: Failed to copy JDBC driver from
> '/test-warehouse/data-sources/jdbc-drivers/postgresql-jdbc.jar' to local
> filesystem.{noformat}
> For tests to work properly on Ozone, they need to use
> WAREHOUSE_LOCATION_PREFIX or FILESYSTEM_PREFIX when referring to filesystem
> locations. The code that loads the Postgres JDBC driver into Ozone uses the
> prefix, but this test doesn't. The test needs to be updated to use the prefix.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)