[jira] [Commented] (LENS-996) Improvements in filters of query list api

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-996:


Applied patch: 
[LENS-996.08.patch|https://issues.apache.org/jira/secure/attachment/12819881/LENS-996.08.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/734/

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch, 
> LENS-996.08.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


[jira] [Updated] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-955:
-
Status: Patch Available  (was: In Progress)

> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-955.patch, test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Updated] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-955:
-
Attachment: LENS-955.patch

Straight forward patch

> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-955.patch, test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Commented] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on LENS-955:
--

Looking at the logs available at 
https://builds.apache.org/job/PreCommit-Lens-Build/724/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/
 : 

{noformat}
25 Jul 2016 10:39:54 [52bb64a8-7494-437b-b247-2fc6383573a2] 
[Event_Service_Thread-2] INFO  
org.apache.lens.server.query.QueryExecutionServiceImpl$QueryStatusLogger - 
QueryEvent: QueryFailed:{id: c5ba15e0-21fa-47b4-a120-5bad317f6f3c, 
query:0ae14ad4-f272-4687-b124-8cfd851827ad, change:[QUEUED -> FAILED]} 
cause:Launching query failed
 Reason:
Simulated Launch Failure
25 Jul 2016 10:39:54 [52bb64a8-7494-437b-b247-2fc6383573a2] 
[GenericEventListener_AsyncThread-1] INFO  
org.apache.lens.server.query.TestEventService - LensEvent: 
c5ba15e0-21fa-47b4-a120-5bad317f6f3c
25 Jul 2016 10:39:54 [52bb64a8-7494-437b-b247-2fc6383573a2] 
[GenericEventListener_AsyncThread-1] INFO  
org.apache.lens.server.query.TestEventService - LensEvent: 
queryExecutionStatistics
25 Jul 2016 10:39:54 [0ae14ad4-f272-4687-b124-8cfd851827ad] 
[QueryEndNotifier_AsyncThread-3] INFO  
org.apache.lens.server.query.QueryEndNotifier - Sending completion email for 
query handle: 0ae14ad4-f272-4687-b124-8cfd851827ad
25 Jul 2016 10:39:54 [326b8ed8-c4d9-4044-9541-86db58eefef1] 
[LogStatisticsStore_AsyncThread-1] INFO  
org.apache.lens.server.stats.event.query.QueryExecutionStatistics - 
{"eventTime":1469443194994,"handle":"0ae14ad4-f272-4687-b124-8cfd851827ad","userQuery":"select
 fail from 
non_exist","submitter":"foo","clusterUser":"testlensuser","sessionId":"dee4686f-852e-488e-a646-fd2243c95151","submissionTime":1469443194936,"startTime":0,"endTime":1469443194993,"status":{"fieldsToAppend":[{"name":"Progress","value":0.0},{"name":"Queue
 Number"},{"name":"Status","value":"FAILED"},{"name":"Status 
Message","value":"Launching query failed"},{"name":"Is Result Set 
Available","value":false},{"name":"Progress Message"},{"name":"Error 
Message","value":"Simulated Launch 
Failure"}],"progress":0.0,"status":"FAILED","statusMessage":"Launching query 
failed","errorMessage":"Simulated Launch 
Failure","resultSetAvailable":false,"errorCode":1001,"lensErrorTOErrorMsg":"Internal
 Server Error."},"cause":"Launching query failed\n Reason:\nSimulated Launch 
Failure","driverStats":{"driverQuery":"select fail from 
non_exist","startTime":0,"endTime":0},"eventId":"queryExecutionStatistics"}
25 Jul 2016 10:39:54 [0ae14ad4-f272-4687-b124-8cfd851827ad] 
[dee4686f-852e-488e-a646-fd2243c95151 grizzly-http-server-0] INFO  
org.apache.lens.server.session.LensSessionImpl - Adding 
0ae14ad4-f272-4687-b124-8cfd851827ad to active queries for session 
dee4686f-852e-488e-a646-fd2243c95151
25 Jul 2016 10:39:54 [0ae14ad4-f272-4687-b124-8cfd851827ad] 
[dee4686f-852e-488e-a646-fd2243c95151 grizzly-http-server-0] INFO  
org.apache.lens.server.query.QueryExecutionServiceImpl - Returning handle 
0ae14ad4-f272-4687-b124-8cfd851827ad
25 Jul 2016 10:39:54 [0ae14ad4-f272-4687-b124-8cfd851827ad] 
[dee4686f-852e-488e-a646-fd2243c95151 grizzly-http-server-0] INFO  
org.apache.hadoop.hive.conf.HiveConf - Using the default value passed in for 
log id: dee4686f-852e-488e-a646-fd2243c95151
25 Jul 2016 10:39:54 [52bb64a8-7494-437b-b247-2fc6383573a2] 
[Event_Service_Thread-3] INFO  org.apache.lens.server.query.TestEventService - 
Query Failed event: QueryEvent: QueryFailed:{id: 
84089920-3f31-468c-a1d4-03eea0fdf38f, 
query:0ae14ad4-f272-4687-b124-8cfd851827ad, change:[NEW -> FAILED]} 
cause:Launching query failed
 Reason:
Simulated Launch Failure
{noformat}

The order of execution in querysubmitter and grizzly thread returning handle 
are mixed up.

> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


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

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1232:
-

Applied patch: 
[LENS-1232.patch|https://issues.apache.org/jira/secure/attachment/12820096/LENS-1232.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/735/

> 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] [Updated] (LENS-1178) lens-cli tests broken in master

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1178:
--
Affects Version/s: 2.6
Fix Version/s: 2.6

> lens-cli tests broken in master
> ---
>
> Key: LENS-1178
> URL: https://issues.apache.org/jira/browse/LENS-1178
> Project: Apache Lens
>  Issue Type: Bug
>Affects Versions: 2.6
>Reporter: Rajat Khandelwal
>Assignee: Puneet Gupta
> Fix For: 2.6
>
>
> https://builds.apache.org/job/PreCommit-Lens-Build/555/



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


[jira] [Commented] (LENS-1178) lens-cli tests broken in master

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on LENS-1178:
---

One more build where tests have failed : 
https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-cli/214/testReport/junit/org.apache.lens.cli/TestLensQueryCommands/showPersistentResultSet/

Error Message

expected [true] but found [false]
Stacktrace

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:485)
at 
org.apache.lens.cli.TestLensQueryCommands.showPersistentResultSet(TestLensQueryCommands.java:474)
Standard Output

@@PERSISTENT_RESULT_TEST-
@@ RESULT test_dim.id   test_dim.name   
Result available in memory, attaching here: 

1   first   
1 rows processed in (0) seconds.



> lens-cli tests broken in master
> ---
>
> Key: LENS-1178
> URL: https://issues.apache.org/jira/browse/LENS-1178
> Project: Apache Lens
>  Issue Type: Bug
>Affects Versions: 2.6
>Reporter: Rajat Khandelwal
>Assignee: Puneet Gupta
> Fix For: 2.6
>
>
> https://builds.apache.org/job/PreCommit-Lens-Build/555/



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


[jira] [Work started] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Work on LENS-955 started by Amareshwari Sriramadasu.

> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Assigned] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu reassigned LENS-955:


Assignee: Amareshwari Sriramadasu

> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Commented] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on LENS-955:
--

Seeing two events are getting raised for same failure, thus sending email 
notification twice :
25 Jul 2016 10:39:54 [52bb64a8-7494-437b-b247-2fc6383573a2] 
[Event_Service_Thread-2] INFO  org.apache.lens.server.query.TestEventService - 
Query Failed event: QueryEvent: QueryFailed:{id: 
c5ba15e0-21fa-47b4-a120-5bad317f6f3c, 
query:0ae14ad4-f272-4687-b124-8cfd851827ad, change:[QUEUED -> FAILED]} 
cause:Launching query failed

25 Jul 2016 10:39:54 [52bb64a8-7494-437b-b247-2fc6383573a2] 
[Event_Service_Thread-3] INFO  org.apache.lens.server.query.TestEventService - 
Query Failed event: QueryEvent: QueryFailed:{id: 
84089920-3f31-468c-a1d4-03eea0fdf38f, 
query:0ae14ad4-f272-4687-b124-8cfd851827ad, change:[NEW -> FAILED]} 
cause:Launching query failed


> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Commented] (LENS-1228) TestQueryConstraints test fails

2016-07-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1228:
--

UNSTABLE: Integrated in Lens-Commit-Java8 #214 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/214/])
LENS-1228 : Fix TestQueryConstraints test failure (amareshwari: rev 
c5dd7de4b69f7454539cb7147d9d1bfade7e34d5)
* lens-server/src/test/java/org/apache/lens/server/TestLensApplication.java
* 
lens-server/src/main/java/org/apache/lens/server/query/collect/DefaultEstimatedQueryCollection.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryContext.java
* 
lens-server/src/test/java/org/apache/lens/server/query/TestQueryIndependenceFromSessionClose.java
* 
lens-server/src/test/java/org/apache/lens/server/query/TestQueryConstraints.java
* 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java


> TestQueryConstraints test fails
> ---
>
> Key: LENS-1228
> URL: https://issues.apache.org/jira/browse/LENS-1228
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1228.2.patch, LENS-1228.3.patch, LENS-1228.patch
>
>
> Seeing TestQueryConstraints tests are failing :
> https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-server/211/testReport/junit/org.apache.lens.server.query/TestQueryConstraints/testThrottling_2/



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


[jira] [Commented] (LENS-1228) TestQueryConstraints test fails

2016-07-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1228:
--

UNSTABLE: Integrated in Lens-Commit #1302 (See 
[https://builds.apache.org/job/Lens-Commit/1302/])
LENS-1228 : Fix TestQueryConstraints test failure (amareshwari: rev 
c5dd7de4b69f7454539cb7147d9d1bfade7e34d5)
* lens-server/src/test/java/org/apache/lens/server/TestLensApplication.java
* 
lens-server/src/test/java/org/apache/lens/server/query/TestQueryIndependenceFromSessionClose.java
* 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryContext.java
* 
lens-server/src/main/java/org/apache/lens/server/query/collect/DefaultEstimatedQueryCollection.java
* 
lens-server/src/test/java/org/apache/lens/server/query/TestQueryConstraints.java


> TestQueryConstraints test fails
> ---
>
> Key: LENS-1228
> URL: https://issues.apache.org/jira/browse/LENS-1228
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1228.2.patch, LENS-1228.3.patch, LENS-1228.patch
>
>
> Seeing TestQueryConstraints tests are failing :
> https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-server/211/testReport/junit/org.apache.lens.server.query/TestQueryConstraints/testThrottling_2/



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


[jira] [Commented] (LENS-1199) NPE while closing session

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1199:
-

Applied patch: 
[LENS-1199.patch|https://issues.apache.org/jira/secure/attachment/12816178/LENS-1199.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/733/

> NPE while closing session
> -
>
> Key: LENS-1199
> URL: https://issues.apache.org/jira/browse/LENS-1199
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Raju Bairishetti
> Fix For: 2.6
>
> Attachments: LENS-1199.patch
>
>
> Close session fails with 500.
> Seeing the following in server logs :
> {noformat}
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] INFO  
> org.apache.lens.server.BaseLensService - Closed session  encoding="UTF-8" 
> standalone="yes"?>e319efea-fd05-401a-91c9-c94ee8409dcf76942b08-b549-430f-834b-ae39514c6a91
>  for anonymous user
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] ERROR 
> org.apache.lens.server.LensRequestListener - Encountered HTTP exception
> org.glassfish.jersey.server.internal.process.MappableException: 
> java.lang.NullPointerException
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.mapTargetToRuntimeEx(AbstractJavaResourceMethodDispatcher.java:179)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.access$200(AbstractJavaResourceMethodDispatcher.java:72)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:149)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) 
> ~[jersey-server-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
>  [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
> [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
>  [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)
>  [jersey-container-grizzly2-http-2.22.1.jar:na]
> at 
> org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224) 
> [grizzly-http-server-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66]
> Caused by: java.lang.NullPointerException: null
> at 
> 

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

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1232:
--
Status: Patch Available  (was: Open)

> 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] [Updated] (LENS-1232) Update server stop to take thread dump always

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1232:
--
Attachment: LENS-1232.patch

straight forward patch. Attaching directly

> 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] [Created] (LENS-1233) org.apache.lens.cube.parse.TestCubeRewriter.testQueryWithContinuousUpdatePeriod fails intermittently

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)
Amareshwari Sriramadasu created LENS-1233:
-

 Summary: 
org.apache.lens.cube.parse.TestCubeRewriter.testQueryWithContinuousUpdatePeriod 
fails intermittently
 Key: LENS-1233
 URL: https://issues.apache.org/jira/browse/LENS-1233
 Project: Apache Lens
  Issue Type: Bug
  Components: cube, test
