[jira] [Updated] (LENS-1280) Support overriding the limit for allowed opened sessions for specific users

2016-08-18 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-1280:
---
Summary: Support overriding the limit for allowed opened sessions for 
specific users  (was: Support overriding the limit for opened sessions for 
specific users)

> Support overriding the limit for allowed opened sessions for specific users
> ---
>
> Key: LENS-1280
> URL: https://issues.apache.org/jira/browse/LENS-1280
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.7
>
>
> LENS-833 had introduced a global limit on number of session each user can 
> open.  We also need to have an override for special users who should be 
> allowed to open more sssions. 
> use cases :
> 1. All pipelines registering partitions with lens server might run with a 
> single headless user account. In this case the limits should be relaxed for 
> such users. 2. There can be apps that are dependent on lens server and use 
> headless user, in which case these apps would want a relaxed limit.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (LENS-1280) Support overriding the limit for opened sessions for specific users

2016-08-18 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-1280:
---
Fix Version/s: 2.7

> Support overriding the limit for opened sessions for specific users
> ---
>
> Key: LENS-1280
> URL: https://issues.apache.org/jira/browse/LENS-1280
> Project: Apache Lens
>  Issue Type: Improvement
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.7
>
>
> LENS-833 had introduced a global limit on number of session each user can 
> open.  We also need to have an override for special users who should be 
> allowed to open more sssions. 
> use cases :
> 1. All pipelines registering partitions with lens server might run with a 
> single headless user account. In this case the limits should be relaxed for 
> such users. 2. There can be apps that are dependent on lens server and use 
> headless user, in which case these apps would want a relaxed limit.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (LENS-1280) Support overriding the limit for opened sessions for specific users

2016-08-18 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-1280:
---
Description: 
LENS-833 had introduced a global limit on number of session each user can open. 
 We also need to have an override for special users who should be allowed to 
open more sssions. 

use cases :
1. All pipelines registering partitions with lens server might run with a 
single headless user account. In this case the limits should be relaxed for 
such users. 2. There can be apps that are dependent on lens server and use 
headless user, in which case these apps would want a relaxed limit.

  was:
LENS-833 had introduced a global limit on number of session each user can open. 
 We also need to have an override for special user who should be allowed to 
open more sssions. 

use cases :
1. All pipelines registering partitions with lens server might run with a 
single headless user account. In this case the limits should be relaxed for 
such users. 2. There can be apps that are dependent on lens server and use 
headless user, in which case these apps would want a relaxed limit.


> Support overriding the limit for opened sessions for specific users
> ---
>
> Key: LENS-1280
> URL: https://issues.apache.org/jira/browse/LENS-1280
> Project: Apache Lens
>  Issue Type: Improvement
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
>
> LENS-833 had introduced a global limit on number of session each user can 
> open.  We also need to have an override for special users who should be 
> allowed to open more sssions. 
> use cases :
> 1. All pipelines registering partitions with lens server might run with a 
> single headless user account. In this case the limits should be relaxed for 
> such users. 2. There can be apps that are dependent on lens server and use 
> headless user, in which case these apps would want a relaxed limit.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Review Request 51202: LENS-1278 : Fix too many instances of UDFClassLoader

2016-08-18 Thread Puneet Gupta

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


Ship it!




Ship It!

- Puneet Gupta


