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


bq. Need to add automatic calls when updation of dims/facts is called. 
Altering tables automatically updates cache and we would not require any of 
this clear cache api. If we add such an api, We need to build authorization 
around who can clear cache and who cannot. Only thing we need to ensure is 
people go through LensServer for alter/updates than directly hitting hive 
metastore.


lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeMetastoreClient.java
<https://reviews.apache.org/r/30030/#comment113063>

    do we need separate clear cache methods?


- Amareshwari Sriramadasu


On Jan. 19, 2015, 2:57 p.m., Rajat Khandelwal wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/30030/
> -----------------------------------------------------------
> 
> (Updated Jan. 19, 2015, 2:57 p.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: LENS-201
>     https://issues.apache.org/jira/browse/LENS-201
> 
> 
> Repository: lens
> 
> 
> Description
> -------
> 
> methods to clear cache added
> 
> Need to add automatic calls when updation of dims/facts is called. 
> 
> Also need to add test cases
> 
> 
> Diffs
> -----
> 
>   
> lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeMetastoreClient.java
>  42f5e0a 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/metastore/CubeMetastoreService.java
>  cd50c7b 
>   
> lens-server/src/main/java/org/apache/lens/server/metastore/CubeMetastoreServiceImpl.java
>  9ef89f6 
>   
> lens-server/src/main/java/org/apache/lens/server/metastore/MetastoreResource.java
>  7194f6c 
> 
> Diff: https://reviews.apache.org/r/30030/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Rajat Khandelwal
> 
>

Reply via email to