Reporter: Amareshwari Sriramadasu


Error Message

CANNOT_USE_TIMERANGE_WRITER[Partitions are in different update periods]
Stacktrace

org.apache.lens.server.api.error.LensException: 
CANNOT_USE_TIMERANGE_WRITER[Partitions are in different update periods]
at 
org.apache.lens.cube.parse.BetweenTimeRangeWriter.getTimeRangeWhereClause(BetweenTimeRangeWriter.java:67)
at 
org.apache.lens.cube.parse.StorageTableResolver.resolveFactStoragePartitions(StorageTableResolver.java:492)
at 
org.apache.lens.cube.parse.StorageTableResolver.rewriteContext(StorageTableResolver.java:138)
at 
org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:229)
at 
org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:199)
at 
org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:215)
at 
org.apache.lens.cube.parse.TestQueryRewrite.rewriteCtx(TestQueryRewrite.java:92)
at 
org.apache.lens.cube.parse.TestCubeRewriter.testQueryWithContinuousUpdatePeriod(TestCubeRewriter.java:96)



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


[jira] [Updated] (LENS-1230) Queue number in query status should also show queue number specific to a priority bucket

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1230:
--
Component/s: server
 Issue Type: Improvement  (was: Bug)
Summary: Queue number in query status should also show queue number 
specific to a priority bucket  (was: Queue number in query status should alss 
show queue number specific to a priority bucket)

> Queue number in query status should also show queue number specific to a 
> priority bucket
> 
>
> Key: LENS-1230
> URL: https://issues.apache.org/jira/browse/LENS-1230
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Puneet Gupta
>




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


[jira] [Commented] (LENS-996) Improvements in filters of query list api

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-996:


Applied patch: 
[LENS-996.08.patch|https://issues.apache.org/jira/secure/attachment/12819881/LENS-996.08.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/732/

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch, 
> LENS-996.08.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


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

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)
Amareshwari Sriramadasu created LENS-1232:
-

 Summary: 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






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


[jira] [Updated] (LENS-1229) Store/Show cancellation reason when a query is cancelled

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1229:
--
Component/s: server
 Issue Type: New Feature  (was: Bug)

> Store/Show cancellation reason when a query is cancelled
> 
>
> Key: LENS-1229
> URL: https://issues.apache.org/jira/browse/LENS-1229
> Project: Apache Lens
>  Issue Type: New Feature
>  Components: server
>Reporter: Puneet Gupta
>
> 1. Cancelled by User 
> 2. Timeout 
> 3. Cancelled by Admin 



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


[jira] [Updated] (LENS-1231) Show query wait reason to user

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1231:
--
Component/s: server
 Issue Type: New Feature  (was: Bug)

> Show query wait reason to user 
> ---
>
> Key: LENS-1231
> URL: https://issues.apache.org/jira/browse/LENS-1231
> Project: Apache Lens
>  Issue Type: New Feature
>  Components: server
>Reporter: Puneet Gupta
>
> 1. Cluster capacity reached
> 2. User quota reached
> 3. Driver Limit reached
> etc



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


[jira] [Commented] (LENS-1228) TestQueryConstraints test fails

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on LENS-1228:
---

Build passed locally :
{noformat}
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Lens Checkstyle Rules . SUCCESS [1.872s]
[INFO] Lens .. SUCCESS [2.983s]
[INFO] Lens API .. SUCCESS [21.770s]
[INFO] Lens API for server and extensions  SUCCESS [17.187s]
[INFO] Lens Cube . SUCCESS [14:41.078s]
[INFO] Lens DB storage ... SUCCESS [15.978s]
[INFO] Lens Query Library  SUCCESS [12.735s]
[INFO] Lens Hive Driver .. SUCCESS [1:22.842s]
[INFO] Lens Driver for JDBC .. SUCCESS [36.114s]
[INFO] Lens Elastic Search Driver  SUCCESS [21.131s]
[INFO] Lens Server ... SUCCESS [13:19.686s]
[INFO] Lens client ... SUCCESS [1:29.974s]
[INFO] Lens CLI .. SUCCESS [1:18.124s]
[INFO] Lens Examples . SUCCESS [8.732s]
[INFO] Lens Ship Jars to Distributed Cache ... SUCCESS [0.730s]
[INFO] Lens Distribution . SUCCESS [9.293s]
[INFO] Lens ML Lib ... SUCCESS [1:10.020s]
[INFO] Lens ML Ext Distribution .. SUCCESS [2.560s]
[INFO] Lens Regression ... SUCCESS [10.989s]
[INFO] Lens UI ... SUCCESS [27.007s]
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 36:31.700s
[INFO] Finished at: Tue Jul 26 02:24:10 UTC 2016
[INFO] Final Memory: 216M/2916M
[INFO] 
{noformat}

> TestQueryConstraints test fails
> ---
>
> Key: LENS-1228
> URL: https://issues.apache.org/jira/browse/LENS-1228
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1228.2.patch, LENS-1228.3.patch, LENS-1228.patch
>
>
> Seeing TestQueryConstraints tests are failing :
> https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-server/211/testReport/junit/org.apache.lens.server.query/TestQueryConstraints/testThrottling_2/



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


[jira] [Commented] (LENS-1228) TestQueryConstraints test fails

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1228:
-