On Aug. 19, 2016, 4:18 a.m., Amareshwari Sriramadasu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51202/
> ---
> 
> (Updated Aug. 19, 2016, 4:18 a.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: LENS-1278
> https://issues.apache.org/jira/browse/LENS-1278
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> - made SessionClassLoader extend UDFClassLoader 
> - Added reset classloader in close and reset.
> 
> 
> Diffs
> -
> 
>   
> lens-server/src/main/java/org/apache/lens/server/session/LensSessionImpl.java 
> 3003ab7 
>   
> lens-server/src/main/java/org/apache/lens/server/session/SessionClassLoader.java
>  f5e2068 
> 
> Diff: https://reviews.apache.org/r/51202/diff/
> 
> 
> Testing
> ---
> 
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Lens Checkstyle Rules . SUCCESS [1.527s]
> [INFO] Lens .. SUCCESS [3.934s]
> [INFO] Lens API .. SUCCESS [23.077s]
> [INFO] Lens API for server and extensions  SUCCESS [17.209s]
> [INFO] Lens Cube . SUCCESS 
> [14:34.537s]
> [INFO] Lens DB storage ... SUCCESS [17.053s]
> [INFO] Lens Query Library  SUCCESS [11.989s]
> [INFO] Lens Hive Driver .. SUCCESS [1:23.477s]
> [INFO] Lens Driver for JDBC .. SUCCESS [36.242s]
> [INFO] Lens Elastic Search Driver  SUCCESS [21.033s]
> [INFO] Lens Server ... SUCCESS 
> [14:00.416s]
> [INFO] Lens client ... SUCCESS [1:28.919s]
> [INFO] Lens CLI .. SUCCESS [1:17.370s]
> [INFO] Lens Examples . SUCCESS [8.020s]
> [INFO] Lens Ship Jars to Distributed Cache ... SUCCESS [0.815s]
> [INFO] Lens Distribution . SUCCESS [9.338s]
> [INFO] Lens ML Lib ... SUCCESS [1:08.497s]
> [INFO] Lens ML Ext Distribution .. SUCCESS [2.615s]
> [INFO] Lens Regression ... SUCCESS [10.803s]
> [INFO] Lens UI ... SUCCESS [28.899s]
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 37:06.665s
> [INFO] Finished at: Fri Aug 19 04:02:57 UTC 2016
> [INFO] Final Memory: 196M/2699M
> [INFO] 
> 
> 
> 
> Thanks,
> 
> Amareshwari Sriramadasu
> 
>



[jira] [Commented] (LENS-1278) Seeing too many instances of UDFClassloader getting created

2016-08-18 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1278:
-

Applied patch: 
[LENS-1278.2.patch|https://issues.apache.org/jira/secure/attachment/12824494/LENS-1278.2.patch]
 and ran command: mvn clean install -fae. Result: Success. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/805/

> Seeing too many instances of UDFClassloader getting created
> ---
>
> Key: LENS-1278
> URL: https://issues.apache.org/jira/browse/LENS-1278
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
>Priority: Critical
> Fix For: 2.6
>
> Attachments: LENS-1278.2.patch, LENS-1278.patch
>
>
> We are seeing too many instances of UDFClassloader objects :
>  grep 'ClassLoader' jmap.dump 
>  1439 138144 org.apache.hadoop.hive.ql.exec.UDFClassLoader
>  1789 128808 sun.reflect.DelegatingClassLoader
>   270 25920 org.apache.lens.server.session.SessionClassLoader
> Mostly because of this - 
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java#L1794



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (LENS-1274) Saved query table create failure shouldn't stop lens server from starting

2016-08-18 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1274:
--
   Resolution: Fixed
Fix Version/s: 2.7
   Status: Resolved  (was: Patch Available)

Committed. Thanks [~prongs]

> Saved query table create failure shouldn't stop lens server from starting
> -
>
> Key: LENS-1274
> URL: https://issues.apache.org/jira/browse/LENS-1274
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.7
>
> Attachments: LENS-1274.01.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Review Request 51202: LENS-1278 : Fix too many instances of UDFClassLoader

2016-08-18 Thread Amareshwari Sriramadasu

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

(Updated Aug. 19, 2016, 4:18 a.m.)


Review request for lens.


Changes
---

Checkstyle fixed


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


Repository: lens


Description
---

- made SessionClassLoader extend UDFClassLoader 
- Added reset classloader in close and reset.


Diffs (updated)
-

  lens-server/src/main/java/org/apache/lens/server/session/LensSessionImpl.java 
3003ab7 
  
lens-server/src/main/java/org/apache/lens/server/session/SessionClassLoader.java
 f5e2068 

Diff: https://reviews.apache.org/r/51202/diff/


Testing (updated)
---

[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Lens Checkstyle Rules . SUCCESS [1.527s]
[INFO] Lens .. SUCCESS [3.934s]
[INFO] Lens API .. SUCCESS [23.077s]
[INFO] Lens API for server and extensions  SUCCESS [17.209s]
[INFO] Lens Cube . SUCCESS [14:34.537s]
[INFO] Lens DB storage ... SUCCESS [17.053s]
[INFO] Lens Query Library  SUCCESS [11.989s]
[INFO] Lens Hive Driver .. SUCCESS [1:23.477s]
[INFO] Lens Driver for JDBC .. SUCCESS [36.242s]
[INFO] Lens Elastic Search Driver  SUCCESS [21.033s]
[INFO] Lens Server ... SUCCESS [14:00.416s]
[INFO] Lens client ... SUCCESS [1:28.919s]
[INFO] Lens CLI .. SUCCESS [1:17.370s]
[INFO] Lens Examples . SUCCESS [8.020s]
[INFO] Lens Ship Jars to Distributed Cache ... SUCCESS [0.815s]
[INFO] Lens Distribution . SUCCESS [9.338s]
[INFO] Lens ML Lib ... SUCCESS [1:08.497s]
[INFO] Lens ML Ext Distribution .. SUCCESS [2.615s]
[INFO] Lens Regression ... SUCCESS [10.803s]
[INFO] Lens UI ... SUCCESS [28.899s]
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 37:06.665s
[INFO] Finished at: Fri Aug 19 04:02:57 UTC 2016
[INFO] Final Memory: 196M/2699M
[INFO] 


Thanks,

Amareshwari Sriramadasu



[jira] [Commented] (LENS-1278) Seeing too many instances of UDFClassloader getting created

2016-08-18 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1278:
-

Applied patch: 
[LENS-1278.2.patch|https://issues.apache.org/jira/secure/attachment/12824494/LENS-1278.2.patch]
 and ran command: mvn clean install -fae. Result: Success. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/804/

> Seeing too many instances of UDFClassloader getting created
> ---
>
> Key: LENS-1278
> URL: https://issues.apache.org/jira/browse/LENS-1278
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
>Priority: Critical
> Fix For: 2.6
>
> Attachments: LENS-1278.2.patch, LENS-1278.patch
>
>
> We are seeing too many instances of UDFClassloader objects :
>  grep 'ClassLoader' jmap.dump 
>  1439 138144 org.apache.hadoop.hive.ql.exec.UDFClassLoader
>  1789 128808 sun.reflect.DelegatingClassLoader
>   270 25920 org.apache.lens.server.session.SessionClassLoader
> Mostly because of this - 
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java#L1794



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Review Request 51177: LENS-1241 : Fix tests failures with setup and teardown issues

2016-08-18 Thread Amareshwari Sriramadasu

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


Fix it, then Ship it!




Other changes look fine to me.


lens-server/src/test/java/org/apache/lens/server/TestServerMode.java (line 81)


Is this session ever closed? If not, you might want to close them properly. 
Same with @BeforeClass as well.


- Amareshwari Sriramadasu


On Aug. 17, 2016, 2:12 p.m., Sushil Mohanty wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51177/
> ---
> 
> (Updated Aug. 17, 2016, 2:12 p.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: LENS-1241
> https://issues.apache.org/jira/browse/LENS-1241
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> Session creation and drop; table creation, loading and drop moved to 
> beforeClass
> 
> 
> Diffs
> -
> 
>   
> lens-server/src/main/java/org/apache/lens/server/metrics/MetricsServiceImpl.java
>  e09180f 
>   lens-server/src/test/java/org/apache/lens/server/TestServerMode.java 
> caf968a 
>   
> lens-server/src/test/java/org/apache/lens/server/healthcheck/TestHealthChecks.java
>  56c67fb 
>   
> lens-server/src/test/java/org/apache/lens/server/metastore/TestMetastoreService.java
>  be1326f 
>   
> lens-server/src/test/java/org/apache/lens/server/metrics/TestResourceMethodMetrics.java
>  c20ddf8 
>   
> lens-server/src/test/java/org/apache/lens/server/query/TestEventService.java 
> 50baf5f 
>   
> lens-server/src/test/java/org/apache/lens/server/query/TestQueryEndEmailNotifier.java
>  5196c9b 
>   
> lens-server/src/test/java/org/apache/lens/server/query/TestQueryResultPurger.java
>  c498ada 
>   
> lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java 
> a1ecaa6 
>   
> lens-server/src/test/java/org/apache/lens/server/query/TestResultFormatting.java
>  cb0d858 
>   
> lens-server/src/test/java/org/apache/lens/server/query/save/TestSavedQueryService.java
>  a8b58b2 
>   
> lens-server/src/test/java/org/apache/lens/server/rewrite/TestUserQueryToCubeQueryRewriter.java
>  38f8d71 
>   
> lens-server/src/test/java/org/apache/lens/server/scheduler/AlarmServiceTest.java
>  02f371c 
>   
> lens-server/src/test/java/org/apache/lens/server/session/TestSessionResource.java
>  3aa3163 
>   
> lens-server/src/test/java/org/apache/lens/server/user/TestUserConfigLoader.java
>  1656f4e 
> 
> Diff: https://reviews.apache.org/r/51177/diff/
> 
> 
> Testing
> ---
> 
> mvn clean install runs fine.
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Lens Checkstyle Rules . SUCCESS [2.064s]
> [INFO] Lens .. SUCCESS [5.084s]
> [INFO] Lens API .. SUCCESS [33.241s]
> [INFO] Lens API for server and extensions  SUCCESS [44.540s]
> [INFO] Lens Cube . SUCCESS 
> [16:16.839s]
> [INFO] Lens DB storage ... SUCCESS [17.957s]
> [INFO] Lens Query Library  SUCCESS [13.814s]
> [INFO] Lens Hive Driver .. SUCCESS [1:29.576s]
> [INFO] Lens Driver for JDBC .. SUCCESS [43.593s]
> [INFO] Lens Elastic Search Driver  SUCCESS [22.435s]
> [INFO] Lens Server ... SUCCESS 
> [14:15.372s]
> [INFO] Lens client ... SUCCESS [1:32.571s]
> [INFO] Lens CLI .. SUCCESS [1:31.938s]
> [INFO] Lens Examples . SUCCESS [9.518s]
> [INFO] Lens Ship Jars to Distributed Cache ... SUCCESS [0.709s]
> [INFO] Lens Distribution . SUCCESS [9.927s]
> [INFO] Lens ML Lib ... SUCCESS [1:18.968s]
> [INFO] Lens ML Ext Distribution .. SUCCESS [2.708s]
> [INFO] Lens Regression ... SUCCESS [14.800s]
> [INFO] Lens UI ... SUCCESS [37.262s]
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 40:44.037s
> [INFO] Finished at: Wed Aug 17 13:03:45 UTC 2016
> [INFO] Final Memory: 200M/2421M
> [INFO] 
> 
> 
> 
> Thanks,
> 
> Sushil Mohanty
> 
>



[jira] [Updated] (LENS-1278) Seeing too many instances of UDFClassloader getting created

2016-08-18 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1278:
--
Attachment: LENS-1278.2.patch

Patch fixing checkstyle issues.

> Seeing too many instances of UDFClassloader getting created
> ---
>
> Key: LENS-1278
> URL: https://issues.apache.org/jira/browse/LENS-1278
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
>Priority: Critical
> Fix For: 2.6
>
> Attachments: LENS-1278.2.patch, LENS-1278.patch
>
>
> We are seeing too many instances of UDFClassloader objects :
>  grep 'ClassLoader' jmap.dump 
>  1439 138144 org.apache.hadoop.hive.ql.exec.UDFClassLoader
>  1789 128808 sun.reflect.DelegatingClassLoader
>   270 25920 org.apache.lens.server.session.SessionClassLoader
> Mostly because of this - 
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java#L1794



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Review Request 50579: LENS-952 : Bump up enunciate version to work with java 8

2016-08-18 Thread Raju Bairishetti

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


Ship it!




Ship It!

- Raju Bairishetti


On Aug. 16, 2016, 1:39 p.m., Deepak Barr wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50579/
> ---
> 
> (Updated Aug. 16, 2016, 1:39 p.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: LENS-952
> https://issues.apache.org/jira/browse/LENS-952
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> Bump up enunciate version to work with java 8
> 
> 
> Diffs
> -
> 
>   lens-server/enunciate.xml 7013f13 
>   lens-server/pom.xml 86343fd 
>   pom.xml f7ebee6 
> 
> Diff: https://reviews.apache.org/r/50579/diff/
> 
> 
> Testing
> ---
> 
> Yes.
> Ran "mvn clean install -Penunciate" successfully.
> 
> 
> Thanks,
> 
> Deepak Barr
> 
>



Re: Review Request 51206: [LENS-1279] Imporve error messages and API responses

2016-08-18 Thread Lavkesh Lahngir

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

(Updated Aug. 18, 2016, 2:56 p.m.)


Review request for lens.


Summary (updated)
-

[LENS-1279] Imporve error messages and API responses


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


Repository: lens


Description
---

Adding Scheduler Specific error codes and messaegs to make API response more 
readable.


Diffs (updated)
-

  lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobHandle.java 
2e3aab877a09b30694e8868ebd9e69c0169edc9d 
  
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceHandle.java
 129afe178451fb700d3c65074f40e21f4680fed3 
  lens-api/src/main/resources/lens-errors.conf 
537b4584a62fdf46d74c3795468cae3890e2f8f7 
  
lens-server/src/main/java/org/apache/lens/server/error/LensSchedulerErrorCode.java
 PRE-CREATION 
  lens-server/src/main/java/org/apache/lens/server/scheduler/AlarmService.java 
2009a20fddced4b0d62eaae90c98dfe1cb989686 
  
lens-server/src/main/java/org/apache/lens/server/scheduler/ScheduleResource.java
 7a0b485d196506533fa7da267ce574bc85c06227 
  
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerEventListener.java
 d1d4a68467f7cdfb59c572a0e8f81c6fae3fe4b4 
  
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java
 74b337c09824c4f014bee55bdb3d172847f1a4c1 

Diff: https://reviews.apache.org/r/51206/diff/


Testing
---


Thanks,

Lavkesh Lahngir



[jira] [Assigned] (LENS-1279) Improve Scheduler API messages

2016-08-18 Thread Lavkesh Lahngir (JIRA)

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

Lavkesh Lahngir reassigned LENS-1279:
-

Assignee: Lavkesh Lahngir

> Improve Scheduler API messages  
> 
>
> Key: LENS-1279
> URL: https://issues.apache.org/jira/browse/LENS-1279
> Project: Apache Lens
>  Issue Type: Improvement
>Reporter: Lavkesh Lahngir
>Assignee: Lavkesh Lahngir
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-951) YAMLToStringStrategyTest fails on java8

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-951.
--

> YAMLToStringStrategyTest fails on java8
> ---
>
> Key: LENS-951
> URL: https://issues.apache.org/jira/browse/LENS-951
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-951.02.patch
>
>
> Failing build : https://builds.apache.org/job/Lens-Commit-Java8/100/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-915) Update CLI to show streaming results

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-915.
--

> Update CLI to show streaming results
> 
>
> Key: LENS-915
> URL: https://issues.apache.org/jira/browse/LENS-915
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: client
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
>Priority: Minor
> Fix For: 2.6
>
> Attachments: LENS-915.08.patch
>
>
> This can be taken up once LENS-901 is committed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-959) remove cube keyword from all test cases of lens-cube

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-959.
--

> remove cube keyword from all test cases of lens-cube
> 
>
> Key: LENS-959
> URL: https://issues.apache.org/jira/browse/LENS-959
> Project: Apache Lens
>  Issue Type: Task
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-959.02.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-1018) lens-cube tests are timing out on jenkins

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-1018.
---

> lens-cube tests are timing out on jenkins
> -
>
> Key: LENS-1018
> URL: https://issues.apache.org/jira/browse/LENS-1018
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube, test
>Reporter: Amareshwari Sriramadasu
> Fix For: 2.6
>
>
> ---
>  T E S T S
> ---
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; 
> support was removed in 8.0
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; 
> support was removed in 8.0
> Running TestSuite
> Results :
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO] Lens Cube . FAILURE 
> [40:14.888s]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-1141) Add user cost ceiling tests to regression

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-1141.
---

> Add user cost ceiling tests to regression
> -
>
> Key: LENS-1141
> URL: https://issues.apache.org/jira/browse/LENS-1141
> Project: Apache Lens
>  Issue Type: Test
>  Components: regression
>Reporter: Archana H
>Assignee: Archana H
> Fix For: 2.6
>
> Attachments: LENS-1141_3.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-1022) Reduce time for TestLensQueryCommands

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-1022.
---

