[jira] [Commented] (LENS-1531) Lens driver not picking hadoop conf

2018-08-16 Thread Amareshwari Sriramadasu (JIRA)


[ 
https://issues.apache.org/jira/browse/LENS-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16583302#comment-16583302
 ] 

Amareshwari Sriramadasu commented on LENS-1531:
---

-1
It is disabled by design.
If configuration defaults are set to true, the hadoop configuration will pass 
all default values to cluster config and hadoop site from cluster itself is 
ignored.
 
 

> Lens driver not picking hadoop conf
> ---
>
> Key: LENS-1531
> URL: https://issues.apache.org/jira/browse/LENS-1531
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajashekhar
>Priority: Major
>
> Lens driver not picking hadoop conf
>  
> The PR is here: [https://github.com/apache/lens/pull/26]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Re: Review Request 68380: Lens driver not picking hadoop conf

2018-08-16 Thread Amareshwari Sriramadasu

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




lens-server/src/main/java/org/apache/lens/server/LensServerConf.java
Line 45 (original), 45 (patched)


It is disabled to override by design.
If configuration defaults are set to true, the hadoop configuration will 
pass all default values to cluster config and hadoop site from cluster itself 
is ignored.


- Amareshwari Sriramadasu


On Aug. 16, 2018, 12:52 p.m., Rajashekhar Choukimath wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68380/
> ---
> 
> (Updated Aug. 16, 2018, 12:52 p.m.)
> 
> 
> Review request for lens, Ankit Kailaswar and Rajitha R.
> 
> 
> Bugs: LENS-1531
> https://issues.apache.org/jira/browse/LENS-1531
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> LENS-1531: Lens driver not picking hadoop conf
> 
> 
> Diffs
> -
> 
>   lens-server/src/main/java/org/apache/lens/server/LensServerConf.java 
> 8d2a3fc 
> 
> 
> Diff: https://reviews.apache.org/r/68380/diff/1/
> 
> 
> Testing
> ---
> 
> Verified in my test VM setup.
> 
> 
> Thanks,
> 
> Rajashekhar Choukimath
> 
>



Review Request 68380: Lens driver not picking hadoop conf

2018-08-16 Thread Rajashekhar Choukimath

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

Review request for lens, Ankit Kailaswar and Rajitha R.


Bugs: LENS-1531
https://issues.apache.org/jira/browse/LENS-1531


Repository: lens


Description
---

LENS-1531: Lens driver not picking hadoop conf


Diffs
-

  lens-server/src/main/java/org/apache/lens/server/LensServerConf.java 8d2a3fc 


Diff: https://reviews.apache.org/r/68380/diff/1/


Testing
---

Verified in my test VM setup.


Thanks,

Rajashekhar Choukimath



[jira] [Created] (LENS-1531) Lens driver not picking hadoop conf

2018-08-16 Thread Rajashekhar (JIRA)
Rajashekhar created LENS-1531:
-

 Summary: Lens driver not picking hadoop conf
 Key: LENS-1531
 URL: https://issues.apache.org/jira/browse/LENS-1531
 Project: Apache Lens
  Issue Type: Improvement
  Components: server
Reporter: Rajashekhar


Lens driver not picking hadoop conf

 

The PR is here: [https://github.com/apache/lens/pull/26]

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (LENS-1525) Restrict past and future date range in user queries

2018-08-16 Thread Hudson (JIRA)


[ 
https://issues.apache.org/jira/browse/LENS-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16582121#comment-16582121
 ] 

Hudson commented on LENS-1525:
--

SUCCESS: Integrated in Jenkins build Lens-Commit #1486 (See 
[https://builds.apache.org/job/Lens-Commit/1486/])
LENS-1525 : Adding start and end times in cube (rajitha.r: rev 
c4cad0af68f180daaf4e0abffb4961aa109ca038)
* (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/Cube.java
* (edit) lens-api/src/main/resources/cube-0.1.xsd
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/error/LensCubeErrorCode.java
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/parse/TestTimeRangeResolver.java
* (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/DerivedCube.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/TimerangeResolver.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeInterface.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/metadata/MetastoreConstants.java
* (edit) lens-cube/src/test/java/org/apache/lens/cube/metadata/DateFactory.java
* (edit) lens-cube/src/test/resources/schema/cubes/base/testcube.xml
LENS-1525 : Adding start and end times in cube (rajitha.r: rev 
5a73df0d26e1c69d77bf43a2b5ef06559b4032d4)
* (add) 
lens-cube/src/test/java/org/apache/lens/cube/metadata/TestCubeStartAndEndTimes.java


> Restrict past and future date range in user queries
> ---
>
> Key: LENS-1525
> URL: https://issues.apache.org/jira/browse/LENS-1525
> Project: Apache Lens
>  Issue Type: Task
>  Components: cube
>Reporter: Rajitha R
>Assignee: Rajitha R
>Priority: Major
> Fix For: 2.8
>
> Attachments: LENS-1525.patch
>
>
> Lens currently allows users to give any start and end time in the queries. 
> There is a need to restrict this range to prevent service abuse and 
> degradation. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (LENS-1525) Restrict past and future date range in user queries

2018-08-16 Thread Rajitha R (JIRA)


 [ 
https://issues.apache.org/jira/browse/LENS-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajitha R updated LENS-1525:

   Resolution: Fixed
Fix Version/s: 2.8
   Status: Resolved  (was: Patch Available)

> Restrict past and future date range in user queries
> ---
>
> Key: LENS-1525
> URL: https://issues.apache.org/jira/browse/LENS-1525
> Project: Apache Lens
>  Issue Type: Task
>  Components: cube
>Reporter: Rajitha R
>Assignee: Rajitha R
>Priority: Major
> Fix For: 2.8
>
> Attachments: LENS-1525.patch
>
>
> Lens currently allows users to give any start and end time in the queries. 
> There is a need to restrict this range to prevent service abuse and 
> degradation. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (LENS-1525) Restrict past and future date range in user queries

2018-08-16 Thread Rajitha R (JIRA)


 [ 
https://issues.apache.org/jira/browse/LENS-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajitha R closed LENS-1525.
---

> Restrict past and future date range in user queries
> ---
>
> Key: LENS-1525
> URL: https://issues.apache.org/jira/browse/LENS-1525
> Project: Apache Lens
>  Issue Type: Task
>  Components: cube
>Reporter: Rajitha R
>Assignee: Rajitha R
>Priority: Major
> Fix For: 2.8
>
> Attachments: LENS-1525.patch
>
>
> Lens currently allows users to give any start and end time in the queries. 
> There is a need to restrict this range to prevent service abuse and 
> degradation. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (LENS-1525) Restrict past and future date range in user queries

2018-08-16 Thread Rajitha R (JIRA)


[ 
https://issues.apache.org/jira/browse/LENS-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16582050#comment-16582050
 ] 

Rajitha R commented on LENS-1525:
-

Committed. 

> Restrict past and future date range in user queries
> ---
>
> Key: LENS-1525
> URL: https://issues.apache.org/jira/browse/LENS-1525
> Project: Apache Lens
>  Issue Type: Task
>  Components: cube
>Reporter: Rajitha R
>Assignee: Rajitha R
>Priority: Major
> Attachments: LENS-1525.patch
>
>
> Lens currently allows users to give any start and end time in the queries. 
> There is a need to restrict this range to prevent service abuse and 
> degradation. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (LENS-1530) Add Unit tests for Lens Authentication

2018-08-16 Thread Rajitha R (JIRA)


[ 
https://issues.apache.org/jira/browse/LENS-1530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16582044#comment-16582044
 ] 

Rajitha R commented on LENS-1530:
-

cc [~barunsthakur]

> Add Unit tests for Lens Authentication
> --
>
> Key: LENS-1530
> URL: https://issues.apache.org/jira/browse/LENS-1530
> Project: Apache Lens
>  Issue Type: Task
>  Components: server
>Reporter: Rajitha R
>Priority: Major
>
> Add Unit tests for Lens Authentication



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (LENS-1529) Add Unit tests for Lens Authorization

2018-08-16 Thread Rajitha R (JIRA)
Rajitha R created LENS-1529:
---

 Summary: Add Unit tests for Lens Authorization
 Key: LENS-1529
 URL: https://issues.apache.org/jira/browse/LENS-1529
 Project: Apache Lens
  Issue Type: Task
  Components: cube, server
Reporter: Rajitha R
Assignee: Rajitha R


Add Unit tests for Lens Authorization



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (LENS-1530) Add Unit tests for Lens Authentication

2018-08-16 Thread Rajitha R (JIRA)
Rajitha R created LENS-1530:
---

 Summary: Add Unit tests for Lens Authentication
 Key: LENS-1530
 URL: https://issues.apache.org/jira/browse/LENS-1530
 Project: Apache Lens
  Issue Type: Task
  Components: server
Reporter: Rajitha R


Add Unit tests for Lens Authentication



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Re: Review Request 68315: Start and end time for Cubes

2018-08-16 Thread Amareshwari Sriramadasu

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


Ship it!




Ship It!

- Amareshwari Sriramadasu


On Aug. 14, 2018, 2:50 p.m., Rajitha R wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68315/
> ---
> 
> (Updated Aug. 14, 2018, 2:50 p.m.)
> 
> 
> Review request for lens and Amareshwari Sriramadasu.
> 
> 
> Bugs: LENS-1525
> https://issues.apache.org/jira/browse/LENS-1525
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> Introducing start and end time feature in cube properties to restrict user 
> queries from including past and future date ranges.
> 
> 
> Diffs
> -
> 
>   lens-api/src/main/resources/cube-0.1.xsd 4d10d24 
>   lens-cube/src/main/java/org/apache/lens/cube/error/LensCubeErrorCode.java 
> ed076e2 
>   lens-cube/src/main/java/org/apache/lens/cube/metadata/Cube.java 7c3da2c 
>   lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeInterface.java 
> 6477a6b 
>   lens-cube/src/main/java/org/apache/lens/cube/metadata/DerivedCube.java 
> 4c73785 
>   
> lens-cube/src/main/java/org/apache/lens/cube/metadata/MetastoreConstants.java 
> 945fe26 
>   lens-cube/src/main/java/org/apache/lens/cube/parse/TimerangeResolver.java 
> 8e77a82 
>   lens-cube/src/test/java/org/apache/lens/cube/metadata/DateFactory.java 
> c4404f1 
>   
> lens-cube/src/test/java/org/apache/lens/cube/metadata/TestCubeStartAndEndTimes.java
>  PRE-CREATION 
>   
> lens-cube/src/test/java/org/apache/lens/cube/parse/TestTimeRangeResolver.java 
> 181608f 
>   lens-cube/src/test/resources/schema/cubes/base/testcube.xml 4cafd31 
> 
> 
> Diff: https://reviews.apache.org/r/68315/diff/3/
> 
> 
> Testing
> ---
> 
> [INFO] 
> [INFO] Lens Checkstyle Rules .. SUCCESS [  5.814 
> s]
> [INFO] Lens ... SUCCESS [  9.893 
> s]
> [INFO] Lens API ... SUCCESS [01:05 
> min]
> [INFO] Lens API for server and extensions . SUCCESS [ 52.959 
> s]
> [INFO] Lens Cube .. SUCCESS [10:16 
> min]
> [INFO] Lens DB storage  SUCCESS [01:11 
> min]
> [INFO] Lens Query Library . SUCCESS [ 44.173 
> s]
> [INFO] Lens Hive Driver ... SUCCESS [02:41 
> min]
> [INFO] Lens Driver for JDBC ... SUCCESS [02:44 
> min]
> [INFO] Lens Elastic Search Driver . SUCCESS [ 53.534 
> s]
> [INFO] Lens Server  SUCCESS [15:06 
> min]
> [INFO] Lens client  SUCCESS [02:35 
> min]
> [INFO] Lens CLI ... SUCCESS [02:42 
> min]
> [INFO] Lens Examples .. SUCCESS [ 14.654 
> s]
> [INFO] Lens Ship Jars to Distributed Cache  SUCCESS [  1.738 
> s]
> [INFO] Lens Distribution .. SUCCESS [ 21.231 
> s]
> [INFO] Lens ML Lib  SUCCESS [02:24 
> min]
> [INFO] Lens ML Ext Distribution ... SUCCESS [  9.879 
> s]
> [INFO] Lens Regression  SUCCESS [ 24.848 
> s]
> [INFO] Lens UI  SUCCESS [  8.120 
> s]
> [INFO] Lens Contrib ... SUCCESS [  1.567 
> s]
> [INFO] Lens Contributed Clients ... SUCCESS [  0.327 
> s]
> [INFO] Lens Python Client . SUCCESS [  0.502 
> s]
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 45:00 min
> [INFO] Finished at: 2018-08-13T13:12:18+05:30
> [INFO] Final Memory: 261M/1420M
> [INFO] 
> 
> 
> 
> Thanks,
> 
> Rajitha R
> 
>