Applied patch: 
[LENS-1228.3.patch|https://issues.apache.org/jira/secure/attachment/12820077/LENS-1228.3.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/731/

> TestQueryConstraints test fails
> ---
>
> Key: LENS-1228
> URL: https://issues.apache.org/jira/browse/LENS-1228
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1228.2.patch, LENS-1228.3.patch, LENS-1228.patch
>
>
> Seeing TestQueryConstraints tests are failing :
> https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-server/211/testReport/junit/org.apache.lens.server.query/TestQueryConstraints/testThrottling_2/



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


[jira] [Commented] (LENS-1228) TestQueryConstraints test fails

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1228:
-

Applied patch: 
[LENS-1228.3.patch|https://issues.apache.org/jira/secure/attachment/12820077/LENS-1228.3.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/730/

> TestQueryConstraints test fails
> ---
>
> Key: LENS-1228
> URL: https://issues.apache.org/jira/browse/LENS-1228
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1228.2.patch, LENS-1228.3.patch, LENS-1228.patch
>
>
> Seeing TestQueryConstraints tests are failing :
> https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-server/211/testReport/junit/org.apache.lens.server.query/TestQueryConstraints/testThrottling_2/



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


[jira] [Updated] (LENS-1228) TestQueryConstraints test fails

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1228:
--
Attachment: LENS-1228.3.patch

Fixes the test TestQueryConstraint

> TestQueryConstraints test fails
> ---
>
> Key: LENS-1228
> URL: https://issues.apache.org/jira/browse/LENS-1228
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1228.2.patch, LENS-1228.3.patch, LENS-1228.patch
>
>
> Seeing TestQueryConstraints tests are failing :
> https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-server/211/testReport/junit/org.apache.lens.server.query/TestQueryConstraints/testThrottling_2/



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


[jira] [Commented] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-128:
-

FAILURE: Integrated in Lens-Commit #1301 (See 
[https://builds.apache.org/job/Lens-Commit/1301/])
LENS-128: SchedulerServiceImpl for scheduler. (rajatgupta59: rev 
1a96948eeeb6433b7b2345cea08694b631db)
* lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java
* 
lens-server/src/test/java/org/apache/lens/server/scheduler/AlarmServiceTest.java
* 
lens-server/src/main/java/org/apache/lens/server/scheduler/ScheduleResource.java
* lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobStatus.java
* lens-server/src/main/resources/lensserver-default.xml
* 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceState.java
* 
lens-server/src/test/java/org/apache/lens/server/scheduler/SchedulerDAOTest.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/StateMachine.java
* lens-server/src/main/java/org/apache/lens/server/scheduler/AlarmService.java
* src/site/apt/admin/config.apt
* 
lens-server-api/src/main/java/org/apache/lens/server/api/error/InvalidStateTransitionException.java
* 
lens-server/src/main/java/org/apache/lens/server/scheduler/state/SchedulerJobState.java
* 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerQueryEventListener.java
* 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceStatus.java
* lens-cube/src/main/java/org/apache/lens/cube/parse/TimerangeResolver.java
* lens-server/src/main/java/org/apache/lens/server/BaseLensService.java
* 
lens-server/src/main/java/org/apache/lens/server/scheduler/state/SchedulerJobInstanceState.java
* 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceInfo.java
* 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceRun.java
* lens-server/src/main/java/org/apache/lens/server/util/UtilityMethods.java
* lens-server/src/main/java/org/apache/lens/server/LensServices.java
* 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceEvent.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/events/SchedulerAlarmEvent.java
* 
lens-server/src/main/java/org/apache/lens/server/scheduler/util/UtilityMethods.java
* 
lens-api/src/main/java/org/apache/lens/api/error/InvalidStateTransitionException.java
* lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobEvent.java
* lens-api/src/main/java/org/apache/lens/api/scheduler/StateTransitioner.java
* 
lens-server/src/test/java/org/apache/lens/server/scheduler/TestSchedulerServiceImpl.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java
* 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java
* 
lens-cube/src/test/java/org/apache/lens/cube/parse/FieldsCannotBeQueriedTogetherTest.java
* lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInfo.java
* 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerEventListener.java
* lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobState.java
* lens-cube/src/test/java/org/apache/lens/cube/parse/TestTimeRangeResolver.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/SchedulerService.java
* 
lens-server/src/main/java/org/apache/lens/server/metrics/MetricsServiceImpl.java
* lens-server/src/main/java/org/apache/lens/server/session/LensSessionImpl.java
* 
lens-server/src/main/java/org/apache/lens/server/scheduler/notification/services/AlarmService.java
* 
lens-server/src/test/java/org/apache/lens/server/scheduler/notification/services/AlarmServiceTest.java


> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
> Attachments: core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Commented] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-128:
-

FAILURE: Integrated in Lens-Commit-Java8 #213 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/213/])
LENS-128: SchedulerServiceImpl for scheduler. (rajatgupta59: rev 
1a96948eeeb6433b7b2345cea08694b631db)
* 
lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/StateMachine.java
* 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceRun.java
* 
lens-server/src/test/java/org/apache/lens/server/scheduler/SchedulerDAOTest.java
* 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceState.java
* 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceStatus.java
* 
lens-server/src/test/java/org/apache/lens/server/scheduler/notification/services/AlarmServiceTest.java
* lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java
* 
lens-api/src/main/java/org/apache/lens/api/error/InvalidStateTransitionException.java
* 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerQueryEventListener.java
* 
lens-cube/src/test/java/org/apache/lens/cube/parse/FieldsCannotBeQueriedTogetherTest.java
* lens-server/src/main/java/org/apache/lens/server/session/LensSessionImpl.java
* 
lens-server/src/main/java/org/apache/lens/server/scheduler/util/UtilityMethods.java
* 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceEvent.java
* 
lens-server/src/main/java/org/apache/lens/server/scheduler/state/SchedulerJobInstanceState.java
* 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerEventListener.java
* src/site/apt/admin/config.apt
* 
lens-server-api/src/main/java/org/apache/lens/server/api/events/SchedulerAlarmEvent.java
* 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceInfo.java
* lens-server/src/main/java/org/apache/lens/server/LensServices.java
* lens-cube/src/test/java/org/apache/lens/cube/parse/TestTimeRangeResolver.java
* 
lens-server/src/main/java/org/apache/lens/server/scheduler/state/SchedulerJobState.java
* lens-server/src/main/java/org/apache/lens/server/BaseLensService.java
* lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobEvent.java
* lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInfo.java
* 
lens-server/src/main/java/org/apache/lens/server/metrics/MetricsServiceImpl.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/SchedulerService.java
* lens-server/src/main/java/org/apache/lens/server/scheduler/AlarmService.java
* 
lens-server/src/test/java/org/apache/lens/server/scheduler/TestSchedulerServiceImpl.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/error/InvalidStateTransitionException.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java
* lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobStatus.java
* lens-server/src/main/java/org/apache/lens/server/util/UtilityMethods.java
* 
lens-server/src/main/java/org/apache/lens/server/scheduler/notification/services/AlarmService.java
* 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java
* 
lens-server/src/main/java/org/apache/lens/server/scheduler/ScheduleResource.java
* lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobState.java
* lens-api/src/main/java/org/apache/lens/api/scheduler/StateTransitioner.java
* lens-server/src/main/resources/lensserver-default.xml
* lens-cube/src/main/java/org/apache/lens/cube/parse/TimerangeResolver.java
* 
lens-server/src/test/java/org/apache/lens/server/scheduler/AlarmServiceTest.java


> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
> Attachments: core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Commented] (LENS-996) Improvements in filters of query list api

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-996:


Applied patch: 
[LENS-996.08.patch|https://issues.apache.org/jira/secure/attachment/12819881/LENS-996.08.patch],
 
[LENS-1228.2.patch|https://issues.apache.org/jira/secure/attachment/12819907/LENS-1228.2.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/728/

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch, 
> LENS-996.08.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


[jira] [Commented] (LENS-1199) NPE while closing session

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1199:
-

Applied patch: 
[LENS-1199.patch|https://issues.apache.org/jira/secure/attachment/12816178/LENS-1199.patch],
 
[LENS-1228.2.patch|https://issues.apache.org/jira/secure/attachment/12819907/LENS-1228.2.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/729/

> NPE while closing session
> -
>
> Key: LENS-1199
> URL: https://issues.apache.org/jira/browse/LENS-1199
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Raju Bairishetti
> Fix For: 2.6
>
> Attachments: LENS-1199.patch
>
>
> Close session fails with 500.
> Seeing the following in server logs :
> {noformat}
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] INFO  
> org.apache.lens.server.BaseLensService - Closed session  encoding="UTF-8" 
> standalone="yes"?>e319efea-fd05-401a-91c9-c94ee8409dcf76942b08-b549-430f-834b-ae39514c6a91
>  for anonymous user
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] ERROR 
> org.apache.lens.server.LensRequestListener - Encountered HTTP exception
> org.glassfish.jersey.server.internal.process.MappableException: 
> java.lang.NullPointerException
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.mapTargetToRuntimeEx(AbstractJavaResourceMethodDispatcher.java:179)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.access$200(AbstractJavaResourceMethodDispatcher.java:72)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:149)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) 
> ~[jersey-server-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
>  [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
> [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
>  [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)
>  [jersey-container-grizzly2-http-2.22.1.jar:na]
> at 
> org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224) 
> [grizzly-http-server-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at java.lang.Thread.run(Thread.java:745) 

[jira] [Commented] (LENS-1228) TestQueryConstraints test fails

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1228:
-

Applied patch: 
[LENS-1228.2.patch|https://issues.apache.org/jira/secure/attachment/12819907/LENS-1228.2.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/727/

> TestQueryConstraints test fails
> ---
>
> Key: LENS-1228
> URL: https://issues.apache.org/jira/browse/LENS-1228
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1228.2.patch, LENS-1228.patch
>
>
> Seeing TestQueryConstraints tests are failing :
> https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-server/211/testReport/junit/org.apache.lens.server.query/TestQueryConstraints/testThrottling_2/



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


[jira] [Commented] (LENS-1228) TestQueryConstraints test fails

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1228:
-

Applied patch: 
[LENS-1228.2.patch|https://issues.apache.org/jira/secure/attachment/12819907/LENS-1228.2.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/726/

> TestQueryConstraints test fails
> ---
>
> Key: LENS-1228
> URL: https://issues.apache.org/jira/browse/LENS-1228
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1228.2.patch, LENS-1228.patch
>
>
> Seeing TestQueryConstraints tests are failing :
> https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-server/211/testReport/junit/org.apache.lens.server.query/TestQueryConstraints/testThrottling_2/



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


[jira] [Created] (LENS-1231) Show query wait reason to user

2016-07-25 Thread Puneet Gupta (JIRA)
Puneet Gupta created LENS-1231:
--

 Summary: Show query wait reason to user 
 Key: LENS-1231
 URL: https://issues.apache.org/jira/browse/LENS-1231
 Project: Apache Lens
  Issue Type: Bug
Reporter: Puneet Gupta


1. Cluster capacity reached
2. User quota reached
3. Driver Limit reached
etc





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


[jira] [Created] (LENS-1230) Queue number in query status should alss show queue number specific to a priority bucket

2016-07-25 Thread Puneet Gupta (JIRA)
Puneet Gupta created LENS-1230:
--

 Summary: Queue number in query status should alss show queue 
number specific to a priority bucket
 Key: LENS-1230
 URL: https://issues.apache.org/jira/browse/LENS-1230
 Project: Apache Lens
  Issue Type: Bug
Reporter: Puneet Gupta






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


[jira] [Created] (LENS-1229) Store/Show cancellation reason when a query is cancelled

2016-07-25 Thread Puneet Gupta (JIRA)
Puneet Gupta created LENS-1229:
--

 Summary: Store/Show cancellation reason when a query is cancelled
 Key: LENS-1229
 URL: https://issues.apache.org/jira/browse/LENS-1229
 Project: Apache Lens
  Issue Type: Bug
Reporter: Puneet Gupta


1. Cancelled by User 
2. Timeout 
3. Cancelled by Admin 




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


[jira] [Commented] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-25 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-128:
---

Committed. Thanks [~lavkesh]

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
> Attachments: core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Updated] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-25 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal updated LENS-128:
--
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
> Attachments: core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Updated] (LENS-1228) TestQueryConstraints test fails

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1228:
--
Attachment: LENS-1228.2.patch

Updated setup and teardown in TestQueryConstraints, TestLensApplication and 
TestQueryIndependenceFromSessionClose tests

> TestQueryConstraints test fails
> ---
>
> Key: LENS-1228
> URL: https://issues.apache.org/jira/browse/LENS-1228
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1228.2.patch, LENS-1228.patch
>
>
> Seeing TestQueryConstraints tests are failing :
> https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-server/211/testReport/junit/org.apache.lens.server.query/TestQueryConstraints/testThrottling_2/



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


[jira] [Commented] (LENS-1199) NPE while closing session

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1199:
-

Applied patch: 
[LENS-1199.patch|https://issues.apache.org/jira/secure/attachment/12816178/LENS-1199.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/725/

> NPE while closing session
> -
>
> Key: LENS-1199
> URL: https://issues.apache.org/jira/browse/LENS-1199
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Raju Bairishetti
> Fix For: 2.6
>
> Attachments: LENS-1199.patch
>
>
> Close session fails with 500.
> Seeing the following in server logs :
> {noformat}
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] INFO  
> org.apache.lens.server.BaseLensService - Closed session  encoding="UTF-8" 
> standalone="yes"?>e319efea-fd05-401a-91c9-c94ee8409dcf76942b08-b549-430f-834b-ae39514c6a91
>  for anonymous user
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] ERROR 
> org.apache.lens.server.LensRequestListener - Encountered HTTP exception
> org.glassfish.jersey.server.internal.process.MappableException: 
> java.lang.NullPointerException
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.mapTargetToRuntimeEx(AbstractJavaResourceMethodDispatcher.java:179)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.access$200(AbstractJavaResourceMethodDispatcher.java:72)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:149)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) 
> ~[jersey-server-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
>  [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
> [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
>  [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)
>  [jersey-container-grizzly2-http-2.22.1.jar:na]
> at 
> org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224) 
> [grizzly-http-server-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66]
> Caused by: java.lang.NullPointerException: null
> at 
> 

[jira] [Commented] (LENS-1178) lens-cli tests broken in master

2016-07-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta commented on LENS-1178:


[~prongs]
Attached link is inactive . Can you attach some details here 

> lens-cli tests broken in master
> ---
>
> Key: LENS-1178
> URL: https://issues.apache.org/jira/browse/LENS-1178
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Rajat Khandelwal
>Assignee: Puneet Gupta
>
> https://builds.apache.org/job/PreCommit-Lens-Build/555/



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


[jira] [Commented] (LENS-996) Improvements in filters of query list api

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-996:


Applied patch: 
[LENS-996.08.patch|https://issues.apache.org/jira/secure/attachment/12819881/LENS-996.08.patch],
 
[LENS-1228.patch|https://issues.apache.org/jira/secure/attachment/12819875/LENS-1228.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/724/

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch, 
> LENS-996.08.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


[jira] [Commented] (LENS-1221) Saved Query service is unable to initialize

2016-07-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1221:
--

UNSTABLE: Integrated in Lens-Commit #1300 (See 
[https://builds.apache.org/job/Lens-Commit/1300/])
LENS-1221: Saved Query service is unable to initialize (rajatgupta59: rev 
3780744f87e89839d7d51ce069d5e84c66ca6740)
* lens-server/src/main/java/org/apache/lens/server/query/save/SavedQueryDao.java


> Saved Query service is unable to initialize
> ---
>
> Key: LENS-1221
> URL: https://issues.apache.org/jira/browse/LENS-1221
> Project: Apache Lens
>  Issue Type: Task
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1221.2016-07-19_17:00:08.patch, 
> LENS-1221.2016-07-19_17:05:29.patch
>
>
> {noformat}
> 19 Jul 2016 11:16:48 [d691692a-8ef7-4a34-b2b7-d555e89b0d18] [main] ERROR 
> org.apache.lens.server.LensServer - Error while creating Lens server
> java.lang.RuntimeException: Cannot initialize saved query service
> at 
> org.apache.lens.server.query.save.SavedQueryServiceImpl.init(SavedQueryServiceImpl.java:75)
>  ~[classes/:na]
> at 
> org.apache.hive.service.CompositeService.init(CompositeService.java:59) 
> ~[hive-service-2.1.2-inm.jar:2.1.2-inm]
> at org.apache.lens.server.LensServices.init(LensServices.java:252) 
> ~[classes/:na]
> at 
> org.apache.lens.server.LensServer.startServices(LensServer.java:134) 
> ~[classes/:na]
> at org.apache.lens.server.LensServer.(LensServer.java:85) 
> ~[classes/:na]
> at 
> org.apache.lens.server.LensServer.createLensServer(LensServer.java:74) 
> ~[classes/:na]
> at org.apache.lens.server.LensServer.main(LensServer.java:190) 
> ~[classes/:na]
> Caused by: org.apache.lens.server.api.error.LensException: Error initializing 
> saved query dao
> at 
> org.apache.lens.server.query.save.SavedQueryDao.(SavedQueryDao.java:72) 
> ~[classes/:na]
> at 
> org.apache.lens.server.query.save.SavedQueryServiceImpl.init(SavedQueryServiceImpl.java:70)
>  ~[classes/:na]
> ... 6 common frames omitted
> Caused by: org.apache.lens.server.api.error.LensException: Cannot create 
> saved query table!
> at 
> org.apache.lens.server.query.save.SavedQueryDao.createSavedQueryTableIfNotExists(SavedQueryDao.java:85)
>  ~[classes/:na]
> at 
> org.apache.lens.server.query.save.SavedQueryDao.(SavedQueryDao.java:70) 
> ~[classes/:na]
> ... 7 common frames omitted
> Caused by: java.sql.SQLException: Invalid default value for 'updated_at' 
> Query: CREATE TABLE IF NOT EXISTS saved_query (id int(11) NOT NULL 
> AUTO_INCREMENT,name varchar(255) NOT NULL,description varchar(255) DEFAULT 
> NULL,query longtext,params_json longtext,created_at timestamp,updated_at 
> timestamp,  PRIMARY KEY (id)) Parameters: []
> at 
> org.apache.commons.dbutils.AbstractQueryRunner.rethrow(AbstractQueryRunner.java:363)
>  ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:490) 
> ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:420) 
> ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.lens.server.query.save.SavedQueryDao.createSavedQueryTableIfNotExists(SavedQueryDao.java:83)
>  ~[classes/:na]
> ... 8 common frames omitted
> 19 Jul 2016 11:16:48 [d691692a-8ef7-4a34-b2b7-d555e89b0d18] [main] INFO  
> org.apache.lens.server.LensServices - Stopping lens server
> 19 Jul 2016 11:16:48 [d691692a-8ef7-4a34-b2b7-d555e89b0d18] [main] ERROR 
> org.apache.lens.server.LensServer - Error stopping services
> {noformat}



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


[jira] [Commented] (LENS-1202) Add client side iterator for result in python client

2016-07-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1202:
--

UNSTABLE: Integrated in Lens-Commit #1300 (See 
[https://builds.apache.org/job/Lens-Commit/1300/])
LENS-1202: Add client side iterator for result in python client (rajatgupta59: 
rev acb32d5400a61037c575dae44b31a884ff6773a7)
* contrib/clients/python/lens/client/query.py
* contrib/clients/python/lens/client/main.py
* contrib/clients/python/test/test_lensclient.py
* contrib/clients/python/lens/client/session.py
* contrib/clients/python/lens/client/models.py
* contrib/clients/python/README.md


> Add client side iterator for result in python client
> 
>
> Key: LENS-1202
> URL: https://issues.apache.org/jira/browse/LENS-1202
> Project: Apache Lens
>  Issue Type: New Feature
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1202.03.patch, LENS-1202.04.patch, 
> LENS-1202.05.patch, LENS-1202.06.patch
>
>




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


[jira] [Updated] (LENS-52) TestQueryService.testPrepareQuery failing intermittently

2016-07-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-52:
-
Fix Version/s: (was: 2.6)
   2.7

> TestQueryService.testPrepareQuery failing intermittently
> 
>
> Key: LENS-52
> URL: https://issues.apache.org/jira/browse/LENS-52
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Raju Bairishetti
>Assignee: Raju Bairishetti
>Priority: Minor
> Fix For: 2.7
>
>
> {noframe}
> Tests run: 68, Failures: 1, Errors: 0, Skipped: 7, Time elapsed: 372.112 sec 
> <<< FAILURE! - in TestSuite
> testPrepareQuery(org.apache.lens.server.query.TestQueryService)  Time 
> elapsed: 116.385 sec  <<< FAILURE!
> java.lang.AssertionError: expected [SUCCESSFUL] but found [FAILED]
> at org.testng.Assert.fail(Assert.java:94)
> at org.testng.Assert.failNotEquals(Assert.java:494)
> at org.testng.Assert.assertEquals(Assert.java:123)
> at org.testng.Assert.assertEquals(Assert.java:165)
> at 
> org.apache.lens.server.query.TestQueryService.testPrepareQuery(TestQueryService.java:565)
> {noframe}



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


[jira] [Resolved] (LENS-798) Pre commit job failures

2016-07-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta resolved LENS-798.
---
   Resolution: Fixed
Fix Version/s: (was: 2.6)

> Pre commit job failures
> ---
>
> Key: LENS-798
> URL: https://issues.apache.org/jira/browse/LENS-798
> Project: Apache Lens
>  Issue Type: Task
>  Components: build, test
>Reporter: Rajat Khandelwal
>




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


[jira] [Updated] (LENS-798) Pre commit job failures

2016-07-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-798:
--
Issue Type: Task  (was: Bug)

> Pre commit job failures
> ---
>
> Key: LENS-798
> URL: https://issues.apache.org/jira/browse/LENS-798
> Project: Apache Lens
>  Issue Type: Task
>  Components: build, test
>Reporter: Rajat Khandelwal
>




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


[jira] [Updated] (LENS-822) TestCubeRewriter.testCubeWhereQueryWithMultipleTables is failing intermittently on jenkins

2016-07-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-822:
--
Summary: TestCubeRewriter.testCubeWhereQueryWithMultipleTables is failing  
intermittently on jenkins  (was: Test 
TestCubeRewriter.testCubeWhereQueryWithMultipleTables is failing  
intermittently on jenkins)

> TestCubeRewriter.testCubeWhereQueryWithMultipleTables is failing  
> intermittently on jenkins
> ---
>
> Key: LENS-822
> URL: https://issues.apache.org/jira/browse/LENS-822
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build, test
>Reporter: Raju Bairishetti
> Fix For: 2.6
>
>
> [https://builds.apache.org/job/Lens-Commit/1108/
> {noformat}
> Error Message
> expected [true] but found [false]
> Stacktrace
> 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.cube.parse.TestCubeRewriter.compareContains(TestCubeRewriter.java:315)
>   at 
> org.apache.lens.cube.parse.TestCubeRewriter.testCubeWhereQueryWithMultipleTables(TestCubeRewriter.java:456)
> Standard Output
> HQL:SELECT sum(( testcube . msr2 )) FROM TestQueryRewrite.c1_testfact 
> testcube WHERE ( testcube . dt ) =  '2015-10-13' ) or (( testcube . dt ) 
> =  '2015-10-14' 
> Expected1 : select sum(testcube.msr2) FROM TestQueryRewrite.c1_testfact 
> testCube WHERE ((testCube.dt = '2015-10-13') OR (testCube.dt = '2015-10-14'))
> Expected2 : select sum(testcube.msr2) FROM TestQueryRewrite.c2_testfact 
> testCube WHERE ()
> Standard Error
> __FAILED__ testCubeWhereQueryWithMultipleTables:456
>   Expected: select sum(testcube.msr2) FROM TestQueryRewrite.c2_testfact 
> testCube WHERE ()
>   -
>   Actual: SELECT sum(( testcube . msr2 )) FROM 
> TestQueryRewrite.c1_testfact testcube WHERE ( testcube . dt ) =  
> '2015-10-13' ) or (( testcube . dt ) =  '2015-10-14' 
> {noformat}



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


[jira] [Updated] (LENS-822) Test TestCubeRewriter.testCubeWhereQueryWithMultipleTables is failing intermittently on jenkins

2016-07-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-822:
--
Summary: Test TestCubeRewriter.testCubeWhereQueryWithMultipleTables is 
failing  intermittently on jenkins  (was: Test are failing  intermittently on 
jenkins)

> Test TestCubeRewriter.testCubeWhereQueryWithMultipleTables is failing  
> intermittently on jenkins
> 
>
> Key: LENS-822
> URL: https://issues.apache.org/jira/browse/LENS-822
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build, test
>Reporter: Raju Bairishetti
> Fix For: 2.6
>
>
> [https://builds.apache.org/job/Lens-Commit/1108/
> {noformat}
> Error Message
> expected [true] but found [false]
> Stacktrace
> 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.cube.parse.TestCubeRewriter.compareContains(TestCubeRewriter.java:315)
>   at 
> org.apache.lens.cube.parse.TestCubeRewriter.testCubeWhereQueryWithMultipleTables(TestCubeRewriter.java:456)
> Standard Output
> HQL:SELECT sum(( testcube . msr2 )) FROM TestQueryRewrite.c1_testfact 
> testcube WHERE ( testcube . dt ) =  '2015-10-13' ) or (( testcube . dt ) 
> =  '2015-10-14' 
> Expected1 : select sum(testcube.msr2) FROM TestQueryRewrite.c1_testfact 
> testCube WHERE ((testCube.dt = '2015-10-13') OR (testCube.dt = '2015-10-14'))
> Expected2 : select sum(testcube.msr2) FROM TestQueryRewrite.c2_testfact 
> testCube WHERE ()
> Standard Error
> __FAILED__ testCubeWhereQueryWithMultipleTables:456
>   Expected: select sum(testcube.msr2) FROM TestQueryRewrite.c2_testfact 
> testCube WHERE ()
>   -
>   Actual: SELECT sum(( testcube . msr2 )) FROM 
> TestQueryRewrite.c1_testfact testcube WHERE ( testcube . dt ) =  
> '2015-10-13' ) or (( testcube . dt ) =  '2015-10-14' 
> {noformat}



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


[jira] [Comment Edited] (LENS-868) Should not bundle node & node_modules (generated files) in source-release archive file

2016-07-25 Thread Raju Bairishetti (JIRA)

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

Raju Bairishetti edited comment on LENS-868 at 7/25/16 10:28 AM:
-

[~puneet884] It would be better to fix or we can move this to backlog.  We have 
to manually delete these module while doing a release. We updated the release 
doc for taking care of this while releasing.   


was (Author: raju.bairishetti):
It would be better to fix or we can move this to backlog.  We have to manually 
delete these module while doing a release. We updated the release doc for 
taking care of this while releasing.   

> Should not bundle node & node_modules (generated files) in source-release 
> archive file
> --
>
> Key: LENS-868
> URL: https://issues.apache.org/jira/browse/LENS-868
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: UI
>Reporter: Raju Bairishetti
>Assignee: Deepak Barr
> Fix For: 2.7
>
>
> We have seen the node & node_modules files from lens-ui are presented in the 
> source-release archive. We should not bundle node & node_modules in the 
> release archive.



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


[jira] [Updated] (LENS-930) .TestBetweenTimeRangeWriter.testConsecutiveDayParts fails sometimes

2016-07-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-930:
--
Fix Version/s: (was: 2.6)
   2.7

> .TestBetweenTimeRangeWriter.testConsecutiveDayParts fails sometimes
> ---
>
> Key: LENS-930
> URL: https://issues.apache.org/jira/browse/LENS-930
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Amareshwari Sriramadasu
> Fix For: 2.7
>
>
> Test failed here - 
> https://builds.apache.org/job/Lens-Commit/org.apache.lens$lens-cube/1172/testReport/junit/org.apache.lens.cube.parse/TestBetweenTimeRangeWriter/testConsecutiveDayParts/
> org.apache.lens.cube.parse.TestBetweenTimeRangeWriter.testConsecutiveDayParts 
> (from TestSuite)
> Failing for the past 1 build (Since Unstable#1172 )
> Took 5 ms.
> Error Message
> expected [ (test.dt BETWEEN '2016-01-19 12:22:16' AND '2016-01-21 12:22:16') 
> ] but found [ (test.dt BETWEEN '2016-01-19 12:22:16' AND '2016-01-21 
> 12:22:15') ]
> Stacktrace
> java.lang.AssertionError: expected [ (test.dt BETWEEN '2016-01-19 12:22:16' 
> AND '2016-01-21 12:22:16') ] but found [ (test.dt BETWEEN '2016-01-19 
> 12:22:16' AND '2016-01-21 12:22:15') ]
>   at org.testng.Assert.fail(Assert.java:94)
>   at org.testng.Assert.failNotEquals(Assert.java:494)
>   at org.testng.Assert.assertEquals(Assert.java:123)
>   at org.testng.Assert.assertEquals(Assert.java:176)
>   at org.testng.Assert.assertEquals(Assert.java:186)
>   at 
> org.apache.lens.cube.parse.TestBetweenTimeRangeWriter.validateConsecutive(TestBetweenTimeRangeWriter.java:57)



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


[jira] [Updated] (LENS-956) Seeing intermittent failure TestRemoteHiveDriver.testMultiThreadClient

2016-07-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-956:
--
Fix Version/s: (was: 2.6)
   2.7

> Seeing intermittent failure TestRemoteHiveDriver.testMultiThreadClient
> --
>
> Key: LENS-956
> URL: https://issues.apache.org/jira/browse/LENS-956
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
> Fix For: 2.7
>
>
> One such failure at https://builds.apache.org/job/PreCommit-Lens-Build/277/



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


[jira] [Commented] (LENS-868) Should not bundle node & node_modules (generated files) in source-release archive file

2016-07-25 Thread Raju Bairishetti (JIRA)

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

Raju Bairishetti commented on LENS-868:
---

It would be better to fix or we can move this to backlog.  We have to manually 
delete these module while doing a release. We updated the release doc for 
taking care of this while releasing.   

> Should not bundle node & node_modules (generated files) in source-release 
> archive file
> --
>
> Key: LENS-868
> URL: https://issues.apache.org/jira/browse/LENS-868
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: UI
>Reporter: Raju Bairishetti
>Assignee: Deepak Barr
> Fix For: 2.7
>
>
> We have seen the node & node_modules files from lens-ui are presented in the 
> source-release archive. We should not bundle node & node_modules in the 
> release archive.



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


[jira] [Updated] (LENS-1024) org.apache.lens.driver.hive.TestRemoteHiveDriver.testHiveDriverPersistence failed on one of the jenkins build

2016-07-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-1024:
---
Fix Version/s: (was: 2.6)
   2.7

> org.apache.lens.driver.hive.TestRemoteHiveDriver.testHiveDriverPersistence 
> failed on one of the jenkins build
> -
>
> Key: LENS-1024
> URL: https://issues.apache.org/jira/browse/LENS-1024
> Project: Apache Lens
>  Issue Type: Bug
>  Components: driver-hive, test
>Reporter: Amareshwari Sriramadasu
> Fix For: 2.7
>
> Attachments: test-hive-driver.log
>
>
> org.apache.lens.driver.hive.TestRemoteHiveDriver.testHiveDriverPersistence 
> (from TestSuite)
> Failing for the past 1 build (Since Unstable#391 )
> Took 0.36 sec.
> add description
> Error Message
> DRIVER_ERROR[Error while processing statement: FAILED: Execution Error, 
> return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Database does not 
> exist: testremotehivedriver]
> Stacktrace
> org.apache.lens.server.api.error.LensException: DRIVER_ERROR[Error while 
> processing statement: FAILED: Execution Error, return code 1 from 
> org.apache.hadoop.hive.ql.exec.DDLTask. Database does not exist: 
> testremotehivedriver]
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIServiceClient.checkStatus(ThriftCLIServiceClient.java:52)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIServiceClient.executeStatementInternal(ThriftCLIServiceClient.java:151)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIServiceClient.executeStatement(ThriftCLIServiceClient.java:129)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:483)
>   at 
> org.apache.hive.service.cli.thrift.RetryingThriftCLIServiceClient.invokeInternal(RetryingThriftCLIServiceClient.java:301)
>   at 
> org.apache.hive.service.cli.thrift.RetryingThriftCLIServiceClient.invoke(RetryingThriftCLIServiceClient.java:329)
>   at com.sun.proxy.$Proxy31.executeStatement(Unknown Source)
>   at 
> org.apache.hive.service.cli.thrift.RetryingThriftCLIServiceClient$CLIServiceClientWrapper.executeStatement(RetryingThriftCLIServiceClient.java:111)
>   at org.apache.lens.driver.hive.HiveDriver.execute(HiveDriver.java:518)
>   at 
> org.apache.lens.driver.hive.TestRemoteHiveDriver.testHiveDriverPersistence(TestRemoteHiveDriver.java:248)



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


[jira] [Assigned] (LENS-886) Queued JDBC queries are failing upon lens server restart

2016-07-25 Thread Archana H (JIRA)

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

Archana H reassigned LENS-886:
--

Assignee: Archana H  (was: Badrinath Kulkarni)

> Queued JDBC queries are failing upon lens server restart
> 
>
> Key: LENS-886
> URL: https://issues.apache.org/jira/browse/LENS-886
> Project: Apache Lens
>  Issue Type: Bug
>  Components: driver-jdbc
>Reporter: Amareshwari Sriramadasu
>Assignee: Archana H
> Fix For: 2.6
>
>
> Queued queries are failing upon restart with connection timeout.
> {noformat}
> Caused by: com.mchange.v2.resourcepool.TimeoutException: A client timed out 
> while waiting to acquire a resource from 
> com.mchange.v2.resourcepool.BasicResourcePool@629a3da7 -- timeout at 
> awaitAvailable()
> at 
> com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1461)
>  ~[c3p0-0.9.5.jar:0.9.5]
> at 
> com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:639)
>  ~[c3p0-0.9.5.jar:0.9.5]
> at 
> com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:549)
>  ~[c3p0-0.9.5.jar:0.9.5]
> at 
> com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:756)
>  ~[c3p0-0.9.5.jar:0.9.5]
> at 
> com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:683)
>  ~[c3p0-0.9.5.jar:0.9.5]
> ... 9 common frames omitted
> {noformat}



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


[jira] [Updated] (LENS-823) Fetching already fetched inmemory result set should not give 500

2016-07-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-823:
--
Fix Version/s: (was: 2.6)
   2.7

> Fetching already fetched inmemory result set should not give 500
> 
>
> Key: LENS-823
> URL: https://issues.apache.org/jira/browse/LENS-823
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Amareshwari Sriramadasu
>Assignee: Deepak Barr
>Priority: Minor
> Fix For: 2.7
>
>
> It fails with following exception right now :
> {noformat}
> 15 Oct 2015 04:22:35 [90ca229a-7526-4a55-8f2b-fff2805fc45c] 
> [Grizzly-worker(43)] WARN  
> org.glassfish.jersey.server.ServerRuntime$Responder - WebApplicationException 
> cause:
> org.apache.lens.server.api.error.LensException: INTERNAL_SERVER_ERROR
> at 
> org.apache.lens.driver.jdbc.JDBCResultSet.hasNext(JDBCResultSet.java:323) 
> ~[lens-driver-jdbc-2.4.1-inm-breakfix2.jar:2.4.1-inm-breakfix2]
> at 
> org.apache.lens.server.api.driver.InMemoryResultSet.toQueryResult(InMemoryResultSet.java:80)
>  ~[lens-server-api-2.4.1-inm-breakfix2.jar:2.4.1-inm-breakfix2]
> at 
> org.apache.lens.server.api.driver.InMemoryResultSet.toQueryResult(InMemoryResultSet.java:33)
>  ~[lens-server-api-2.4.1-inm-breakfix2.jar:2.4.1-inm-breakfix2]
> at 
> org.apache.lens.server.query.QueryExecutionServiceImpl.fetchResultSet(QueryExecutionServiceImpl.java:2016)
>  ~[classes/:na]
> at 
> org.apache.lens.server.query.QueryServiceResource.getResultSet(QueryServiceResource.java:723)
>  ~[classes/:na]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> ~[na:1.7.0_67]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
> ~[na:1.7.0_67]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[na:1.7.0_67]
> at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_67]
> at 
> org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
>  ~[jersey-server-2.3.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)
>  ~[jersey-server-2.3.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171)
>  ~[jersey-server-2.3.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:195)
>  ~[jersey-server-2.3.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)
>  ~[jersey-server-2.3.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:353)
>  ~[jersey-server-2.3.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:343)
>  ~[jersey-server-2.3.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
>  ~[jersey-server-2.3.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255) 
> ~[jersey-server-2.3.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
> [jersey-common-2.3.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
> [jersey-common-2.3.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
> [jersey-common-2.3.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
> [jersey-common-2.3.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
> [jersey-common-2.3.1.jar:na]
> at 
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:318)
>  [jersey-common-2.3.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:235) 
> [jersey-server-2.3.1.jar:na]
> at 
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:983)
>  [jersey-server-2.3.1.jar:na]
> at 
> org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:330)
>  [jersey-container-grizzly2-http-2.3.1.jar:na]
> at 
> org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:212) 
> [grizzly-http-server-2.3.6.jar:2.3.6]
> at 
> 

[jira] [Updated] (LENS-844) querying a measure with dim attributes not queryable with it gives wrong error

2016-07-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-844:
--
Fix Version/s: (was: 2.6)
   2.7

> querying a measure with dim attributes not queryable with it gives wrong error
> --
>
> Key: LENS-844
> URL: https://issues.apache.org/jira/browse/LENS-844
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.7
>
>




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


[jira] [Assigned] (LENS-778) Killing JDBC Query is not closing the connection

2016-07-25 Thread Archana H (JIRA)

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

Archana H reassigned LENS-778:
--

Assignee: Archana H  (was: Badrinath Kulkarni)

> Killing JDBC Query is not closing the connection
> 
>
> Key: LENS-778
> URL: https://issues.apache.org/jira/browse/LENS-778
> Project: Apache Lens
>  Issue Type: Bug
>  Components: driver-jdbc
>Reporter: Arshad Matin
>Assignee: Archana H
> Fix For: 2.6
>
>
> Use Case
> ===
> Set max connection pool to 1.
> Ran a query and killed it.
> Ran another query and it failed throwing following exception
> {noformat}
> 18 Sep 2015 07:18:51 [15e7cb89-5f0c-4741-8da6-69384c94cd01] 
> [lens-driver-jdbc-2] ERROR org.apache.lens.driver.jdbc.JDBCDriver - Error 
> executing SQL query: 15e7cb89-5f0c-4741-8da6-69384c94cd01 reason: Streaming 
> result set com.mysql.jdbc.RowDataDynamic@4651e5c3 is still active. No 
> statements may be issued when any streaming result sets are open and in use 
> on a given connection. Ensure that you have called .close() on any active 
> streaming result sets before attempting more queries.
> java.sql.SQLException: Streaming result set 
> com.mysql.jdbc.RowDataDynamic@4651e5c3 is still active. No statements may be 
> issued when any streaming result sets are open and in use on a given 
> connection. Ensure that you have called .close() on any active streaming 
> result sets before attempting more queries.
>   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:914) 
> ~[mysql-connector-java-5.0.8-bin.jar:na]
>   at 
> com.mysql.jdbc.MysqlIO.checkForOutstandingStreamingData(MysqlIO.java:2181) 
> ~[mysql-connector-java-5.0.8-bin.jar:na]
>   at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1542) 
> ~[mysql-connector-java-5.0.8-bin.jar:na]
>   at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723) 
> ~[mysql-connector-java-5.0.8-bin.jar:na]
>   at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) 
> ~[mysql-connector-java-5.0.8-bin.jar:na]
>   at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) 
> ~[mysql-connector-java-5.0.8-bin.jar:na]
>   at com.mysql.jdbc.Statement.execute(Statement.java:727) 
> ~[mysql-connector-java-5.0.8-bin.jar:na]
>   at 
> com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:223)
>  ~[c3p0-0.9.5.jar:0.9.5]
>   at 
> org.apache.lens.driver.jdbc.JDBCDriver$QueryCallable.call(JDBCDriver.java:327)
>  [lens-driver-jdbc-2.4.0-inm.jar:2.4.0-inm]
>   at 
> org.apache.lens.driver.jdbc.JDBCDriver$QueryCallable.call(JDBCDriver.java:282)
>  [lens-driver-jdbc-2.4.0-inm.jar:2.4.0-inm]
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
> [na:1.8.0_40]
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  [na:1.8.0_40]
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  [na:1.8.0_40]
>   at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40]
> {noformat}



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


[jira] [Updated] (LENS-868) Should not bundle node & node_modules (generated files) in source-release archive file

2016-07-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-868:
--
Fix Version/s: (was: 2.6)
   2.7

> Should not bundle node & node_modules (generated files) in source-release 
> archive file
> --
>
> Key: LENS-868
> URL: https://issues.apache.org/jira/browse/LENS-868
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: UI
>Reporter: Raju Bairishetti
>Assignee: Deepak Barr
> Fix For: 2.7
>
>
> We have seen the node & node_modules files from lens-ui are presented in the 
> source-release archive. We should not bundle node & node_modules in the 
> release archive.



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


[jira] [Updated] (LENS-778) Killing JDBC Query is not closing the connection

2016-07-25 Thread Archana H (JIRA)

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

Archana H updated LENS-778:
---
Assignee: Archana H  (was: Badrinath Kulkarni)

> Killing JDBC Query is not closing the connection
> 
>
> Key: LENS-778
> URL: https://issues.apache.org/jira/browse/LENS-778
> Project: Apache Lens
>  Issue Type: Bug
>  Components: driver-jdbc
>Reporter: Arshad Matin
>Assignee: Archana H
> Fix For: 2.6
>
>
> Use Case
> ===
> Set max connection pool to 1.
> Ran a query and killed it.
> Ran another query and it failed throwing following exception
> {noformat}
> 18 Sep 2015 07:18:51 [15e7cb89-5f0c-4741-8da6-69384c94cd01] 
> [lens-driver-jdbc-2] ERROR org.apache.lens.driver.jdbc.JDBCDriver - Error 
> executing SQL query: 15e7cb89-5f0c-4741-8da6-69384c94cd01 reason: Streaming 
> result set com.mysql.jdbc.RowDataDynamic@4651e5c3 is still active. No 
> statements may be issued when any streaming result sets are open and in use 
> on a given connection. Ensure that you have called .close() on any active 
> streaming result sets before attempting more queries.
> java.sql.SQLException: Streaming result set 
> com.mysql.jdbc.RowDataDynamic@4651e5c3 is still active. No statements may be 
> issued when any streaming result sets are open and in use on a given 
> connection. Ensure that you have called .close() on any active streaming 
> result sets before attempting more queries.
>   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:914) 
> ~[mysql-connector-java-5.0.8-bin.jar:na]
>   at 
> com.mysql.jdbc.MysqlIO.checkForOutstandingStreamingData(MysqlIO.java:2181) 
> ~[mysql-connector-java-5.0.8-bin.jar:na]
>   at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1542) 
> ~[mysql-connector-java-5.0.8-bin.jar:na]
>   at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723) 
> ~[mysql-connector-java-5.0.8-bin.jar:na]
>   at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) 
> ~[mysql-connector-java-5.0.8-bin.jar:na]
>   at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) 
> ~[mysql-connector-java-5.0.8-bin.jar:na]
>   at com.mysql.jdbc.Statement.execute(Statement.java:727) 
> ~[mysql-connector-java-5.0.8-bin.jar:na]
>   at 
> com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:223)
>  ~[c3p0-0.9.5.jar:0.9.5]
>   at 
> org.apache.lens.driver.jdbc.JDBCDriver$QueryCallable.call(JDBCDriver.java:327)
>  [lens-driver-jdbc-2.4.0-inm.jar:2.4.0-inm]
>   at 
> org.apache.lens.driver.jdbc.JDBCDriver$QueryCallable.call(JDBCDriver.java:282)
>  [lens-driver-jdbc-2.4.0-inm.jar:2.4.0-inm]
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
> [na:1.8.0_40]
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  [na:1.8.0_40]
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  [na:1.8.0_40]
>   at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40]
> {noformat}



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