> Reduce time for TestLensQueryCommands
> -
>
> Key: LENS-1022
> URL: https://issues.apache.org/jira/browse/LENS-1022
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: client, test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1022.2.patch, LENS-1022.patch
>
>
> Current time is around 2 minutes.
> https://builds.apache.org/job/PreCommit-Lens-Build/389/testReport/org.apache.lens.cli/TestLensQueryCommands/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-1254) TestLensQueryCommands.showPersistentResultSet fails intermittently

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-1254.
---

> TestLensQueryCommands.showPersistentResultSet fails intermittently
> --
>
> Key: LENS-1254
> URL: https://issues.apache.org/jira/browse/LENS-1254
> Project: Apache Lens
>  Issue Type: Bug
>  Components: client, test
>Affects Versions: 2.6
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.6
>
> Attachments: lens-1254.patch
>
>
> Exception
> {noformat}
> java.lang.AssertionError: expected [true] but found [false]
>   at org.testng.Assert.fail(Assert.java:94)
>   at org.testng.Assert.failNotEquals(Assert.java:494)
>   at org.testng.Assert.assertTrue(Assert.java:42)
>   at org.testng.Assert.assertTrue(Assert.java:52)
>   at 
> org.apache.lens.cli.TestLensQueryCommands.downloadResult(TestLensQueryCommands.java:486)
>   at 
> org.apache.lens.cli.TestLensQueryCommands.showPersistentResultSet(TestLensQueryCommands.java:475)
> {noformat}
> Client Logs 
> {noformat}
> @@PERSISTENT_RESULT_TEST-
> @@ RESULT test_dim.id test_dim.name   
> Result available in memory, attaching here: 
> 1 first   
> 1 rows processed in (0) seconds.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-990) Seeing fecthresult failing with ' Expected state FINISHED, but found ERROR' for failed hive queries

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-990.
--

