OOZIE-2136 Oozie server startup error when JDBC URL for a MySql DB with HA is used
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 @@
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)