ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-12438) MySQL Connection Pooling Defaults Should Be Correct And Present In ambari.properties
Date Thu, 16 Jul 2015 19:27:04 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-12438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Hurley updated AMBARI-12438:
-------------------------------------
    Description: 
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.

  was:
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.


> 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
>
>
> 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)

Mime
View raw message