> Seeing fecthresult failing with ' Expected state FINISHED, but found ERROR' 
> for failed hive queries
> ---
>
> Key: LENS-990
> URL: https://issues.apache.org/jira/browse/LENS-990
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.6
>
> Attachments: lens-990.01.patch
>
>
> {noformat}
> 12 Mar 2016 23:30:45 [cd437361-0c14-424d-a6c1-4c276697a977] [StatusPoller] 
> INFO  org.apache.lens.server.api.query.QueryContext - Updating status of 
> cd437361-0c14-424d-a6c1-4c276697a977 from Progress: 0.2000298023224
> Status: RUNNING
> Status Message: Query is running in HiveServer!
> Is Result Set Available: false
> Progress Message: 
> [{"taskId":"Stage-14","type":"MAPREDLOCAL","externalHandle":"Stage-14","taskState":"FINISHED_STATE"},{"taskId":"Stage-12","type":"MAPRED","externalHandle":"job_1456299518471_825588","taskState":"RUNNING_STATE"},{"taskId":"Stage-13","type":"MAPREDLOCAL","externalHandle":"Stage-13","taskState":"UNKNOWN_STATE"},{"taskId":"Stage-3","type":"MAPRED","externalHandle":null,"taskState":"UNKNOWN_STATE"},{"taskId":"Stage-0","type":"MOVE","externalHandle":"Stage-0","taskState":"UNKNOWN_STATE"}]
>  to Progress: 0.2000298023224
> Status: FAILED
> Status Message: Query execution failed!
> Is Result Set Available: false
> Progress Message: 
> [{"taskId":"Stage-14","type":"MAPREDLOCAL","externalHandle":"Stage-14","taskState":"FINISHED_STATE"},{"taskId":"Stage-12","type":"MAPRED","externalHandle":"job_1456299518471_825588","taskState":"FAILED_STATE"},{"taskId":"Stage-13","type":"MAPREDLOCAL","externalHandle":"Stage-13","taskState":"UNKNOWN_STATE"},{"taskId":"Stage-3","type":"MAPRED","externalHandle":null,"taskState":"UNKNOWN_STATE"},{"taskId":"Stage-0","type":"MOVE","externalHandle":"Stage-0","taskState":"UNKNOWN_STATE"}]
> Error Message: Stage-12(MAPRED):job_1456299518471_825588: has failed!
> 12 Mar 2016 23:30:45 [cd437361-0c14-424d-a6c1-4c276697a977] [StatusPoller] 
> INFO  org.apache.lens.server.api.driver.AbstractLensDriver - FetchResultSet: 
> cd437361-0c14-424d-a6c1-4c276697a977
> 12 Mar 2016 23:30:45 [cd437361-0c14-424d-a6c1-4c276697a977] [StatusPoller] 
> INFO  org.apache.lens.driver.hive.HiveDriver - Creating result set for 
> hiveHandle:OperationHandle [opType=EXECUTE_STATEMENT, 
> getHandleIdentifier()=97052772-28d1-41e0-a000-d365a7a36d57]
> 12 Mar 2016 23:30:45 [cd437361-0c14-424d-a6c1-4c276697a977] [StatusPoller] 
> ERROR org.apache.lens.server.query.QueryExecutionServiceImpl - Error while 
> getting result ser form driver hive/prod. Driver result set based purging 
> logic will be ignored
> org.apache.lens.server.api.error.LensException: Error creating result set
> at 
> org.apache.lens.driver.hive.HiveDriver.createResultSet(HiveDriver.java:892) 
> ~[lens-driver-hive-2.6.0-inm.jar:2.6.0-inm]
> at 
> org.apache.lens.driver.hive.HiveDriver.createResultSet(HiveDriver.java:867) 
> ~[lens-driver-hive-2.6.0-inm.jar:2.6.0-inm]
> at 
> org.apache.lens.server.api.driver.AbstractLensDriver.fetchResultSet(AbstractLensDriver.java:68)
>  ~[lens-server-api-2.6.0-inm.jar:2.6.0-inm]
> at 
> org.apache.lens.server.query.QueryExecutionServiceImpl$FinishedQuery.(QueryExecutionServiceImpl.java:540)
>  ~[classes/:na]
> at 
> org.apache.lens.server.query.QueryExecutionServiceImpl.updateFinishedQuery(QueryExecutionServiceImpl.java:861)
>  [classes/:na]
> at 
> org.apache.lens.server.query.QueryExecutionServiceImpl.updateStatus(QueryExecutionServiceImpl.java:903)
>  [classes/:na]
> at 
> org.apache.lens.server.query.QueryExecutionServiceImpl.access$1600(QueryExecutionServiceImpl.java:98)
>  [classes/:na]
> at 
> org.apache.lens.server.query.QueryExecutionServiceImpl$StatusPoller.run(QueryExecutionServiceImpl.java:789)
>  [classes/:na]
> at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72]
> Caused by: org.apache.hive.service.cli.HiveSQLException: Expected state 
> FINISHED, but found ERROR
> at 
> org.apache.hive.service.cli.thrift.ThriftCLIServiceClient.checkStatus(ThriftCLIServiceClient.java:52)
>  ~[hive-service-0.13.4-inm.jar:0.13.4-inm]
> at 
> org.apache.hive.service.cli.thrift.ThriftCLIServiceClient.getResultSetMetadata(ThriftCLIServiceClient.java:371)
>  ~[hive-service-0.13.4-inm.jar:0.13.4-inm]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> ~[na:1.8.0_72]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[na:1.8.0_72]
> at 
> 