[jira] [Updated] (LENS-1199) NPE while closing session

2016-07-25 Thread Raju Bairishetti (JIRA)

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

Raju Bairishetti updated LENS-1199:
---
Status: Patch Available  (was: In Progress)

> NPE while closing session
> -
>
> Key: LENS-1199
> URL: https://issues.apache.org/jira/browse/LENS-1199
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Raju Bairishetti
> Fix For: 2.6
>
> Attachments: LENS-1199.patch
>
>
> Close session fails with 500.
> Seeing the following in server logs :
> {noformat}
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] INFO  
> org.apache.lens.server.BaseLensService - Closed session  encoding="UTF-8" 
> standalone="yes"?>e319efea-fd05-401a-91c9-c94ee8409dcf76942b08-b549-430f-834b-ae39514c6a91
>  for anonymous user
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] ERROR 
> org.apache.lens.server.LensRequestListener - Encountered HTTP exception
> org.glassfish.jersey.server.internal.process.MappableException: 
> java.lang.NullPointerException
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.mapTargetToRuntimeEx(AbstractJavaResourceMethodDispatcher.java:179)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.access$200(AbstractJavaResourceMethodDispatcher.java:72)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:149)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) 
> ~[jersey-server-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
>  [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
> [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
>  [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)
>  [jersey-container-grizzly2-http-2.22.1.jar:na]
> at 
> org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224) 
> [grizzly-http-server-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66]
> Caused by: java.lang.NullPointerException: null
> at 
> org.apache.lens.server.BaseLensService.decrementSessionCountForUser(BaseLensService.java:329)
>  ~[classes/:na]
> at 
> org.apache.lens.server.BaseLensService.closeSession(BaseLensService.java:307) 
> ~[classes/:na]
> at 

[jira] [Updated] (LENS-911) move throws HiveException clauses to throws LensException

2016-07-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-911:
--
Fix Version/s: (was: 2.6)
   2.7

> move throws HiveException clauses to throws LensException
> -
>
> Key: LENS-911
> URL: https://issues.apache.org/jira/browse/LENS-911
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: cube
>Reporter: Amareshwari Sriramadasu
> Fix For: 2.7
>
>
> We should move throws HiveException clauses to throws LensException with 
> appropriate error codes.



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


[jira] [Assigned] (LENS-1197) Wrong return type mentioned in REST api doc for "get" call on "/metastore/cubes/{cubeName}/facts"

2016-07-25 Thread Archana H (JIRA)

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

Archana H reassigned LENS-1197:
---

Assignee: Archana H

> Wrong return type mentioned in REST api doc for "get" call on 
> "/metastore/cubes/{cubeName}/facts" 
> --
>
> Key: LENS-1197
> URL: https://issues.apache.org/jira/browse/LENS-1197
> Project: Apache Lens
>  Issue Type: Bug
>  Components: api, docs
>Reporter: Archana H
>Assignee: Archana H
> Fix For: 2.6
>
>
> "get" on "/metastore/cubes/{cubeName}/facts"
> Actual : stringList of fact names
> 
> 
>3rdpartyenrichmentsummary1
>agg1_demand_fact
> 
> In doc: List of XFactTable objects



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


[jira] [Commented] (LENS-1202) Add client side iterator for result in python client

2016-07-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1202:
--

UNSTABLE: Integrated in Lens-Commit-Java8 #212 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/212/])
LENS-1202: Add client side iterator for result in python client (rajatgupta59: 
rev acb32d5400a61037c575dae44b31a884ff6773a7)
* contrib/clients/python/test/test_lensclient.py
* contrib/clients/python/lens/client/main.py
* contrib/clients/python/lens/client/query.py
* contrib/clients/python/lens/client/session.py
* contrib/clients/python/lens/client/models.py
* contrib/clients/python/README.md


> Add client side iterator for result in python client
> 
>
> Key: LENS-1202
> URL: https://issues.apache.org/jira/browse/LENS-1202
> Project: Apache Lens
>  Issue Type: New Feature
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1202.03.patch, LENS-1202.04.patch, 
> LENS-1202.05.patch, LENS-1202.06.patch
>
>




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


[jira] [Commented] (LENS-1221) Saved Query service is unable to initialize

2016-07-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1221:
--

UNSTABLE: Integrated in Lens-Commit-Java8 #212 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/212/])
LENS-1221: Saved Query service is unable to initialize (rajatgupta59: rev 
3780744f87e89839d7d51ce069d5e84c66ca6740)
* lens-server/src/main/java/org/apache/lens/server/query/save/SavedQueryDao.java


> Saved Query service is unable to initialize
> ---
>
> Key: LENS-1221
> URL: https://issues.apache.org/jira/browse/LENS-1221
> Project: Apache Lens
>  Issue Type: Task
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1221.2016-07-19_17:00:08.patch, 
> LENS-1221.2016-07-19_17:05:29.patch
>
>
> {noformat}
> 19 Jul 2016 11:16:48 [d691692a-8ef7-4a34-b2b7-d555e89b0d18] [main] ERROR 
> org.apache.lens.server.LensServer - Error while creating Lens server
> java.lang.RuntimeException: Cannot initialize saved query service
> at 
> org.apache.lens.server.query.save.SavedQueryServiceImpl.init(SavedQueryServiceImpl.java:75)
>  ~[classes/:na]
> at 
> org.apache.hive.service.CompositeService.init(CompositeService.java:59) 
> ~[hive-service-2.1.2-inm.jar:2.1.2-inm]
> at org.apache.lens.server.LensServices.init(LensServices.java:252) 
> ~[classes/:na]
> at 
> org.apache.lens.server.LensServer.startServices(LensServer.java:134) 
> ~[classes/:na]
> at org.apache.lens.server.LensServer.(LensServer.java:85) 
> ~[classes/:na]
> at 
> org.apache.lens.server.LensServer.createLensServer(LensServer.java:74) 
> ~[classes/:na]
> at org.apache.lens.server.LensServer.main(LensServer.java:190) 
> ~[classes/:na]
> Caused by: org.apache.lens.server.api.error.LensException: Error initializing 
> saved query dao
> at 
> org.apache.lens.server.query.save.SavedQueryDao.(SavedQueryDao.java:72) 
> ~[classes/:na]
> at 
> org.apache.lens.server.query.save.SavedQueryServiceImpl.init(SavedQueryServiceImpl.java:70)
>  ~[classes/:na]
> ... 6 common frames omitted
> Caused by: org.apache.lens.server.api.error.LensException: Cannot create 
> saved query table!
> at 
> org.apache.lens.server.query.save.SavedQueryDao.createSavedQueryTableIfNotExists(SavedQueryDao.java:85)
>  ~[classes/:na]
> at 
> org.apache.lens.server.query.save.SavedQueryDao.(SavedQueryDao.java:70) 
> ~[classes/:na]
> ... 7 common frames omitted
> Caused by: java.sql.SQLException: Invalid default value for 'updated_at' 
> Query: CREATE TABLE IF NOT EXISTS saved_query (id int(11) NOT NULL 
> AUTO_INCREMENT,name varchar(255) NOT NULL,description varchar(255) DEFAULT 
> NULL,query longtext,params_json longtext,created_at timestamp,updated_at 
> timestamp,  PRIMARY KEY (id)) Parameters: []
> at 
> org.apache.commons.dbutils.AbstractQueryRunner.rethrow(AbstractQueryRunner.java:363)
>  ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:490) 
> ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:420) 
> ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.lens.server.query.save.SavedQueryDao.createSavedQueryTableIfNotExists(SavedQueryDao.java:83)
>  ~[classes/:na]
> ... 8 common frames omitted
> 19 Jul 2016 11:16:48 [d691692a-8ef7-4a34-b2b7-d555e89b0d18] [main] INFO  
> org.apache.lens.server.LensServices - Stopping lens server
> 19 Jul 2016 11:16:48 [d691692a-8ef7-4a34-b2b7-d555e89b0d18] [main] ERROR 
> org.apache.lens.server.LensServer - Error stopping services
> {noformat}



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


