ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley" <jhur...@hortonworks.com>
Subject Re: Review Request 38487: Enable JPA statement caching (internal/external)
Date Fri, 18 Sep 2015 16:48:45 GMT


> On Sept. 18, 2015, 9:49 a.m., Sumit Mohanty wrote:
> > ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java,
line 333
> > <https://reviews.apache.org/r/38487/diff/1/?file=1076692#file1076692line333>
> >
> >     Should this be true by default?
> 
> Oliver Szabo wrote:
>     good question. who should decide this?

I can't see why we wouldn't want it as true. It's only useful when using EclipseLink's internal
connection pooling, which is the default. So, it's odd that it defaults to false.


- Jonathan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38487/#review99529
-----------------------------------------------------------


On Sept. 18, 2015, 9:24 a.m., Oliver Szabo wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38487/
> -----------------------------------------------------------
> 
> (Updated Sept. 18, 2015, 9:24 a.m.)
> 
> 
> Review request for Ambari, Jonathan Hurley and Robert Nettleton.
> 
> 
> Bugs: AMBARI-13036
>     https://issues.apache.org/jira/browse/AMBARI-13036
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Problem: 
> 
> Ambari does not cache database statements which leads to excessive parsing.
> 
> Solution:
> 
> Added internal and external statement caching feature to Ambari. Caching used by default
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
e3686ac 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
a40fae6 
>   ambari-server/src/test/java/org/apache/ambari/server/configuration/ConfigurationTest.java
074fbb4 
>   ambari-server/src/test/java/org/apache/ambari/server/orm/InMemoryDefaultTestModule.java
174d489 
>   ambari-server/src/test/java/org/apache/ambari/server/state/cluster/ClustersTest.java
a1e2b48 
> 
> Diff: https://reviews.apache.org/r/38487/diff/
> 
> 
> Testing
> -------
> 
> Unit testing done.
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 01:31 h
> [INFO] Finished at: 2015-09-17T17:21:55+00:00
> [INFO] Final Memory: 48M/605M
> [INFO] ------------------------------------------------------------------------
> 
> Functional testing:
> Locally: done on Postgres & MySQL databases
> 
> 
> Thanks,
> 
> Oliver Szabo
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message