[jira] [Closed] (LENS-1038) Streaming and other session related tests

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-1038.
---

> Streaming and other session related tests
> -
>
> Key: LENS-1038
> URL: https://issues.apache.org/jira/browse/LENS-1038
> Project: Apache Lens
>  Issue Type: Test
>  Components: regression
>Reporter: Archana H
>Assignee: Archana H
> Fix For: 2.6
>
> Attachments: LENS-1038_3.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-987) [Server] AlarmService for scheduling time based queries

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-987.
--

> [Server] AlarmService for scheduling time based queries
> ---
>
> Key: LENS-987
> URL: https://issues.apache.org/jira/browse/LENS-987
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Ajay Yadava
>Assignee: Ajay Yadava
> Fix For: 2.6
>
> Attachments: Diff.html, LENS-987-v2.patch, alarmservice-test-fix.patch
>
>
> AlarmService to trigger execution of queries according to a given schedule.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-1232) Update server stop to take thread dump always

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-1232.
---

> Update server stop to take thread dump always
> -
>
> Key: LENS-1232
> URL: https://issues.apache.org/jira/browse/LENS-1232
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: build
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
>Priority: Minor
> Fix For: 2.6
>
> Attachments: LENS-1232.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-914) Read lens API response using GenericType

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-914.
--

