You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2025/11/10 23:03:00 UTC
[jira] [Created] (IMPALA-14546) TestPostgresJdbcTables.test_postgres_jdbc_tables fails on Ozone due to missing prefix
Joe McDonnell created IMPALA-14546:
--------------------------------------
Summary: 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
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)