[
https://issues.apache.org/jira/browse/HIVE-27955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhihua Deng resolved HIVE-27955.
--------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
> Missing Postgres driver when start services from Docker compose
> ---------------------------------------------------------------
>
> Key: HIVE-27955
> URL: https://issues.apache.org/jira/browse/HIVE-27955
> Project: Hive
> Issue Type: Sub-task
> Reporter: Zhihua Deng
> Assignee: Zhihua Deng
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> {noformat}
> 2023-12-13T15:24:17.521000048Z SLF4J: See
> http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> 2023-12-13T15:24:17.590761756Z SLF4J: Actual binding is of type
> [org.apache.logging.slf4j.Log4jLoggerFactory]
> 2023-12-13T15:24:18.033083131Z Metastore connection URL:
> jdbc:postgresql://postgres:5432/metastore_db
> 2023-12-13T15:24:18.033102839Z Metastore connection Driver :
> org.postgresql.Driver
> 2023-12-13T15:24:18.033105006Z Metastore connection User: hive
> 2023-12-13T15:24:18.037759839Z Initializing the schema to: 4.0.0-beta-2
> 2023-12-13T15:24:18.037804339Z Metastore connection URL:
> jdbc:postgresql://postgres:5432/metastore_db
> 2023-12-13T15:24:18.037826339Z Metastore connection Driver :
> org.postgresql.Driver
> 2023-12-13T15:24:18.037839673Z Metastore connection User: hive
> 2023-12-13T15:24:18.038597089Z Failed to load driver
> 2023-12-13T15:24:18.038604881Z Underlying cause:
> java.lang.ClassNotFoundException : org.postgresql.Driver
> 2023-12-13T15:24:18.038673423Z Use --verbose for detailed stacktrace.
> 2023-12-13T15:24:18.038678756Z *** schemaTool failed ***
> 2023-12-13T15:24:18.095206673Z + '[' 1 -eq 0 ']'
> 2023-12-13T15:24:18.095225048Z + echo 'Schema initialization
> failed!'{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)