> Read lens API response using GenericType 
> -
>
> Key: LENS-914
> URL: https://issues.apache.org/jira/browse/LENS-914
> Project: Apache Lens
>  Issue Type: Task
>  Components: regression
>Reporter: Archana H
>Assignee: Archana H
> Fix For: 2.6
>
> Attachments: LENS-914_3.patch
>
>
> Currently response string is converted to respective class using JAXB. This 
> will be changed to directly read using GenericType.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-1017) Add session config tests to regression

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-1017.
---

> Add session config tests to regression
> --
>
> Key: LENS-1017
> URL: https://issues.apache.org/jira/browse/LENS-1017
> Project: Apache Lens
>  Issue Type: Test
>  Components: regression
>Reporter: Archana H
>Assignee: Archana H
> Fix For: 2.6
>
> Attachments: LENS-1017_3.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-995) QueryContextPriorityComparator should compare the priorities instead of cost

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-995.
--

> QueryContextPriorityComparator should compare the priorities instead of cost
> 
>
> Key: LENS-995
> URL: https://issues.apache.org/jira/browse/LENS-995
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Amareshwari Sriramadasu
>Assignee: Sushil Mohanty
> Fix For: 2.6
>
> Attachments: LENS-995-3.patch
>
>
> Right now, we are comparing queries on query cost and queries with same 
> priority can change position in queue, because of cost values being different.
> Instead we should compare on priority instead of cost sothat the position of 
> query does not change within the same priority bucket.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-1155) Seeing INTERNAL_SERVER_ERROR for JDBC queries due to connection unavailability

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-1155.
---