Re: [DISCUSS] Release Plan for 2.6

2016-07-25 Thread Rajat Khandelwal
Let's also get https://issues.apache.org/jira/browse/LENS-1178 in the
release.

On Fri, Jul 22, 2016 at 5:58 PM Puneet Gupta 
wrote:

> Will start the merge once LENS-128, LENS-1168, LENS-996, LENS-1202,
> LENS-1217  are in .
>
> Thanks,
> Puneet Gupta
> On Wed, Jul 20, 2016 at 11:00 AM, Puneet Gupta 
> wrote:
>
> > Hi
> >
> > Waiting for a few important fixes to go in . Will merge master into
> > release branch post that ( targeting 22 July)
> >
> > Thanks,
> > Puneet Gupta
> > On Thu, Jul 7, 2016 at 5:56 PM, amareshwarisr . 
> > wrote:
> >
> >> +1
> >>
> >> Release plan looks great!
> >>
> >> On Sat, Jul 2, 2016 at 9:35 AM, Puneet Gupta 
> >> wrote:
> >>
> >> > We have some significant improvements and features added after 2.5
> >> > release, mainly :
> >> >
> >> > - Hive 2 support and move Hive dependency to Apache Hive
> >> > - Lens Regression module added
> >> > - Work on Lens Scheduler is 70% complete.
> >> > - Limit number of open sessions per user on session service
> >> > - Enable streaming results for queries
> >> > - cube-segmentation specification added
> >> > - Python client support
> >> > - Exponential back off for hive queries
> >> > - Client result set iterable api added
> >> > - Lens UI enhancements
> >> > - Query Priority  persisted in Lens DB
> >> > - Option to kill queries that exceed timeout added
> >> > - Convert dimension filter to fact filters for performance improvement
> >> > - Return same handle for repeated query from same user
> >> > - Post select option added to DriverQueryHook
> >> > - Skip partition registration for very old and future dates for a fact
> >> > tables
> >> > - Weighted Driver selector added.
> >> > - Cube keyword made optional in queries
> >> > - Session close will not result in queued query failures
> >> >
> >> > and bug fixes.
> >> >
> >> > I'm volunteering to manage the release. Calling out for a release
> >> > preparation for 2.6 here.
> >> > *Unassigned open items on 2.6 are ( A total of 13 issues)*
> >> >
> >> >
> >> >
> >>
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20LENS%20AND%20fixVersion%20%3D%202.6%20AND%20resolution%20%3D%20Unresolved%20AND%20assignee%20is%20EMPTY
> >> >
> >> > Contributors are welcome to provide fix for those issues.
> >> >
> >> > *All the open issues (A total of 30 issues including above mentioned
> >> > 13 unassigned issues)*
> >> >
> >> >
> >> >
> >>
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20LENS%20AND%20resolution%20%3D%20Unresolved%20AND%20fixVersion%20%3D%202.6
> >> >
> >> > *Issues yet to verify (A total of 107 issues)*
> >> >
> >> >
> >> >
> >>
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20LENS%20AND%20fixVersion%20%3D%202.6%20AND%20status%20%3D%20Resolved
> >> >
> >> > If any of you feel your changes should go into 2.6 and the jira is not
> >> > marked with fix version, please do so.
> >> >
> >> > Putting down the plan for 2.6 release:
> >> >- Will merge master into release branch after two weeks from now.
> >> > We can resolve the open issues until then.
> >> >(18/July/2016)
> >> >- We will spend one-two weeks to fix blockers on the release branch
> >> > if any and verify release candidate and roll release candidates until
> >> > a release vote passes(29/July/2016)
> >> >- Will roll release candidate on 3/Aug/2016
> >> >
> >> > Let me know your concerns/comments.
> >> >
> >>
> >
> >
>


