[jira] [Commented] (LENS-832) Queued cube queries on JDBCDriver are not getting restored correctly

2015-11-26 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on LENS-832:
--

I just ran the above test on local, but did not find any issue :
 {noformat}
lens-shell>query list --state QUEUED
070d0cf1-4ded-48e8-8985-4cafda9ee1ae
07df7d8d-5910-4bec-a8cc-d52fa71e6dc6
a32deff9-5b96-43d4-a528-ef0798d6cb9e
79152fe6-3817-4a4c-92af-a090cccd181d
9d020a18-8c5f-4574-910b-48f29e54f2e8
e56cbe20-69d4-4686-bbac-f971bb05ddb7
57399640-7e47-4157-a05f-4b0fa01e1864
039b61e0-7d41-4034-bbd5-ed3f3dae754f
41c9dbb3-964c-4c47-b79e-eefbbb51afae
94a15a5b-048b-438d-bdea-a7d730bb4653
107482ff-dee4-4238-87f7-357078886ba1
5aed5c2b-7770-49b5-9d39-6e3f8b6ab3bd
534fdd32-bc04-4716-b979-a828e85e917e
69a2df2e-0195-4cb6-a8f5-43c552b9551a
dc6416a1-2112-49c4-b947-645c6ad93a4c
04448f1b-b293-4384-932f-5f92c38be5bf
90fc7a4a-1421-4d16-8c2c-0426920962be
36df14ea-bb1b-4bea-976f-9dfc77b7de04
Total number of queries: 18
lens-shell>query list --state QUEUED
Command failed javax.ws.rs.ProcessingException: java.net.ConnectException: 
Connection refused
lens-shell>query list --state QUEUED
Command failed javax.ws.rs.ProcessingException: java.net.ConnectException: 
Connection refused
lens-shell>query list --state QUEUED
07df7d8d-5910-4bec-a8cc-d52fa71e6dc6
a32deff9-5b96-43d4-a528-ef0798d6cb9e
e56cbe20-69d4-4686-bbac-f971bb05ddb7
9d020a18-8c5f-4574-910b-48f29e54f2e8
41c9dbb3-964c-4c47-b79e-eefbbb51afae
039b61e0-7d41-4034-bbd5-ed3f3dae754f
107482ff-dee4-4238-87f7-357078886ba1
5aed5c2b-7770-49b5-9d39-6e3f8b6ab3bd
69a2df2e-0195-4cb6-a8f5-43c552b9551a
dc6416a1-2112-49c4-b947-645c6ad93a4c
04448f1b-b293-4384-932f-5f92c38be5bf
90fc7a4a-1421-4d16-8c2c-0426920962be
Total number of queries: 12
lens-shell>query status 070d0cf1-4ded-48e8-8985-4cafda9ee1ae
 Status : FAILED
 Message : INTERNAL_SERVER_ERROR
 Progress : 0.0

lens-shell>query status 07df7d8d-5910-4bec-a8cc-d52fa71e6dc6
 Status : FAILED
 Message : INTERNAL_SERVER_ERROR
 Progress : 0.0
{noformat}


> Queued cube queries on JDBCDriver are not getting restored correctly
> 
>
> Key: LENS-832
> URL: https://issues.apache.org/jira/browse/LENS-832
> Project: Apache Lens
>  Issue Type: Bug
>  Components: api, server
>Affects Versions: 2.3
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.5
>
> Attachments: LENS-832.patch
>
>
> The query that is getting launched on JDBCDriver after restart is cube select 
> query - not the rewritten query.



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


[jira] [Commented] (LENS-832) Queued cube queries on JDBCDriver are not getting restored correctly

2015-11-26 Thread Archana H (JIRA)

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

Archana H commented on LENS-832:


Still failing
Scenario:
There were 5 JDBC queries in QUEUED state and lens was restarted.
After restart its saying query not found for these queries.

lens-shell>show logs 5a5612ef-94ec-4e48-a8e5-18f9b1e7298b
last line in the output : 
[QuerySubmitter] INFO  org.apache.lens.server.query.QueryExecutionServiceImpl - 
Added to waiting queries. QueryId:5a5612ef-94ec-4e48-a8e5-18f9b1e7298b

