[
https://issues.apache.org/jira/browse/AMBARI-12438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Hurley updated AMBARI-12438:
-------------------------------------
Attachment: AMBARI-12438.patch
> MySQL Connection Pooling Defaults Should Be Correct And Present In
> ambari.properties
> ------------------------------------------------------------------------------------
>
> Key: AMBARI-12438
> URL: https://issues.apache.org/jira/browse/AMBARI-12438
> Project: Ambari
> Issue Type: Task
> Affects Versions: 2.0.0
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Priority: Critical
> Fix For: 2.2.0
>
> Attachments: AMBARI-12438.patch
>
>
> The following are properties that are exposed via {{ambari.properties}} and
> which have hard coded defaults in the Java code but appear no where in
> {{ambari.properties}} in a default installation:
> {noformat}
> server.jdbc.connection-pool=c3p0
> server.jdbc.connection-pool.acquisition-size=5
> server.jdbc.connection-pool.max-age=0
> server.jdbc.connection-pool.max-idle-time=14400
> server.jdbc.connection-pool.max-idle-time-excess=0
> server.jdbc.connection-pool.idle-test-interval=7200
> {noformat}
> We should write these properties into {{ambari.properties}} at install-time
> when configuring the database. MySQL will get c3p0 by default while other
> database providers will get "internal" (JPA) as their pooling mechanism.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)