[jira] [Commented] (LENS-996) Improvements in filters of query list api

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-996:


Applied patch: 
[LENS-996.08.patch|https://issues.apache.org/jira/secure/attachment/12819881/LENS-996.08.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/723/

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch, 
> LENS-996.08.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


[jira] [Updated] (LENS-1202) Add client side iterator for result in python client

2016-07-25 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal updated LENS-1202:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> Add client side iterator for result in python client
> 
>
> Key: LENS-1202
> URL: https://issues.apache.org/jira/browse/LENS-1202
> Project: Apache Lens
>  Issue Type: New Feature
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1202.03.patch, LENS-1202.04.patch, 
> LENS-1202.05.patch, LENS-1202.06.patch
>
>




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


[jira] [Commented] (LENS-1202) Add client side iterator for result in python client

2016-07-25 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1202:


Committed myself.

> Add client side iterator for result in python client
> 
>
> Key: LENS-1202
> URL: https://issues.apache.org/jira/browse/LENS-1202
> Project: Apache Lens
>  Issue Type: New Feature
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1202.03.patch, LENS-1202.04.patch, 
> LENS-1202.05.patch, LENS-1202.06.patch
>
>




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


[jira] [Updated] (LENS-1221) Saved Query service is unable to initialize

2016-07-25 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal updated LENS-1221:
---
Fix Version/s: 2.6

> Saved Query service is unable to initialize
> ---
>
> Key: LENS-1221
> URL: https://issues.apache.org/jira/browse/LENS-1221
> Project: Apache Lens
>  Issue Type: Task
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1221.2016-07-19_17:00:08.patch, 
> LENS-1221.2016-07-19_17:05:29.patch
>
>
> {noformat}
> 19 Jul 2016 11:16:48 [d691692a-8ef7-4a34-b2b7-d555e89b0d18] [main] ERROR 
> org.apache.lens.server.LensServer - Error while creating Lens server
> java.lang.RuntimeException: Cannot initialize saved query service
> at 
> org.apache.lens.server.query.save.SavedQueryServiceImpl.init(SavedQueryServiceImpl.java:75)
>  ~[classes/:na]
> at 
> org.apache.hive.service.CompositeService.init(CompositeService.java:59) 
> ~[hive-service-2.1.2-inm.jar:2.1.2-inm]
> at org.apache.lens.server.LensServices.init(LensServices.java:252) 
> ~[classes/:na]
> at 
> org.apache.lens.server.LensServer.startServices(LensServer.java:134) 
> ~[classes/:na]
> at org.apache.lens.server.LensServer.(LensServer.java:85) 
> ~[classes/:na]
> at 
> org.apache.lens.server.LensServer.createLensServer(LensServer.java:74) 
> ~[classes/:na]
> at org.apache.lens.server.LensServer.main(LensServer.java:190) 
> ~[classes/:na]
> Caused by: org.apache.lens.server.api.error.LensException: Error initializing 
> saved query dao
> at 
> org.apache.lens.server.query.save.SavedQueryDao.(SavedQueryDao.java:72) 
> ~[classes/:na]
> at 
> org.apache.lens.server.query.save.SavedQueryServiceImpl.init(SavedQueryServiceImpl.java:70)
>  ~[classes/:na]
> ... 6 common frames omitted
> Caused by: org.apache.lens.server.api.error.LensException: Cannot create 
> saved query table!
> at 
> org.apache.lens.server.query.save.SavedQueryDao.createSavedQueryTableIfNotExists(SavedQueryDao.java:85)
>  ~[classes/:na]
> at 
> org.apache.lens.server.query.save.SavedQueryDao.(SavedQueryDao.java:70) 
> ~[classes/:na]
> ... 7 common frames omitted
> Caused by: java.sql.SQLException: Invalid default value for 'updated_at' 
> Query: CREATE TABLE IF NOT EXISTS saved_query (id int(11) NOT NULL 
> AUTO_INCREMENT,name varchar(255) NOT NULL,description varchar(255) DEFAULT 
> NULL,query longtext,params_json longtext,created_at timestamp,updated_at 
> timestamp,  PRIMARY KEY (id)) Parameters: []
> at 
> org.apache.commons.dbutils.AbstractQueryRunner.rethrow(AbstractQueryRunner.java:363)
>  ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:490) 
> ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:420) 
> ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.lens.server.query.save.SavedQueryDao.createSavedQueryTableIfNotExists(SavedQueryDao.java:83)
>  ~[classes/:na]
> ... 8 common frames omitted
> 19 Jul 2016 11:16:48 [d691692a-8ef7-4a34-b2b7-d555e89b0d18] [main] INFO  
> org.apache.lens.server.LensServices - Stopping lens server
> 19 Jul 2016 11:16:48 [d691692a-8ef7-4a34-b2b7-d555e89b0d18] [main] ERROR 
> org.apache.lens.server.LensServer - Error stopping services
> {noformat}



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


