This is an automated email from the ASF dual-hosted git repository. dionusos pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/oozie.git
The following commit(s) were added to refs/heads/master by this push: new c5acd9b OOZIE-2136 Oozie server startup error when JDBC URL for a MySql DB with HA is used c5acd9b is described below commit c5acd9bed8ed388b99a9636465ac996d81e132d2 Author: Denes Bodo <dionu...@apache.org> AuthorDate: Tue Jun 22 13:40:44 2021 +0200 OOZIE-2136 Oozie server startup error when JDBC URL for a MySql DB with HA is used --- core/src/main/java/org/apache/oozie/service/JPAService.java | 7 ++----- release-log.txt | 1 + 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/core/src/main/java/org/apache/oozie/service/JPAService.java b/core/src/main/java/org/apache/oozie/service/JPAService.java index 5c621b2..69f0793 100644 --- a/core/src/main/java/org/apache/oozie/service/JPAService.java +++ b/core/src/main/java/org/apache/oozie/service/JPAService.java @@ -187,11 +187,8 @@ public class JPAService implements Service, Instrumentable { throw new ServiceException(ErrorCode.E0609, dbType, ormFile); } - // support for mysql replication urls "jdbc:mysql:replication://master:port,slave:port[,slave:port]/db" - if (url.startsWith("jdbc:mysql:replication")) { - url = "\"".concat(url).concat("\""); - LOG.info("A jdbc replication url is provided. Url: [{0}]", url); - } + // Quotation marks around the JDBC URL let us have comma (,) in the URL. + url = "\"".concat(url).concat("\""); String connProps = "DriverClassName={0},Url={1},MaxActive={2}"; diff --git a/release-log.txt b/release-log.txt index 5660d44..010353b 100644 --- a/release-log.txt +++ b/release-log.txt @@ -1,5 +1,6 @@ -- Oozie 5.3.0 release (trunk - unreleased) +OOZIE-2136 Oozie server startup error when JDBC URL for a MySql DB with HA is used (dionusos) OOZIE-3628 Fix Oozie build errors caused by Maven 3.8.1 OOZIE-3605 ShareLib installation does not honor dfs.replication in HDFS configuration (luyuanhao via gezapeti) OOZIE-3608 Coordinator emits wrong WARN about TimeZones (larsfrancke via gezapeti)