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

(Updated Jan. 29, 2016, 9:50 a.m.)


Review request for lens.


Changes
-------

* Reduced test case time from 15 to 5 seconds
* Upadted purger sleep time for test cases from default 10 secs to 1 sec


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

  
lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java 
a3dbfc0 
  
lens-server-api/src/main/java/org/apache/lens/server/api/driver/InMemoryResultSet.java
 c64a3dd 
  
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java
 672f2be 
  lens-server/src/main/resources/lensserver-default.xml cac641a 
  lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java 
3facded 
  lens-server/src/test/resources/lens-site.xml 9cb4a6f 
  src/site/apt/admin/config.apt 54f827e 
  src/site/apt/admin/session-config.apt 05a2c2c 

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

Reply via email to