[jira] [Closed] (LENS-1399) Union Query rewrite incorrect in case of select expressions containing dimensions

2017-08-23 Thread Divakar Tomar (JIRA)

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

Divakar Tomar closed LENS-1399.
---

verified

> Union Query rewrite incorrect in case of select expressions containing 
> dimensions
> -
>
> Key: LENS-1399
> URL: https://issues.apache.org/jira/browse/LENS-1399
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Rajitha R
>Assignee: Rajitha R
> Fix For: 2.7
>
> Attachments: Lens-1399.patch, Lens-patch
>
>
> The Union Query rewriter is returning zero value for measures which have 
> complex expressions containing dimensions. This needs to be fixed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (LENS-1397) Support query rewrite for separate table per update period in a storage

2017-08-23 Thread Divakar Tomar (JIRA)

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

Divakar Tomar closed LENS-1397.
---

> Support query rewrite for separate table per update period in a storage
> ---
>
> Key: LENS-1397
> URL: https://issues.apache.org/jira/browse/LENS-1397
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: server
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.7
>
> Attachments: LENS-1397.03.patch
>
>
> Consider the case where a Storage S has three update periods and each update 
> period has a different table description "table_desc" as supported in 
> LENS-1386. 
> We should be able to rewrite queries for such storages 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (LENS-1373) Specify chain of comparators in lensserver-default.xml

2017-08-23 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal closed LENS-1373.
--

Available in 
https://github.com/apache/lens/blob/29568fa3999642d017977b5dda3d7e08bee91337/lens-server/src/main/resources/lensserver-default.xml#L948

> Specify chain of comparators in lensserver-default.xml
> --
>
> Key: LENS-1373
> URL: https://issues.apache.org/jira/browse/LENS-1373
> Project: Apache Lens
>  Issue Type: Task
>Affects Versions: 2.7
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.7
>
> Attachments: LENS-1373.2016-11-07_17:09:24.patch, 
> LENS-1373.2016-11-07_17:30:06.patch, LENS-1373.2016-11-07_17:49:30.patch, 
> LENS-1373.2017-01-18_18:22:59.patch
>
>
> Queries are compared in the following order:
> 1. More retries first
> 2. Higher priority first
> 3. FIFO
> The default value is added in code, but not in lensserver-defaults.xml. 
> Adding to either places should have been enough but seems like that's not 
> happening. Will investigate more and raise another bug if that's the case. 
> This jira is just for adding the defaults in xml file. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (LENS-1359) Add driver hooks for user based filtering of queries

2017-08-23 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal closed LENS-1359.
--

Verified to be working. 

> Add driver hooks for user based filtering of queries
> 
>
> Key: LENS-1359
> URL: https://issues.apache.org/jira/browse/LENS-1359
> Project: Apache Lens
>  Issue Type: Task
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>  Labels: incompatible
> Fix For: 2.7
>
> Attachments: LENS-1359.01.patch, LENS-1359.02.patch, 
> LENS-1359.03.patch, LENS-1359.04.patch, LENS-1359.05.patch, 
> LENS-1359.06.patch, LENS-1359.07.patch, LENS-1359.08.patch, 
> LENS-1359.09.patch, LENS-1359.10.patch, LENS-1359.11.patch, 
> LENS-1359.12.patch, LENS-1359.13.patch, LENS-1359.14.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (LENS-1324) Support more hooks in DriverQueryHook

2017-08-23 Thread Divakar Tomar (JIRA)

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

Divakar Tomar closed LENS-1324.
---

> Support more hooks in DriverQueryHook
> -
>
> Key: LENS-1324
> URL: https://issues.apache.org/jira/browse/LENS-1324
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.7
>
> Attachments: lens-1324.v2.patch
>
>
> Currently we have two hooks 
> 1. preLaunch
> 2. postDriverSelection
> Need to add some hooks that can hook into rewrite and estimate flow also. 
> 1.preRewrite, postRewrite
> 2.preEstimate,postEstimate
> NoOpDriverQueryHook will have default empty implementation for these new 
> methods .



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (LENS-1307) execute_with_timout not timing out after timeout time

2017-08-23 Thread Divakar Tomar (JIRA)

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

Divakar Tomar closed LENS-1307.
---