> Seeing INTERNAL_SERVER_ERROR for JDBC queries due to connection unavailability
> --
>
> Key: LENS-1155
> URL: https://issues.apache.org/jira/browse/LENS-1155
> Project: Apache Lens
>  Issue Type: Bug
>  Components: driver-jdbc
>Reporter: Sushil Mohanty
>Assignee: Sushil Mohanty
> Fix For: 2.6
>
> Attachments: LENS-1155-1.patch
>
>
> When users that are issuing InMemory Queries, the connection is released back 
> to pool only after result set is read completely or after query is purged. 
> For InMemory Queries (not persisted by lens server), the query state is 
> changed to SUCCESSFUL even before connection is released.
> This causes connection pool to throw error for new queries whenever JDBC 
> driver is running at almost full load.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-997) Add kill query tests to regression

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-997.
--

> Add kill query tests to regression
> --
>
> Key: LENS-997
> URL: https://issues.apache.org/jira/browse/LENS-997
> Project: Apache Lens
>  Issue Type: Test
>  Components: regression
>Reporter: Archana H
>Assignee: Archana H
> Fix For: 2.6
>
> Attachments: LENS-997_2.patch, LENS-997_3.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-1004) Add prepared and query API tests

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-1004.
---

> Add prepared and query API tests
> 
>
> Key: LENS-1004
> URL: https://issues.apache.org/jira/browse/LENS-1004
> Project: Apache Lens
>  Issue Type: Test
>  Components: regression
>Reporter: Archana H
>Assignee: Archana H
> Fix For: 2.6
>
> Attachments: LENS-1004_2.patch
>
>
> Adding prepared and query api tests. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (LENS-1171) TestMetastoreService is creating/destroying session in each test

