-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42703/
-----------------------------------------------------------
Review request for lens.
Bugs: lens-921
https://issues.apache.org/jira/browse/lens-921
Repository: lens
Description
-------
Added a new server configration
+ <property>
+ <name>lens.server.inmemory.resultset.ttl.secs</name>
+ <value>300</value>
+ <description>This property defines the TTL(time to live) in seconds for
all result sets of type InMemoryResultSet beyond which they are eligible for
purging irrespective of whether the result set has been read or not.
+ The default value is 300 seconds (5 minutes).
+ </description>
+ </property>
Diffs
-----
lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java
a3dbfc07d34fed709deb964268a8b3150dc96306
lens-server-api/src/main/java/org/apache/lens/server/api/driver/InMemoryResultSet.java
c64a3dd8162515fe8508718502b789af328e6d3a
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java
2dff9afeb384738fa21ef7381cb5a54e3c02165a
lens-server/src/main/resources/lensserver-default.xml
cac641abca105827eaa058f35faae40d961bc1c1
lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java
494bce5b287398f93fd518d99f3d562f9a76d5e5
src/site/apt/admin/config.apt 54f827e8b18b139a6ade8b480881bdf9a7942306
src/site/apt/admin/session-config.apt
05a2c2c711e8c4b85ae7e43d71ffc1d883ca2ebe
Diff: https://reviews.apache.org/r/42703/diff/
Testing
-------
[INFO] Lens Checkstyle Rules .............................. SUCCESS [ 7.276 s]
[INFO] Lens ............................................... SUCCESS [ 5.054 s]
[INFO] Lens API ........................................... SUCCESS [ 12.519 s]
[INFO] Lens API for server and extensions ................. SUCCESS [ 12.829 s]
[INFO] Lens Cube .......................................... SUCCESS [ 13.575 s]
[INFO] Lens DB storage .................................... SUCCESS [ 1.888 s]
[INFO] Lens Query Library ................................. SUCCESS [ 3.302 s]
[INFO] Lens Hive Driver ................................... SUCCESS [ 4.532 s]
[INFO] Lens Driver for JDBC ............................... SUCCESS [ 6.367 s]
[INFO] Lens Elastic Search Driver ......................... SUCCESS [ 4.499 s]
[INFO] Lens Server ........................................ SUCCESS [ 43.967 s]
[INFO] Lens client ........................................ SUCCESS [ 6.583 s]
[INFO] Lens CLI ........................................... SUCCESS [ 7.888 s]
[INFO] Lens Examples ...................................... SUCCESS [ 1.322 s]
[INFO] Lens Ship Jars to Distributed Cache ................ SUCCESS [ 1.779 s]
[INFO] Lens Distribution .................................. SUCCESS [ 16.864 s]
[INFO] Lens ML Lib ........................................ SUCCESS [ 9.823 s]
[INFO] Lens ML Ext Distribution ........................... SUCCESS [ 7.942 s]
[INFO] Lens Regression .................................... SUCCESS [ 4.283 s]
[INFO] Lens UI ............................................ SUCCESS [ 12.508 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:05 min
[INFO] Finished at: 2016-01-25T10:14:25+05:30
[INFO] Final Memory: 191M/1654M
[INFO] ------------------------------------------------------------------------
Added a new test case
org.apache.lens.server.query.TestQueryService.testTTLForInMemoryResult()
Thanks,
Puneet Gupta