> Queued cube queries on JDBCDriver are not getting restored correctly
> 
>
> Key: LENS-832
> URL: https://issues.apache.org/jira/browse/LENS-832
> Project: Apache Lens
>  Issue Type: Bug
>  Components: api, server
>Affects Versions: 2.3
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.5
>
> Attachments: LENS-832.patch
>
>
> The query that is getting launched on JDBCDriver after restart is cube select 
> query - not the rewritten query.



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


[jira] [Commented] (LENS-832) Queued cube queries on JDBCDriver are not getting restored correctly

2015-10-24 Thread Hudson (JIRA)

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

Hudson commented on LENS-832:
-

SUCCESS: Integrated in Lens-Commit #1115 (See 
[https://builds.apache.org/job/Lens-Commit/1115/])
LENS-832 : Fix recovery for queued queries upon restart (amareshwari: rev 
3cd03a37a7914e493eb3fdee41fb96fbbf0f0d89)
* 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java
* 
lens-server-api/src/test/java/org/apache/lens/server/api/query/MockQueryContext.java
* 
lens-server-api/src/test/java/org/apache/lens/server/api/query/TestAbstractQueryContext.java


> Queued cube queries on JDBCDriver are not getting restored correctly
> 
>
> Key: LENS-832
> URL: https://issues.apache.org/jira/browse/LENS-832
> Project: Apache Lens
>  Issue Type: Bug
>  Components: api, server
>Affects Versions: 2.3
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.5
>
> Attachments: LENS-832.patch
>
>
> The query that is getting launched on JDBCDriver after restart is cube select 
> query - not the rewritten query.



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


[jira] [Commented] (LENS-832) Queued cube queries on JDBCDriver are not getting restored correctly

2015-10-24 Thread Hudson (JIRA)

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

Hudson commented on LENS-832:
-

SUCCESS: Integrated in Lens-Commit-Java8 #25 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/25/])
LENS-832 : Fix recovery for queued queries upon restart (amareshwari: rev 
3cd03a37a7914e493eb3fdee41fb96fbbf0f0d89)
* 
lens-server-api/src/test/java/org/apache/lens/server/api/query/MockQueryContext.java
* 
lens-server-api/src/test/java/org/apache/lens/server/api/query/TestAbstractQueryContext.java
* 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java


> Queued cube queries on JDBCDriver are not getting restored correctly
> 
>
> Key: LENS-832
> URL: https://issues.apache.org/jira/browse/LENS-832
> Project: Apache Lens
>  Issue Type: Bug
>  Components: api, server
>Affects Versions: 2.3
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.5
>
> Attachments: LENS-832.patch
>
>
> The query that is getting launched on JDBCDriver after restart is cube select 
> query - not the rewritten query.



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


[jira] [Commented] (LENS-832) Queued cube queries on JDBCDriver are not getting restored correctly

2015-10-24 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-832:


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

> Queued cube queries on JDBCDriver are not getting restored correctly
> 
>
> Key: LENS-832
> URL: https://issues.apache.org/jira/browse/LENS-832
> Project: Apache Lens
>  Issue Type: Bug
>  Components: api, server
>Affects Versions: 2.3
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.5
>
> Attachments: LENS-832.patch
>
>
> The query that is getting launched on JDBCDriver after restart is cube select 
> query - not the rewritten query.



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


[jira] [Commented] (LENS-832) Queued cube queries on JDBCDriver are not getting restored correctly

2015-10-24 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on LENS-832:
--

Review request updated at https://reviews.apache.org/r/39434/

> Queued cube queries on JDBCDriver are not getting restored correctly
> 
>
> Key: LENS-832
> URL: https://issues.apache.org/jira/browse/LENS-832
> Project: Apache Lens
>  Issue Type: Bug
>  Components: api, server
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.5
>
>
> The query that is getting launched on JDBCDriver after restart is cube select 
> query - not the rewritten query.



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


[jira] [Commented] (LENS-832) Queued cube queries on JDBCDriver are not getting restored correctly

2015-10-24 Thread Srikanth Sundarrajan (JIRA)

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

Srikanth Sundarrajan commented on LENS-832:
---

Will do a cursory check on this. If I think I can chip in on this, will assign 
this to myself.

> Queued cube queries on JDBCDriver are not getting restored correctly
> 
>
> Key: LENS-832
> URL: https://issues.apache.org/jira/browse/LENS-832
> Project: Apache Lens
>  Issue Type: Bug
>  Components: api, server
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.5
>
>
> The query that is getting launched on JDBCDriver after restart is cube select 
> query - not the rewritten query.



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