2016-08-18 Thread Archana H (JIRA)

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

Archana H closed LENS-1171.
---

> TestMetastoreService is creating/destroying session in each test
> 
>
> Key: LENS-1171
> URL: https://issues.apache.org/jira/browse/LENS-1171
> Project: Apache Lens
>  Issue Type: Improvement
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1171.01.patch, LENS-1171.02.patch
>
>
> Session can be created at the start and can be destroyed at the end. This 
> will be an improvement wrt test running time. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Review Request 50579: LENS-952 : Bump up enunciate version to work with java 8

2016-08-18 Thread Deepak Barr


> On Aug. 17, 2016, 1:37 p.m., Raju Bairishetti wrote:
> > lens-server/pom.xml, line 416
> > 
> >
> > I feel like we do not need to specify source and target java versions. 
> > Can you verify once?
> > 
> > 
> > Overall Changes looks fine to me.
> 
> Deepak Barr wrote:
> Sure. Let me verify and confirm.

Raju, It does not work if I remove source and target. It fails on both java 7 
and 8.


- Deepak


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


On Aug. 16, 2016, 1:39 p.m., Deepak Barr wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50579/
> ---
> 
> (Updated Aug. 16, 2016, 1:39 p.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: LENS-952
> https://issues.apache.org/jira/browse/LENS-952
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> Bump up enunciate version to work with java 8
> 
> 
> Diffs
> -
> 
>   lens-server/enunciate.xml 7013f13 
>   lens-server/pom.xml 86343fd 
>   pom.xml f7ebee6 
> 
> Diff: https://reviews.apache.org/r/50579/diff/
> 
> 
> Testing
> ---
> 
> Yes.
> Ran "mvn clean install -Penunciate" successfully.
> 
> 
> Thanks,
> 
> Deepak Barr
> 
>