[jira] [Commented] (LENS-1221) Saved Query service is unable to initialize

2016-07-25 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1221:


Committed myself.

> Saved Query service is unable to initialize
> ---
>
> Key: LENS-1221
> URL: https://issues.apache.org/jira/browse/LENS-1221
> Project: Apache Lens
>  Issue Type: Task
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1221.2016-07-19_17:00:08.patch, 
> LENS-1221.2016-07-19_17:05:29.patch
>
>
> {noformat}
> 19 Jul 2016 11:16:48 [d691692a-8ef7-4a34-b2b7-d555e89b0d18] [main] ERROR 
> org.apache.lens.server.LensServer - Error while creating Lens server
> java.lang.RuntimeException: Cannot initialize saved query service
> at 
> org.apache.lens.server.query.save.SavedQueryServiceImpl.init(SavedQueryServiceImpl.java:75)
>  ~[classes/:na]
> at 
> org.apache.hive.service.CompositeService.init(CompositeService.java:59) 
> ~[hive-service-2.1.2-inm.jar:2.1.2-inm]
> at org.apache.lens.server.LensServices.init(LensServices.java:252) 
> ~[classes/:na]
> at 
> org.apache.lens.server.LensServer.startServices(LensServer.java:134) 
> ~[classes/:na]
> at org.apache.lens.server.LensServer.(LensServer.java:85) 
> ~[classes/:na]
> at 
> org.apache.lens.server.LensServer.createLensServer(LensServer.java:74) 
> ~[classes/:na]
> at org.apache.lens.server.LensServer.main(LensServer.java:190) 
> ~[classes/:na]
> Caused by: org.apache.lens.server.api.error.LensException: Error initializing 
> saved query dao
> at 
> org.apache.lens.server.query.save.SavedQueryDao.(SavedQueryDao.java:72) 
> ~[classes/:na]
> at 
> org.apache.lens.server.query.save.SavedQueryServiceImpl.init(SavedQueryServiceImpl.java:70)
>  ~[classes/:na]
> ... 6 common frames omitted
> Caused by: org.apache.lens.server.api.error.LensException: Cannot create 
> saved query table!
> at 
> org.apache.lens.server.query.save.SavedQueryDao.createSavedQueryTableIfNotExists(SavedQueryDao.java:85)
>  ~[classes/:na]
> at 
> org.apache.lens.server.query.save.SavedQueryDao.(SavedQueryDao.java:70) 
> ~[classes/:na]
> ... 7 common frames omitted
> Caused by: java.sql.SQLException: Invalid default value for 'updated_at' 
> Query: CREATE TABLE IF NOT EXISTS saved_query (id int(11) NOT NULL 
> AUTO_INCREMENT,name varchar(255) NOT NULL,description varchar(255) DEFAULT 
> NULL,query longtext,params_json longtext,created_at timestamp,updated_at 
> timestamp,  PRIMARY KEY (id)) Parameters: []
> at 
> org.apache.commons.dbutils.AbstractQueryRunner.rethrow(AbstractQueryRunner.java:363)
>  ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:490) 
> ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:420) 
> ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.lens.server.query.save.SavedQueryDao.createSavedQueryTableIfNotExists(SavedQueryDao.java:83)
>  ~[classes/:na]
> ... 8 common frames omitted
> 19 Jul 2016 11:16:48 [d691692a-8ef7-4a34-b2b7-d555e89b0d18] [main] INFO  
> org.apache.lens.server.LensServices - Stopping lens server
> 19 Jul 2016 11:16:48 [d691692a-8ef7-4a34-b2b7-d555e89b0d18] [main] ERROR 
> org.apache.lens.server.LensServer - Error stopping services
> {noformat}



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


[jira] [Updated] (LENS-1221) Saved Query service is unable to initialize

2016-07-25 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal updated LENS-1221:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> Saved Query service is unable to initialize
> ---
>
> Key: LENS-1221
> URL: https://issues.apache.org/jira/browse/LENS-1221
> Project: Apache Lens
>  Issue Type: Task
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1221.2016-07-19_17:00:08.patch, 
> LENS-1221.2016-07-19_17:05:29.patch
>
>
> {noformat}
> 19 Jul 2016 11:16:48 [d691692a-8ef7-4a34-b2b7-d555e89b0d18] [main] ERROR 
> org.apache.lens.server.LensServer - Error while creating Lens server
> java.lang.RuntimeException: Cannot initialize saved query service
> at 
> org.apache.lens.server.query.save.SavedQueryServiceImpl.init(SavedQueryServiceImpl.java:75)
>  ~[classes/:na]
> at 
> org.apache.hive.service.CompositeService.init(CompositeService.java:59) 
> ~[hive-service-2.1.2-inm.jar:2.1.2-inm]
> at org.apache.lens.server.LensServices.init(LensServices.java:252) 
> ~[classes/:na]
> at 
> org.apache.lens.server.LensServer.startServices(LensServer.java:134) 
> ~[classes/:na]
> at org.apache.lens.server.LensServer.(LensServer.java:85) 
> ~[classes/:na]
> at 
> org.apache.lens.server.LensServer.createLensServer(LensServer.java:74) 
> ~[classes/:na]
> at org.apache.lens.server.LensServer.main(LensServer.java:190) 
> ~[classes/:na]
> Caused by: org.apache.lens.server.api.error.LensException: Error initializing 
> saved query dao
> at 
> org.apache.lens.server.query.save.SavedQueryDao.(SavedQueryDao.java:72) 
> ~[classes/:na]
> at 
> org.apache.lens.server.query.save.SavedQueryServiceImpl.init(SavedQueryServiceImpl.java:70)
>  ~[classes/:na]
> ... 6 common frames omitted
> Caused by: org.apache.lens.server.api.error.LensException: Cannot create 
> saved query table!
> at 
> org.apache.lens.server.query.save.SavedQueryDao.createSavedQueryTableIfNotExists(SavedQueryDao.java:85)
>  ~[classes/:na]
> at 
> org.apache.lens.server.query.save.SavedQueryDao.(SavedQueryDao.java:70) 
> ~[classes/:na]
> ... 7 common frames omitted
> Caused by: java.sql.SQLException: Invalid default value for 'updated_at' 
> Query: CREATE TABLE IF NOT EXISTS saved_query (id int(11) NOT NULL 
> AUTO_INCREMENT,name varchar(255) NOT NULL,description varchar(255) DEFAULT 
> NULL,query longtext,params_json longtext,created_at timestamp,updated_at 
> timestamp,  PRIMARY KEY (id)) Parameters: []
> at 
> org.apache.commons.dbutils.AbstractQueryRunner.rethrow(AbstractQueryRunner.java:363)
>  ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:490) 
> ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:420) 
> ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.lens.server.query.save.SavedQueryDao.createSavedQueryTableIfNotExists(SavedQueryDao.java:83)
>  ~[classes/:na]
> ... 8 common frames omitted
> 19 Jul 2016 11:16:48 [d691692a-8ef7-4a34-b2b7-d555e89b0d18] [main] INFO  
> org.apache.lens.server.LensServices - Stopping lens server
> 19 Jul 2016 11:16:48 [d691692a-8ef7-4a34-b2b7-d555e89b0d18] [main] ERROR 
> org.apache.lens.server.LensServer - Error stopping services
> {noformat}



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


[jira] [Commented] (LENS-996) Improvements in filters of query list api

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-996:


