Jonathan Hurley created AMBARI-12438:
----------------------------------------
Summary: 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: Bug
Affects Versions: 2.0.0
Reporter: Jonathan Hurley
Assignee: Jonathan Hurley
Priority: Critical
Fix For: 2.2.0
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.type=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)