> On Oct. 17, 2015, 3:24 a.m., Raju Bairishetti wrote:
> > lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java,
> >  line 983
> > <https://reviews.apache.org/r/39161/diff/6/?file=1100259#file1100259line983>
> >
> >     @Deepak, Is there any specific reason behind for not accepting the 
> > value in ***secs**?

The only reason being - "1 day" is more readable than "86400" seconds. For 
retention config, Some users may want to use bigger time units and some may use 
small time units. This kind of input provides makes it easy. Lets say if a user 
wants to have a retention for 2 months...then, he can simple put 2 months 
instead of 5184000 seconds


- Deepak


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


On Oct. 16, 2015, 7:43 p.m., Deepak Barr wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39161/
> -----------------------------------------------------------
> 
> (Updated Oct. 16, 2015, 7:43 p.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: LENS-292
>     https://issues.apache.org/jira/browse/LENS-292
> 
> 
> Repository: lens
> 
> 
> Description
> -------
> 
> Added query result purge policy on both Driver persisted and Lens persisted 
> resultset. Default retention of 1 day. Purging can be turned off with a 
> setting.
> 
> 
> Diffs
> -----
> 
>   lens-cube/src/main/java/org/apache/lens/cube/parse/DateUtil.java cbcc76c 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java
>  f202603 
>   
> lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java
>  d57812f 
>   
> lens-server/src/main/java/org/apache/lens/server/query/QueryResultPurger.java 
> PRE-CREATION 
>   lens-server/src/main/resources/lensserver-default.xml 1e6bd10 
>   
> lens-server/src/test/java/org/apache/lens/server/query/TestQueryResultPurger.java
>  PRE-CREATION 
>   src/site/apt/admin/config.apt 3a0678f 
> 
> Diff: https://reviews.apache.org/r/39161/diff/
> 
> 
> Testing
> -------
> 
> Yes.
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Lens Checkstyle Rules .............................. SUCCESS [  2.785 
> s]
> [INFO] Lens ............................................... SUCCESS [  5.339 
> s]
> [INFO] Lens API ........................................... SUCCESS [ 28.950 
> s]
> [INFO] Lens API for server and extensions ................. SUCCESS [ 28.187 
> s]
> [INFO] Lens Cube .......................................... SUCCESS [07:05 
> min]
> [INFO] Lens DB storage .................................... SUCCESS [ 28.169 
> s]
> [INFO] Lens Query Library ................................. SUCCESS [ 22.031 
> s]
> [INFO] Lens Hive Driver ................................... SUCCESS [04:13 
> min]
> [INFO] Lens Driver for JDBC ............................... SUCCESS [ 49.452 
> s]
> [INFO] Lens Elastic Search Driver ......................... SUCCESS [ 22.865 
> s]
> [INFO] Lens Server ........................................ SUCCESS [10:58 
> min]
> [INFO] Lens client ........................................ SUCCESS [ 47.198 
> s]
> [INFO] Lens CLI ........................................... SUCCESS [03:44 
> min]
> [INFO] Lens Examples ...................................... SUCCESS [ 11.516 
> s]
> [INFO] Lens Distribution .................................. SUCCESS [ 12.779 
> s]
> [INFO] Lens ML Lib ........................................ SUCCESS [02:00 
> min]
> [INFO] Lens ML Ext Distribution ........................... SUCCESS [  3.212 
> s]
> [INFO] Lens Regression .................................... SUCCESS [ 15.624 
> s]
> [INFO] Lens UI ............................................ SUCCESS [  3.415 
> s]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 32:45 min
> [INFO] Finished at: 2015-10-07T23:19:44+05:30
> [INFO] Final Memory: 218M/2795M
> [INFO] 
> ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Deepak Barr
> 
>

Reply via email to