[ https://issues.apache.org/jira/browse/OOZIE-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15405420#comment-15405420 ]
abhishek bafna commented on OOZIE-2574: --------------------------------------- [~rkanter] I tested it with replication-enabled MySQL. It works fine. Thanks for the review. We set all the connection properties using {{openjpa.ConnectionProperties}}, which is comma separated key-value pairs. I think some issue/trick is there in parsing the properties. This configuration is mapped to the {{BasicDataSource}}. So the final DB url is left with first instance (host:port) only. [Reference|https://issues.apache.org/jira/browse/OPENJPA-2638] > Oozie to support replication-enabled mysql urls > ----------------------------------------------- > > Key: OOZIE-2574 > URL: https://issues.apache.org/jira/browse/OOZIE-2574 > Project: Oozie > Issue Type: Improvement > Components: core > Reporter: abhishek bafna > Assignee: abhishek bafna > Attachments: OOZIE-2574-00.patch > > > Currently Oozie does not support replication-enabled mysql urls. As per the > mysql JDBC specification we can use > {{jdbc:mysql:replication://master_host:port,slave_host:port/database}}. > https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-master-slave-replication-connection.html -- This message was sent by Atlassian JIRA (v6.3.4#6332)