Applied patch: 
[LENS-996.07.patch|https://issues.apache.org/jira/secure/attachment/12819876/LENS-996.07.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/722/

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch, 
> LENS-996.08.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


[jira] [Commented] (LENS-1228) TestQueryConstraints test fails

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1228:
-

Applied patch: 
[LENS-1228.patch|https://issues.apache.org/jira/secure/attachment/12819875/LENS-1228.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/720/

> TestQueryConstraints test fails
> ---
>
> Key: LENS-1228
> URL: https://issues.apache.org/jira/browse/LENS-1228
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1228.patch
>
>
> Seeing TestQueryConstraints tests are failing :
> https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-server/211/testReport/junit/org.apache.lens.server.query/TestQueryConstraints/testThrottling_2/



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


[jira] [Commented] (LENS-996) Improvements in filters of query list api

2016-07-25 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-996:
---

Taking patch from reviewboard and attaching

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch, 
> LENS-996.08.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


Re: Review Request 50133: LENS-996: Improvements in filters of query list api

2016-07-25 Thread Rajat Khandelwal

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

(Updated July 25, 2016, 2:55 p.m.)


Review request for lens.


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


Repository: lens


Description
---

1. fromDate and endDate should also take human readable dates. 
DateUtil.resolveDate can be used. 
2. the status filter should be case-insensitive. 
3. (maybe) the user filter and status filter can take multiple comma separated 
values and return the union in the result.


Diffs (updated)
-

  lens-cli/src/main/java/org/apache/lens/cli/commands/LensQueryCommands.java 
af05951393e5e433fd644f20a9c23f7ba3507947 
  lens-cli/src/test/java/org/apache/lens/cli/TestLensQueryCommands.java 
0bf2a6687537b36b7987be27ad7be80d1b289f13 
  lens-client/src/main/java/org/apache/lens/client/LensClient.java 
d3ec97d6e8ac506952d1aa5e29ad0fb2c8f8f917 
  lens-client/src/main/java/org/apache/lens/client/LensStatement.java 
3cae7175229503bb90abadb7a3048b353b82e36d 
  lens-cube/src/main/java/org/apache/lens/cube/metadata/DateUtil.java 
b82cd95b5633b91e03cf1df8ac2602cb7798099a 
  lens-cube/src/test/java/org/apache/lens/cube/metadata/TestDateUtil.java 
7e239f33dccd237c9bee3732931309bb8ea62753 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryExecutionService.java
 4f4d4aa60923ab0a50a478347d26238571b692c1 
  lens-server/src/main/java/org/apache/lens/server/query/LensServerDAO.java 
1d6125c4eebb99ab3d2e392de69768deaf3b8e44 
  
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java
 cf0c168e8e1475f50b36342aa17cd861366d0e3f 
  
lens-server/src/main/java/org/apache/lens/server/query/QueryServiceResource.java
 803bbe3db982dc74ba2a1bdba94fc68879dcd351 
  lens-server/src/main/java/org/apache/lens/server/util/UtilityMethods.java 
63a7874c1ac6be1e7d03b9f7456d1276f75786f3 
  lens-server/src/test/java/org/apache/lens/server/query/TestLensDAO.java 
7679a068161f2d072b1f6e96d0e96109e3bd6bc9 
  lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java 
e8aa223b76b96d402ea27fd6cc2f43e52ff8199c 

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


Testing
---


Thanks,

Rajat Khandelwal



[jira] [Commented] (LENS-1228) TestQueryConstraints test fails

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1228:
-

Applied patch: 
[LENS-1228.patch|https://issues.apache.org/jira/secure/attachment/12819875/LENS-1228.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/718/

> TestQueryConstraints test fails
> ---
>
> Key: LENS-1228
> URL: https://issues.apache.org/jira/browse/LENS-1228
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1228.patch
>
>
> Seeing TestQueryConstraints tests are failing :
> https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-server/211/testReport/junit/org.apache.lens.server.query/TestQueryConstraints/testThrottling_2/



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


[jira] [Commented] (LENS-996) Improvements in filters of query list api

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-996:


Applied patch: 
[LENS-996.07.patch|https://issues.apache.org/jira/secure/attachment/12819876/LENS-996.07.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/719/

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


[jira] [Assigned] (LENS-127) Create scheduler client side apis.

2016-07-25 Thread Lavkesh Lahngir (JIRA)

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

Lavkesh Lahngir reassigned LENS-127:


Assignee: Lavkesh Lahngir

> Create scheduler client side apis.
> --
>
> Key: LENS-127
> URL: https://issues.apache.org/jira/browse/LENS-127
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.7
>
>
> This task is to put client side api for specifying schedule and trigger.



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


[jira] [Comment Edited] (LENS-1228) TestQueryConstraints test fails

2016-07-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta edited comment on LENS-1228 at 7/25/16 8:47 AM:
-

+1 for the patch


was (Author: puneet884):
+1

> TestQueryConstraints test fails
> ---
>
> Key: LENS-1228
> URL: https://issues.apache.org/jira/browse/LENS-1228
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1228.patch
>
>
> Seeing TestQueryConstraints tests are failing :
> https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-server/211/testReport/junit/org.apache.lens.server.query/TestQueryConstraints/testThrottling_2/



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


[jira] [Commented] (LENS-1228) TestQueryConstraints test fails

2016-07-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta commented on LENS-1228:


+1

> TestQueryConstraints test fails
> ---
>
> Key: LENS-1228
> URL: https://issues.apache.org/jira/browse/LENS-1228
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1228.patch
>
>
> Seeing TestQueryConstraints tests are failing :
> https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-server/211/testReport/junit/org.apache.lens.server.query/TestQueryConstraints/testThrottling_2/



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


[jira] [Commented] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-128:


Applied patch: 
[core-scheduler.patch|https://issues.apache.org/jira/secure/attachment/12819866/core-scheduler.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/716/

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
> Attachments: core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Commented] (LENS-996) Improvements in filters of query list api

2016-07-25 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-996:
---

Taking patch from reviewboard and attaching

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


[jira] [Updated] (LENS-996) Improvements in filters of query list api

2016-07-25 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal updated LENS-996:
--
Attachment: LENS-996.07.patch

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


Re: Review Request 50133: LENS-996: Improvements in filters of query list api

2016-07-25 Thread Rajat Khandelwal

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

(Updated July 25, 2016, 2:03 p.m.)


Review request for lens.


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


Repository: lens


Description
---

1. fromDate and endDate should also take human readable dates. 
DateUtil.resolveDate can be used. 
2. the status filter should be case-insensitive. 
3. (maybe) the user filter and status filter can take multiple comma separated 
values and return the union in the result.


Diffs (updated)
-

  lens-cli/src/main/java/org/apache/lens/cli/commands/LensQueryCommands.java 
af05951393e5e433fd644f20a9c23f7ba3507947 
  lens-cli/src/test/java/org/apache/lens/cli/TestLensQueryCommands.java 
0bf2a6687537b36b7987be27ad7be80d1b289f13 
  lens-client/src/main/java/org/apache/lens/client/LensClient.java 
d3ec97d6e8ac506952d1aa5e29ad0fb2c8f8f917 
  lens-client/src/main/java/org/apache/lens/client/LensStatement.java 
3cae7175229503bb90abadb7a3048b353b82e36d 
  lens-cube/src/main/java/org/apache/lens/cube/metadata/DateUtil.java 
b82cd95b5633b91e03cf1df8ac2602cb7798099a 
  lens-cube/src/test/java/org/apache/lens/cube/metadata/TestDateUtil.java 
7e239f33dccd237c9bee3732931309bb8ea62753 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryExecutionService.java
 4f4d4aa60923ab0a50a478347d26238571b692c1 
  lens-server/src/main/java/org/apache/lens/server/query/LensServerDAO.java 
1d6125c4eebb99ab3d2e392de69768deaf3b8e44 
  
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java
 cf0c168e8e1475f50b36342aa17cd861366d0e3f 
  
lens-server/src/main/java/org/apache/lens/server/query/QueryServiceResource.java
 803bbe3db982dc74ba2a1bdba94fc68879dcd351 
  lens-server/src/main/java/org/apache/lens/server/util/UtilityMethods.java 
63a7874c1ac6be1e7d03b9f7456d1276f75786f3 
  lens-server/src/test/java/org/apache/lens/server/query/TestLensDAO.java 
7679a068161f2d072b1f6e96d0e96109e3bd6bc9 
  lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java 
e8aa223b76b96d402ea27fd6cc2f43e52ff8199c 

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


Testing
---


Thanks,

Rajat Khandelwal



[jira] [Updated] (LENS-1228) TestQueryConstraints test fails

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1228:
--
Attachment: LENS-1228.patch

Patch fixing the test failure.

> TestQueryConstraints test fails
> ---
>
> Key: LENS-1228
> URL: https://issues.apache.org/jira/browse/LENS-1228
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1228.patch
>
>
> Seeing TestQueryConstraints tests are failing :
> https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-server/211/testReport/junit/org.apache.lens.server.query/TestQueryConstraints/testThrottling_2/



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


[jira] [Updated] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-25 Thread Lavkesh Lahngir (JIRA)

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

Lavkesh Lahngir updated LENS-128:
-
Status: Patch Available  (was: Open)

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
> Attachments: core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Updated] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA updated LENS-128:
---
Status: Open  (was: Patch Available)

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Commented] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-128:


Patch does not apply. Build job: 
https://builds.apache.org/job/PreCommit-Lens-Build/715/

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Updated] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-25 Thread Lavkesh Lahngir (JIRA)

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

Lavkesh Lahngir updated LENS-128:
-
Attachment: (was: core-scheduler.patch)

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Updated] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-25 Thread Lavkesh Lahngir (JIRA)

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

Lavkesh Lahngir updated LENS-128:
-
Status: Patch Available  (was: Open)

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
> Attachments: core-scheduler.patch, core-scheduler.patch, 
> core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Commented] (LENS-128) SchedulerServiceImpl for scheduler.

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-128:


Patch does not apply. Build job: 
https://builds.apache.org/job/PreCommit-Lens-Build/714/

> SchedulerServiceImpl for scheduler.
> ---
>
> Key: LENS-128
> URL: https://issues.apache.org/jira/browse/LENS-128
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Prashant Gupta
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
> Attachments: core-scheduler.patch, core-scheduler.patch, 
> core-scheduler.patch
>
>
> Server APIs will include the support for operations as specified at LENS-124.



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


[jira] [Work started] (LENS-1228) TestQueryConstraints test fails

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Work on LENS-1228 started by Amareshwari Sriramadasu.
-
> TestQueryConstraints test fails
> ---
>
> Key: LENS-1228
> URL: https://issues.apache.org/jira/browse/LENS-1228
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
>
> Seeing TestQueryConstraints tests are failing :
> https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-server/211/testReport/junit/org.apache.lens.server.query/TestQueryConstraints/testThrottling_2/



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


[jira] [Created] (LENS-1228) TestQueryConstraints test fails

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)
Amareshwari Sriramadasu created LENS-1228:
-

 Summary: TestQueryConstraints test fails
 Key: LENS-1228
 URL: https://issues.apache.org/jira/browse/LENS-1228
 Project: Apache Lens
  Issue Type: Bug
  Components: server, test
Affects Versions: 2.6
Reporter: Amareshwari Sriramadasu
Assignee: Amareshwari Sriramadasu
 Fix For: 2.6


Seeing TestQueryConstraints tests are failing :
https://builds.apache.org/job/Lens-Commit-Java8/org.apache.lens$lens-server/211/testReport/junit/org.apache.lens.server.query/TestQueryConstraints/testThrottling_2/



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


[jira] [Commented] (LENS-1168) Isolate submissions for each driver

2016-07-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1168:
--

UNSTABLE: Integrated in Lens-Commit #1299 (See 
[https://builds.apache.org/job/Lens-Commit/1299/])
LENS-1168 : Add query launcher pool to launch queries in parallel (amareshwari: 
rev 776a2c331e8e43e11b188046a1369b1d640355eb)
* 
lens-server/src/main/java/org/apache/lens/server/metrics/MetricsServiceImpl.java
* 
lens-server-api/src/test/java/org/apache/lens/server/api/query/constraint/MaxConcurrentDriverQueriesConstraintTest.java
* 
lens-server/src/test/java/org/apache/lens/server/query/constraint/ThreadSafeEstimatedQueryCollectionTest.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/query/constraint/MaxConcurrentDriverQueriesConstraintFactory.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/metrics/MetricsService.java
* lens-server/src/test/resources/logback.xml
* src/site/apt/admin/config.apt
* 
lens-server-api/src/main/java/org/apache/lens/server/api/query/constraint/MaxConcurrentDriverQueriesConstraint.java
* lens-server/src/main/resources/lensserver-default.xml
* 
lens-server/src/test/java/org/apache/lens/server/query/TestQueryConstraints.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java
* 
lens-server/src/test/java/org/apache/lens/server/common/FailingQueryDriver.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryExecutionService.java
* 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java
* lens-server/src/main/java/org/apache/lens/server/session/LensSessionImpl.java
* lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryContext.java
* lens-server/src/test/java/org/apache/lens/server/LensJerseyTest.java


> Isolate submissions for each driver
> ---
>
> Key: LENS-1168
> URL: https://issues.apache.org/jira/browse/LENS-1168
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1168.4.patch, LENS-1168.5.patch
>
>
> We need to isolate query submitters for each driver to be different. We have 
> seen scenarios where hive submission takes time and other interactive queries 
> on jdbc are queued because querysubmitter was busy. 
> Also, each driver can have a pool of submitters - which should benefit 
> interactive queries with immediate submissions, especially the ones submitted 
> on EXECUTE_WITH_TIMEOUT



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


[jira] [Commented] (LENS-1168) Isolate submissions for each driver

2016-07-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1168:
--

UNSTABLE: Integrated in Lens-Commit-Java8 #211 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/211/])
LENS-1168 : Add query launcher pool to launch queries in parallel (amareshwari: 
rev 776a2c331e8e43e11b188046a1369b1d640355eb)
* lens-server/src/test/resources/logback.xml
* 
lens-server/src/test/java/org/apache/lens/server/query/constraint/ThreadSafeEstimatedQueryCollectionTest.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/query/constraint/MaxConcurrentDriverQueriesConstraintFactory.java
* lens-server/src/test/java/org/apache/lens/server/LensJerseyTest.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryExecutionService.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/query/constraint/MaxConcurrentDriverQueriesConstraint.java
* 
lens-server/src/test/java/org/apache/lens/server/query/TestQueryConstraints.java
* 
lens-server-api/src/test/java/org/apache/lens/server/api/query/constraint/MaxConcurrentDriverQueriesConstraintTest.java
* src/site/apt/admin/config.apt
* 
lens-server/src/test/java/org/apache/lens/server/common/FailingQueryDriver.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryContext.java
* 
lens-server/src/main/java/org/apache/lens/server/metrics/MetricsServiceImpl.java
* lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java
* 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java
* lens-server/src/main/java/org/apache/lens/server/session/LensSessionImpl.java
* 
lens-server-api/src/main/java/org/apache/lens/server/api/metrics/MetricsService.java
* lens-server/src/main/resources/lensserver-default.xml


> Isolate submissions for each driver
> ---
>
> Key: LENS-1168
> URL: https://issues.apache.org/jira/browse/LENS-1168
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1168.4.patch, LENS-1168.5.patch
>
>
> We need to isolate query submitters for each driver to be different. We have 
> seen scenarios where hive submission takes time and other interactive queries 
> on jdbc are queued because querysubmitter was busy. 
> Also, each driver can have a pool of submitters - which should benefit 
> interactive queries with immediate submissions, especially the ones submitted 
> on EXECUTE_WITH_TIMEOUT



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