> execute_with_timout not timing out after timeout time
> -
>
> Key: LENS-1307
> URL: https://issues.apache.org/jira/browse/LENS-1307
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.7
>
> Attachments: lens-1307-v1.patch
>
>
> 3+ minutes (13:31:10 to 13:34:14) 5a32066c-9834-421b-bce9-60f2a8766f26
> {noformat}
> lensserver-requests.log.2016-08-28.2-28 Aug 2016 13:31:10 [] 
> [grizzly-http-server-11] INFO  org.apache.lens.server.LensServer.request - 
> 91768 * Server has received a request on thread grizzly-http-server-11
> lensserver-requests.log.2016-08-28.2:91768 > POST 
> http://x:8080/lensapi/queryapi/queries
> lensserver-requests.log.2016-08-28.2-91768 > accept: application/json
> lensserver-requests.log.2016-08-28.2-28 Aug 2016 13:34:14 [] 
> [grizzly-http-server-11] INFO  org.apache.lens.server.LensServer.request - 
> 91768 * Server responded with a response on thread grizzly-http-server-11
> lensserver-requests.log.2016-08-28.2:91768 < 200
> lensserver-requests.log.2016-08-28.2-91768 < Content-Type: application/json
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (LENS-1325) Support encoded urls for query HTTP notifications

2017-08-23 Thread Divakar Tomar (JIRA)

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

Divakar Tomar closed LENS-1325.
---

> Support encoded urls for query HTTP notifications
> -
>
> Key: LENS-1325
> URL: https://issues.apache.org/jira/browse/LENS-1325
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.7
>
> Attachments: lens-1325.v2.patch
>
>
> This notification url is working : 
> http://x:8000/v1/data/?access_token=ABC123
> This is giving 400 bad request : 
> http://:8000/v1/data/?access_token=ABC123=xyz
> Please check.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (LENS-1190) Support Query End Notifictaion to a HTTP end point.

2017-08-23 Thread Divakar Tomar (JIRA)

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

Divakar Tomar closed LENS-1190.
---

> Support Query End Notifictaion to a HTTP end point.
> ---
>
> Key: LENS-1190
> URL: https://issues.apache.org/jira/browse/LENS-1190
> Project: Apache Lens
>  Issue Type: New Feature
>  Components: server
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.7
>
> Attachments: lens-1190.patch
>
>
> As of now query end notification is supported via email. 
> On similar lines we can also notify a HTTP end point and the app submitting 
> queries on Lens Server can take appropriate action when such a end 
> notification is received by it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (LENS-1190) Support Query End Notification to a HTTP end point.

2017-08-23 Thread Divakar Tomar (JIRA)

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

Divakar Tomar updated LENS-1190:

Summary: Support Query End Notification to a HTTP end point.  (was: Support 
Query End Notifictaion to a HTTP end point.)

> Support Query End Notification to a HTTP end point.
> ---
>
> Key: LENS-1190
> URL: https://issues.apache.org/jira/browse/LENS-1190
> Project: Apache Lens
>  Issue Type: New Feature
>  Components: server
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.7
>
> Attachments: lens-1190.patch
>
>
> As of now query end notification is supported via email. 
> On similar lines we can also notify a HTTP end point and the app submitting 
> queries on Lens Server can take appropriate action when such a end 
> notification is received by it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (LENS-1302) Add launch rejection reason to query status message

2017-08-23 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal closed LENS-1302.
--

Able to see rejection message in the status of queued queries. Closing

> Add launch rejection reason to query status message
> ---
>
> Key: LENS-1302
> URL: https://issues.apache.org/jira/browse/LENS-1302
> Project: Apache Lens
>  Issue Type: Improvement
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.7
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (LENS-1363) Error While building Lens Site

2017-08-23 Thread Divakar Tomar (JIRA)

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

Divakar Tomar closed LENS-1363.
---

> Error While building Lens Site
> --
>
> Key: LENS-1363
> URL: https://issues.apache.org/jira/browse/LENS-1363
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: build
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.7
>
> Attachments: lens-1363.patch
>
>
> 1. The output of enunciate had changed after upgrading it. 
> Need to update tools/scripts/generate-site-public.sh accordingly. 
> 2. Download links are pointing to lens 2.6. Need to change to point to 2.6.1
> 3. Roles need to be updated in pom.xml for two team members 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (LENS-1317) Lens Query Conf to be persisted in Finished_Queries store

2017-08-23 Thread Divakar Tomar (JIRA)

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

Divakar Tomar closed LENS-1317.
---

verified

> Lens Query Conf to be persisted in Finished_Queries store
> -
>
> Key: LENS-1317
> URL: https://issues.apache.org/jira/browse/LENS-1317
> Project: Apache Lens
>  Issue Type: Improvement
>Reporter: Srikanth Sundarrajan
>Assignee: Srikanth Sundarrajan
>  Labels: incompatible
> Fix For: 2.7
>
> Attachments: LENS-1317.patch, LENS-1317.patch
>
>
> Lens Conf passed while submitting a query isn't currently persisted in the 
> finished_queries state store. Conf is available as long as query is in 
> running or queued state and once the query completes and the same is evicted 
> from memory, conf (fetched from DB) is no longer available. It would be 
> useful to record the configurations that a user had used while submitting a 
> query.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)