Re: [ANNOUNCE] Apache Lens 2.7.1 released

2018-02-05 Thread Amareshwari Sriramdasu
Great work Raju!

Your perseverance made this release possible. Thank you so much for
volunteering and completing this release.

Thanks
Amareshwari

On Tue, Feb 6, 2018 at 11:48 AM, Raju Bairishetti  wrote:

> Hi All,
>
> The Apache Lens team is proud to announce the release of Apache Lens
> 2.7.1.
>
> This release includes features like cube segmentation, unioning data across
> facts, retry on transient errors, support for source data completion
> checking and many more bug fixes and improvements.
>
> Apache Lens provides a Unified Analytics interface. Lens aims to cut the
> Data Analytics silos by providing a single view of data across multiple
> tiered data stores and optimal execution environment for the analytical
> query. It seamlessly integrates Hadoop with traditional data warehouses to
> appear like one.
>
>
> More details on Apache Lens can be found at
> http://lens.apache.org/
>
> Getting started available at
> http://lens.apache.org/lenshome/quick-start.html
>
> For quick ramp-up, you can watch a video at
> http://cwiki.apache.org/confluence/display/LENS/2015/
> 07/13/20+Minute+video+demo+of+Apache+Lens+through+examples
>
> How to for Contributors available at
> http://lens.apache.org/developer/contribute.html
>
> The release artifacts are downloadable from
> http://lens.apache.org/releases/download.html
>
> Maven jar artifacts have also been made available on
> https://repository.apache.org/content/repositories/releases/
> org/apache/lens
>
> Release notes available at
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> projectId=12315923=12336851
>
> We would like to thank all the contributors who made this release possible.
>
>
> Thanks,
> Raju Bairishetti
>


[ANNOUNCE] Apache Lens 2.7.1 released

2018-02-05 Thread Raju Bairishetti
Hi All,

The Apache Lens team is proud to announce the release of Apache Lens
2.7.1.

This release includes features like cube segmentation, unioning data across
facts, retry on transient errors, support for source data completion
checking and many more bug fixes and improvements.

Apache Lens provides a Unified Analytics interface. Lens aims to cut the
Data Analytics silos by providing a single view of data across multiple
tiered data stores and optimal execution environment for the analytical
query. It seamlessly integrates Hadoop with traditional data warehouses to
appear like one.


More details on Apache Lens can be found at
http://lens.apache.org/

Getting started available at
http://lens.apache.org/lenshome/quick-start.html

For quick ramp-up, you can watch a video at
http://cwiki.apache.org/confluence/display/LENS/2015/07/13/20+Minute+video+demo+of+Apache+Lens+through+examples

How to for Contributors available at
http://lens.apache.org/developer/contribute.html

The release artifacts are downloadable from
http://lens.apache.org/releases/download.html

Maven jar artifacts have also been made available on
https://repository.apache.org/content/repositories/releases/org/apache/lens

Release notes available at
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12315923=12336851

We would like to thank all the contributors who made this release possible.


Thanks,
Raju Bairishetti


[jira] [Commented] (LENS-1464) One or two queued queries failing with ConcurrentModificationException on restart

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1464:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1464: One or two queued queries failing with (raju.bairishetti: rev 
1d6679754240f2980e9bffd278a3ee04ac98db02)
* (edit) lens-server/pom.xml
* (edit) 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java


> One or two queued queries failing with ConcurrentModificationException on 
> restart 
> --
>
> Key: LENS-1464
> URL: https://issues.apache.org/jira/browse/LENS-1464
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1464.01.patch, LENS-1464.02.patch, 
> LENS-1464.03.patch
>
>
> Happens because of synchronizations issues. If two queries are simultaneously 
> launching, both try to add resources to hive driver. One of those queries can 
> fail then. 



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


[jira] [Commented] (LENS-1451) Enforcing valid fact tables doesn't filter out segmentations

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1451:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1451: Enforcing valid fact tables doesn't filter out segmentations 
(rajatgupta59: rev 3769ef0e8987caf26c931bf2735e3658e30f3ac4)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CandidateTableResolver.java


> Enforcing valid fact tables doesn't filter out segmentations
> 
>
> Key: LENS-1451
> URL: https://issues.apache.org/jira/browse/LENS-1451
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1451.01.patch
>
>
> valid fact tables key is used to enforce which facts can be picked. 
> Currently, this property still lets segmentations remain valid candidates and 
> enforcing doesn't happen. 



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


[jira] [Commented] (LENS-1449) lens.query.result.parent.dir to be set at driver level

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1449:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1449 : lens.query.result.parent.dir to be set at driver level. 
(rajatgupta59: rev 41051ea47f164f004f5fccaa7ea91765007811fc)
* (edit) 
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryContext.java
* (edit) lens-server/src/test/resources/drivers/hive/hive1/hivedriver-site.xml
* (edit) 
lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java
* (edit) lens-server/src/test/resources/drivers/jdbc/jdbc1/jdbcdriver-site.xml
* (edit) 
lens-server-api/src/main/java/org/apache/lens/server/api/query/DriverSelectorQueryContext.java
* (edit) lens-server/src/test/resources/lens-site.xml
* (edit) lens-server/src/test/resources/drivers/hive/hive2/hivedriver-site.xml
* (edit) 
lens-server/src/test/java/org/apache/lens/server/query/TestResultFormatting.java


> lens.query.result.parent.dir to be set at driver level
> --
>
> Key: LENS-1449
> URL: https://issues.apache.org/jira/browse/LENS-1449
> Project: Apache Lens
>  Issue Type: Task
>  Components: drivers
>Reporter: Raghavendra Singh
>Assignee: Raghavendra Singh
>Priority: Major
> Attachments: LENS-1449.01.patch, LENS-1449.patch
>
>
> This property is currently set at lens level. we need to override it at 
> driver level



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


[jira] [Commented] (LENS-1412) CRUD operation support for Virtual fact and Unit test cases

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1412:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1412 : Add capability to define virtual facts in a cube (amareshwari: rev 
27ad9aa8f27082a8ac6d82cbf91fff80b43ab689)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CandidateTableResolver.java
* (edit) 
lens-client/src/main/java/org/apache/lens/client/LensMetadataClient.java
* (edit) lens-server/pom.xml
* (add) 
lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeVirtualFactTable.java
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/parse/TestCubeSegmentationRewriter.java
* (edit) lens-examples/pom.xml
* (edit) lens-api/src/main/resources/lens-errors.conf
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeMetastoreClient.java
* (edit) lens-examples/src/test/resources/yaml/sales-aggr-fact2.yaml
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/metadata/MetastoreUtil.java
* (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/JAXBUtils.java
* (add) lens-cube/src/main/java/org/apache/lens/cube/metadata/FactTable.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/error/LensCubeErrorCode.java
* (edit) 
lens-server-api/src/main/java/org/apache/lens/server/api/metastore/CubeMetastoreService.java
* (add) lens-cli/src/test/resources/schema/cubes/base/virtual-cube.xml
* (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/CubeTestSetup.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidate.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/StorageTableResolver.java
* (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/Segmentation.java
* (edit) lens-examples/src/test/resources/yaml/fact1.yaml
* (edit) lens-api/src/main/resources/cube-0.1.xsd
* (edit) 
lens-server/src/main/java/org/apache/lens/server/metastore/CubeMetastoreServiceImpl.java
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/metadata/CubeFactTableTest.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/metastore/MetastoreResource.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/metadata/AbstractCubeTable.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/metadata/MetastoreConstants.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/metastore/SchemaTraverser.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/metastore/TestMetastoreService.java
* (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/Candidate.java
* (edit) lens-cli/src/test/java/org/apache/lens/cli/TestLensSchemaCommands.java
* (edit) src/site/apt/user/cli.apt
* (edit) 
lens-server/src/test/java/org/apache/lens/server/common/RestAPITestUtil.java
* (edit) lens-driver-es/pom.xml
* (edit) lens-examples/src/test/resources/yaml/sales-aggr-continuous-fact.yaml
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidateHQLContext.java
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/metadata/TestCubeMetastoreClient.java
* (edit) 
lens-cli/src/main/java/org/apache/lens/cli/commands/LensFactCommands.java
* (edit) lens-client/src/main/java/org/apache/lens/client/LensClient.java
* (edit) lens-examples/src/test/resources/yaml/rawfact.yaml
* (edit) lens-cli/src/test/java/org/apache/lens/cli/TestLensFactCommands.java
* (edit) tools/scripts/generate-site-public.sh
* (edit) lens-examples/src/test/resources/yaml/sales-raw-fact.yaml
* (add) lens-cube/src/test/resources/schema/facts/virtualfact.xml
* (add) lens-cube/src/test/resources/schema/cubes/base/virtualcube.xml
* (edit) lens-examples/src/test/resources/yaml/fact2.yaml
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/parse/TestCubeRewriter.java
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/parse/TestUnionQueries.java
* (edit) 
lens-cli/src/main/java/org/apache/lens/cli/commands/LensSchemaCommands.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeFactTable.java
* (add) lens-cli/src/test/resources/schema/facts/virtual_fact.xml
* (edit) lens-examples/src/test/resources/yaml/sales-aggr-fact1.yaml


> CRUD operation support for Virtual fact and Unit test cases
> ---
>
> Key: LENS-1412
> URL: https://issues.apache.org/jira/browse/LENS-1412
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: cube, server
>Reporter: Rajitha R
>Assignee: Rajitha R
>Priority: Major
> Fix For: 2.7
>
> Attachments: Lens-1412.patch
>
>
> Changes for CRUD operations in Virtual fact



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


[jira] [Commented] (LENS-1467) CubeQueryContext.getAllFilters is returning incorrect list of filters in case there is an "OR" in the filters

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1467:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1467: CubeQueryContext.getAllFilters is returning incorrect list of 
(raju.bairishetti: rev 9a678d8c2602860aac81bb31801c6c6acb946054)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CubeQueryContext.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidateHQLContext.java
* (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/join/JoinClause.java
* (add) 
lens-cube/src/test/java/org/apache/lens/cube/parse/CubeQueryContextTest.java


> CubeQueryContext.getAllFilters is returning incorrect list of filters in case 
> there is an "OR" in the filters
> -
>
> Key: LENS-1467
> URL: https://issues.apache.org/jira/browse/LENS-1467
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1467.01.patch, LENS-1467.02.patch, 
> LENS-1467.03.patch
>
>
> "a and (b or c)" is converted to ["a", "b", "c"] which are then ANDed 
> together, which is wrong. 



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


[jira] [Commented] (LENS-1450) filters are getting replicated in jdbc driver query

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1450:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1450: filters are getting replicated in jdbc driver query (rajatgupta59: 
rev 503a46dc6c89598cc2ea557f2311e4bd26c3d9a1)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CubeQueryContext.java
Revert "LENS-1450: filters are getting replicated in jdbc driver query" 
(rajatgupta59: rev 1f9f12f25b26ff00443410c7318e785499cd19f6)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CubeQueryContext.java
LENS-1450 : Fix duplicate filters in query writing (rajatgupta59: rev 
05c364e24820b8b6e10a226a523429ca35f9e4d4)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CubeQueryContext.java
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/parse/TestCubeRewriter.java


> filters are getting replicated in jdbc driver query
> ---
>
> Key: LENS-1450
> URL: https://issues.apache.org/jira/browse/LENS-1450
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajitha R
>Assignee: Rajitha R
>Priority: Major
> Attachments: LENS-1450-2.patch
>
>
> The where filters are getting repeated in some queries for jdbc. This needs 
> to be fixed



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


[jira] [Commented] (LENS-1454) Time Covering set algorithm is skipping some combinations

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1454:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1454: Time Covering set algorithm is skipping some combinations 
(rajatgupta59: rev 8b4120237af9aaca3a6934650ccfeac24bc62c59)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CandidateCoveringSetsResolver.java


> Time Covering set algorithm is skipping some combinations
> -
>
> Key: LENS-1454
> URL: https://issues.apache.org/jira/browse/LENS-1454
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Attachments: LENS-1454.01.patch
>
>
> The current algorithm is incomplete. Will attach a patch. 



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


[jira] [Commented] (LENS-1457) ExpressionResolver pruning expression when some tables don't have ref columns of the expressions

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1457:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1457: ExpressionResolver pruning expression when some tables don't 
(rajatgupta59: rev f43c20512facb9686316b5b4aed1af9515d33fb5)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/ExpressionResolver.java
* (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/CandidateTable.java


> ExpressionResolver pruning expression when some tables don't have ref columns 
> of the expressions
> 
>
> Key: LENS-1457
> URL: https://issues.apache.org/jira/browse/LENS-1457
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Attachments: LENS-1457.01.patch
>
>
> In an expression {{f(a,b)}} where {{a}} and {{b}} are ref dim attributes 
> themselves. If a or b are not directly available in a fact and the chain 
> source columns are also not available, this expression is marked as 
> unanswerable from all facts. 



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


[jira] [Commented] (LENS-1473) Cubevirtualfact table relative start time has incorrect config field name

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1473:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1473: Cubevirtualfact table relative start time has incorrect 
(raju.bairishetti: rev 717214cf9f17337fa6769f03afb3391b39b014ee)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeVirtualFactTable.java


> Cubevirtualfact table relative start time has incorrect config field name
> -
>
> Key: LENS-1473
> URL: https://issues.apache.org/jira/browse/LENS-1473
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajitha R
>Assignee: Rajitha R
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1473.patch
>
>
> Cubevirtualfact table relative start time has incorrect config field name



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


[jira] [Commented] (LENS-1430) Expressions are not getting resolved correctly in union query

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1430:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1430 : Expressions are not getting resolved correctly in union 
(sushilmohanty: rev be75e1d5571f33ca1ec51f91a5d113abe0838842)
* (edit) lens-cube/src/test/resources/schema/facts/union_join_ctx_fact1.xml
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/parse/TestUnionAndJoinCandidates.java
* (edit) 
lens-cube/src/test/resources/schema/cubes/derived/union_join_ctx_der1.xml
* (edit) lens-cube/src/test/resources/schema/facts/union_join_ctx_fact3.xml
* (edit) lens-cube/src/test/resources/schema/cubes/base/basecube.xml
* (edit) lens-cube/src/test/resources/schema/cubes/base/testcube.xml
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/ExpressionResolver.java
* (add) lens-cube/src/test/resources/schema/facts/union_join_ctx_fact4.xml


> Expressions are not getting resolved correctly in union query
> -
>
> Key: LENS-1430
> URL: https://issues.apache.org/jira/browse/LENS-1430
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Sushil Mohanty
>Assignee: Sushil Mohanty
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1430.patch, LENS-1430_1.patch
>
>
> Expressions are not getting resolved correctly for the below case
> {CODE} 
> case when expr1 = 0 then 0 else expr2 * 100 / expr1 end 
> {CODE}
> expr1 is answerable by Candidate1 and Candidate2
> expr2 is answerable by Candidate1 



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


[jira] [Commented] (LENS-1441) CandidateTableResolver should not add StorageCandidate if storage is not supported

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1441:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1441: CandidateTableResolver should not add StorageCandidate if 
(rajatgupta59: rev c2a9c9316cc5d3a06b02a157722fa58f2757d47a)
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/parse/TestDenormalizationResolver.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/ExpressionResolver.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CandidateTableResolver.java
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/parse/TestTimeRangeResolver.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/query/QueryAPIErrorResponseTest.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/StorageTableResolver.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CubeQueryRewriter.java


> CandidateTableResolver should not add StorageCandidate if storage is not 
> supported
> --
>
> Key: LENS-1441
> URL: https://issues.apache.org/jira/browse/LENS-1441
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Attachments: LENS-1441.01.patch, LENS-1441.02.patch, 
> LENS-1441.03.patch, LENS-1441.04.patch, LENS-1441.05.patch, LENS-1441.06.patch
>
>
> An optimization. 



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


[jira] [Commented] (LENS-1475) Override equals(Object obj) and hashcode() methods of SegmentationCandidate

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1475:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1475 : Override equals(Object obj) and hashcode() methods of 
(raju.bairishetti: rev 0f58445e0e2bf4262a624f006c678786a00485d5)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/SegmentationCandidate.java


> Override equals(Object obj) and hashcode() methods of SegmentationCandidate
> ---
>
> Key: LENS-1475
> URL: https://issues.apache.org/jira/browse/LENS-1475
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Sushil Mohanty
>Assignee: Sushil Mohanty
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1475.patch
>
>
> Override both equals() and hashcode() 



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


[jira] [Commented] (LENS-1481) Missing License headers in some .js files

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1481:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1481: Add License headers to .js files (raju.bairishetti: rev 
c566bf61e009e6cdc4a2b71ed699680d7c20c323)
* (edit) lens-ui/app/adapters/SessionAdapter.js
* (edit) lens-ui/app/components/SessionListComponent.js
* (edit) lens-ui/app/stores/SessionStore.js
* (edit) lens-ui/app/actions/SessionAction.js
* (edit) lens-ui/app/constants/SessionConstants.js


> Missing License headers in some .js files
> -
>
> Key: LENS-1481
> URL: https://issues.apache.org/jira/browse/LENS-1481
> Project: Apache Lens
>  Issue Type: Bug
>  Components: UI
>Reporter: Raju Bairishetti
>Assignee: Raju Bairishetti
>Priority: Minor
> Fix For: 2.7
>
> Attachments: LENS-1481.patch
>
>
> License header is missing in some .js files under UI module. We have to add 
> the licence header to all the files.
> {noformat}
> lens-ui/app/actions/SessionAction.js
> lens-ui/app/adapters/SessionAdapter.js
> lens-ui/app/components/SessionListComponent.js
> lens-ui/app/constants/SessionConstants.js
> lens-ui/app/stores/SessionStore.js
> {noformat}



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


[jira] [Commented] (LENS-1453) Method metrics names duplicate for segmentation inner rewrite

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1453:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1453: Method metrics names duplicate for segmentation inner rewrite 
(rajatgupta59: rev 65ca04b598bd29201a6670b7a51679f9ccb9ccc6)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/SegmentationCandidate.java


> Method metrics names duplicate for segmentation inner rewrite
> -
>
> Key: LENS-1453
> URL: https://issues.apache.org/jira/browse/LENS-1453
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Attachments: LENS-1453.01.patch
>
>
> {noformat}
> java.lang.IllegalArgumentException: A metric named 
> lens.MethodMetricGauge.9a18f287-a40f-4108-b499-932c3edf6eaa-hive/prod-org.apache.lens.cube.parse.ColumnResolver-ITER-0
>  already exists
>   at com.codahale.metrics.MetricRegistry.register(MetricRegistry.java:91) 
> ~[metrics-core-3.0.2.jar:3.0.2]
>   at 
> org.apache.lens.server.api.metrics.MethodMetricGauge.markSuccess(MethodMetricGauge.java:61)
>  ~[lens-server-api-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
>   at 
> org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:264)
>  ~[lens-cube-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
>   at 
> org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:232)
>  ~[lens-cube-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
>   at 
> org.apache.lens.cube.parse.SegmentationCandidate.rewriteInternal(SegmentationCandidate.java:145)
>  ~[lens-cube-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
>   at 
> org.apache.lens.cube.parse.SegmentationInnerRewriter$Exploder.shouldBeRemoved(SegmentationInnerRewriter.java:57)
>  ~[lens-cube-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
>   at 
> org.apache.lens.cube.parse.SegmentationInnerRewriter$Exploder.access$300(SegmentationInnerRewriter.java:49)
>  ~[lens-cube-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
>   at 
> org.apache.lens.cube.parse.SegmentationInnerRewriter.lambda$rewriteContext$0(SegmentationInnerRewriter.java:46)
>  ~[lens-cube-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
>   at 
> org.apache.lens.cube.parse.SegmentationInnerRewriter$$Lambda$82/1668365591.test(Unknown
>  Source) ~[na:na]
>   at java.util.Collection.removeIf(Collection.java:414) ~[na:1.8.0_40]
>   at 
> org.apache.lens.cube.parse.SegmentationInnerRewriter.rewriteContext(SegmentationInnerRewriter.java:46)
>  ~[lens-cube-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
>   at 
> org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:263)
>  ~[lens-cube-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
>   at 
> org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:232)
>  ~[lens-cube-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
>   at 
> org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:248)
>  ~[lens-cube-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
>   at 
> org.apache.lens.server.rewrite.RewriteUtil$DriverRewriterRunnable.run(RewriteUtil.java:392)
>  ~[classes/:na]
>   at 
> org.apache.lens.server.query.QueryExecutionServiceImpl$RewriteEstimateRunnable.run(QueryExecutionServiceImpl.java:1855)
>  [classes/:na]
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
> [na:1.8.0_40]
>   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
(v7.6.3#76005)


[jira] [Commented] (LENS-1472) Populate sample metastore on example db is failing

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1472:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1472: Populate sample metastore on example db is failing 
(raju.bairishetti: rev dcbe18e6bd967cfc5abe14c8fb59bd0bddc2a753)
* (edit) 
lens-examples/src/main/java/org/apache/lens/examples/PopulateSampleMetastore.java
* (edit) 
lens-examples/src/main/java/org/apache/lens/examples/SampleMetastore.java
* (edit) lens-dist/src/main/assembly/bin-dist.xml
* (add) lens-examples/src/main/resources/sales-aggr-fact2-local4.data


> Populate sample metastore on example db is failing
> --
>
> Key: LENS-1472
> URL: https://issues.apache.org/jira/browse/LENS-1472
> Project: Apache Lens
>  Issue Type: Bug
>  Components: examples
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Fix For: 2.8
>
> Attachments: LENS-1472.01.patch, LENS-1472.02.patch
>
>
> {noformat}
> Error Message: Internal Server Error.: 
> MetaException(message:file:/usr/local/lens/client/examples/data/sales_aggr_fact2_local4
>  is not a directory or unable to create one)
>   at 
> org.apache.lens.client.LensMetadataClient.translate(LensMetadataClient.java:73)
>   at 
> org.apache.lens.client.LensMetadataClient.addPartitionsToFactTable(LensMetadataClient.java:875)
>   at 
> org.apache.lens.examples.PopulateSampleMetastore.createFactPartitions(PopulateSampleMetastore.java:172)
>   at 
> org.apache.lens.examples.PopulateSampleMetastore.populateFactTables(PopulateSampleMetastore.java:196)
>   at 
> org.apache.lens.examples.PopulateSampleMetastore.populateAll(PopulateSampleMetastore.java:84)
>   at 
> org.apache.lens.examples.PopulateSampleMetastore.main(PopulateSampleMetastore.java:71)
> {noformat}



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


[jira] [Commented] (LENS-1491) Disable testEstimateRejectionException and testSearchStoreJob test cases temporarily

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1491:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1491: Disable testEstimateRejectionException and testSearchStoreJob 
(raju.bairishetti: rev 7fa91dd4ce978e93f29dbc64a28a295ce0559603)
* (edit) 
lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/scheduler/SchedulerDAOTest.java


> Disable testEstimateRejectionException and testSearchStoreJob test cases 
> temporarily
> 
>
> Key: LENS-1491
> URL: https://issues.apache.org/jira/browse/LENS-1491
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Reporter: Raju Bairishetti
>Assignee: Raju Bairishetti
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1491.patch
>
>
>  testEstimateRejectionException and testSearchStoreJob  test cases are 
> failing intermittently. Created tickets already for fixing these test cases. 
> Disabling temporarily to unblock the release



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


[jira] [Commented] (LENS-1484) Lens Server pre commit build failing due to enunciate plugin

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1484:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1484: Fix enunciate plugin issue(i.e. failing with maven 3.5.2) 
(raju.bairishetti: rev 0240f6b42bab3af859cbd26eb942c041f639f573)
* (edit) pom.xml


> Lens Server pre commit build failing due to enunciate plugin
> 
>
> Key: LENS-1484
> URL: https://issues.apache.org/jira/browse/LENS-1484
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
>Priority: Major
> Attachments: LENS-1484.01.patch, LENS-1484.02.patch, 
> LENS-1484.03.patch, LENS-1484.patch
>
>
> [ERROR] Failed to execute goal 
> com.webcohesion.enunciate:enunciate-maven-plugin:2.5.0:docs (default) on 
> project lens-server: freemarker.core._TemplateModelException: An error has 
> occurred when reading existing sub-variable "securityRoles"; see cause 
> exception! The type of the containing value was: extended_hash+string 
> (com.webcohesion.enunciate.modules.jaxrs.api.impl.MethodImpl wrapped into 
> f.e.b.StringModel)



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


[jira] [Commented] (LENS-1434) Segmentation Candidate should have dynamic cost depending on facts picked in segmented cubes

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1434:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1434: Segmentation Candidate should have dynamic cost depending on 
(raju.bairishetti: rev d3875b4e9f46b97114819ea3318d76c1b25cc62b)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/UnionQueryWriter.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/LightestFactResolver.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/SegmentationCandidate.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidate.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidateHQLContext.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CubeQueryRewriter.java
* (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/JoinCandidate.java
* (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/Candidate.java
* (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/UnionCandidate.java


> Segmentation Candidate should have dynamic cost depending on facts picked in 
> segmented cubes
> 
>
> Key: LENS-1434
> URL: https://issues.apache.org/jira/browse/LENS-1434
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1434.01.patch, LENS-1434.02.patch, 
> LENS-1434.03.patch
>
>
> Currently weight is fixed. 



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


[jira] [Commented] (LENS-1425) Update 2.7 release documentation

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1425:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1425: Update 2.7 release documentation (raju.bairishetti: rev 
b423d5c4a57c3e18bdfac40153a22d103dc771b8)
* (edit) README.md
* (edit) src/site/apt/releases/download.apt
* (edit) src/site/apt/releases/release-history.apt


> Update 2.7 release documentation
> 
>
> Key: LENS-1425
> URL: https://issues.apache.org/jira/browse/LENS-1425
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: build
>Reporter: Raju Bairishetti
>Assignee: Raju Bairishetti
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1425.patch, LENS-1425_1.patch
>
>
> Update the release documentation with 2.7 features



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


[jira] [Commented] (LENS-1501) Skip cobertura plugin reporting while generating the site

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1501:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1501: Skip cobertura analysis while generating the site (raju.bairishetti: 
rev c2538198bcf4ec58a2df05c64d1fd94adf579e3c)
* (edit) tools/scripts/generate-site-public.sh


> Skip cobertura plugin reporting while generating the site
> -
>
> Key: LENS-1501
> URL: https://issues.apache.org/jira/browse/LENS-1501
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build
>Reporter: Raju Bairishetti
>Assignee: Raju Bairishetti
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1501.patch
>
>
> We are seeing some findbug issues while generating the site. Not getting any 
> errors with `mvn findbugs` alone.
> Planning to skip cobertura plugin while generating the site to unblock the 
> 2.7 release. Created the jiras for fixing those find bug issues from 
> cobertura plugin.



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


[jira] [Commented] (LENS-1442) Optimize algorithm of CandidateCoveringSetResolver

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1442:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1442: Optimize algorithm of CandidateCoveringSetResolver (rajatgupta59: 
rev 9da5b40e3afbe966256a601bae6204afd5d3e992)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CandidateCoveringSetsResolver.java


> Optimize algorithm of CandidateCoveringSetResolver
> --
>
> Key: LENS-1442
> URL: https://issues.apache.org/jira/browse/LENS-1442
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Attachments: LENS-1442.01.patch
>
>
> The algorithm is {{ O(2 ^n^ ) }}. If n grows to even 30, then the query gets 
> stuck. 



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


[jira] [Commented] (LENS-1435) Cube xml files are missing in lens-example

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1435:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1435: Cube xml files are missing in lens-example (raju.bairishetti: rev 
60e1277f7b7d5cb3ff5083f3fdf34dfae44dd0cb)
* (add) lens-examples/src/main/resources/cube33.xml
* (add) lens-examples/src/main/resources/cube22.xml
* (add) lens-examples/src/main/resources/cube11.xml


> Cube xml files are missing in lens-example
> --
>
> Key: LENS-1435
> URL: https://issues.apache.org/jira/browse/LENS-1435
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Sushil Mohanty
>Assignee: Sushil Mohanty
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1435.patch
>
>
> cube11, cube22 and cube33  schema are missing.



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


[jira] [Commented] (LENS-1446) Cube latestdate api broken after virtual fact

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1446:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1446: Cube latestdate api broken after virtual fact (rajatgupta59: rev 
dd3b1bd19d82fb64441d9982a5aa02b7f849e3a7)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeMetastoreClient.java
* (edit) 
lens-cli/src/main/java/org/apache/lens/cli/commands/LensSchemaCommands.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidate.java


> Cube latestdate api broken after virtual fact
> -
>
> Key: LENS-1446
> URL: https://issues.apache.org/jira/browse/LENS-1446
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajitha R
>Assignee: Rajitha R
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1446.patch
>
>
> We are observing could not get table for virtual fact when cube latest date 
> is queried for :
> Caused by: org.apache.lens.server.api.error.LensException: Could not get table
>   at 
> org.apache.lens.cube.metadata.CubeMetastoreClient.getTable(CubeMetastoreClient.java:1616)
>  ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
>   at 
> org.apache.lens.cube.metadata.CubeMetastoreClient.getTable(CubeMetastoreClient.java:1596)
>  ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
>   at 
> org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache.loadTimeLines(CubeMetastoreClient.java:463)
>  ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
>   at 
> org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache.get(CubeMetastoreClient.java:444)
>  ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
>   at 
> org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache.get(CubeMetastoreClient.java:589)
>  ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
>   at 
> org.apache.lens.cube.metadata.CubeMetastoreClient.getLatestDateOfCube(CubeMetastoreClient.java:164)
>  ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
>   at 
> org.apache.lens.server.metastore.CubeMetastoreServiceImpl.getLatestDateOfCube(CubeMetastoreServiceImpl.java:1169)
>  ~[classes/:na]
>   at 
> org.apache.lens.server.metastore.MetastoreResource.getLatestDateOfCube(MetastoreResource.java:1519)
>  ~[classes/:na]
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> ~[na:1.8.0_92]



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


[jira] [Commented] (LENS-1455) Getting expression ast to generate default expression should consider all expression contexts

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1455:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1455: Getting expression ast to generate default expression should 
(rajatgupta59: rev cdd7b09995b765783867812e5b981c27f4938371)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CandidateCoveringSetsResolver.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/ExpressionResolver.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/SegmentationCandidate.java


> Getting expression ast to generate default expression should consider all 
> expression contexts
> -
>
> Key: LENS-1455
> URL: https://issues.apache.org/jira/browse/LENS-1455
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Attachments: LENS-1455.01.patch, LENS-1455.02.patch, 
> LENS-1455.03.patch
>
>
> in case an expression is answered from a segmentation, the default expression 
> can't be generated. 



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


[jira] [Commented] (LENS-1438) Testcase failure after LENS-1432

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1438:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1438: Testcase failure after LENS-1432 (raju.bairishetti: rev 
42d60d2623fae53609be93c5c71ece4e2adc267e)
* (edit) 
lens-server/src/test/java/org/apache/lens/server/rewrite/TestRewriting.java


> Testcase failure after LENS-1432
> 
>
> Key: LENS-1438
> URL: https://issues.apache.org/jira/browse/LENS-1438
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1438.2017-06-13_15:01:36.patch
>
>
> Test failing: org.apache.lens.server.rewrite.TestRewriting#testCubeQuery



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


[jira] [Commented] (LENS-1427) ExpressionResolver is removing expressions if they are not answerable by *any* candidates

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1427:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1427: ExpressionResolver is removing expressions if they are not 
(raju.bairishetti: rev bd4b5529ac15b51a6ef91f431b2037e63078ea34)
* (edit) lens-cube/src/test/resources/schema/cubes/base/b1cube.xml
* (edit) lens-cube/src/test/resources/schema/cubes/base/testcube.xml
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/ExpressionResolver.java
* (edit) lens-cube/src/test/resources/schema/cubes/base/b2cube.xml


> ExpressionResolver is removing expressions if they are not answerable by 
> *any* candidates
> -
>
> Key: LENS-1427
> URL: https://issues.apache.org/jira/browse/LENS-1427
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1427.01.patch, LENS-1427.02.patch
>
>
> Should be at least one and *all*



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


[jira] [Commented] (LENS-1448) Having clause expressions are not resolved correctly for JoinCandidates

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1448:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1448: Having clause expressions are not resolved correctly for 
(rajatgupta59: rev 54ab131a2119a029dd8a470653d803fa0a7c35b6)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/UnionQueryWriter.java
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/parse/TestBaseCubeQueries.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/ExpressionResolver.java


> Having clause expressions are not resolved correctly for JoinCandidates
> ---
>
> Key: LENS-1448
> URL: https://issues.apache.org/jira/browse/LENS-1448
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Sushil Mohanty
>Assignee: Sushil Mohanty
>Priority: Major
> Attachments: LENS-1448.patch
>
>
> In the below query expr1 and expr2 are answered from Cadidate1 and Candidate2 
> respectively. 
> The union rewritten query should have both the expressions projected in the 
> inner queries which is not happening right now.
> {CODE}
> cube select dim1, expr1 from testcube where time_range_in(time, 
> '2017-06-13-00', '2017-06-14-00') having expr2 > ('0')
> {CODE}



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


[jira] [Commented] (LENS-1465) Sync queries blocking threads

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1465:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1465: Sync queries blocking threads (raju.bairishetti: rev 
13cbc811342378d8fb39f4d03be08145fbc4f986)
* (edit) 
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryContext.java


> Sync queries blocking threads
> -
>
> Key: LENS-1465
> URL: https://issues.apache.org/jira/browse/LENS-1465
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1465.01.patch
>
>
> Sync queries taking more time than timeout are blocking threads due to a 
> deadlock. Each sync query is blocking one thread from jdbc execution pool and 
> one thread from query completion pool. 



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


[jira] [Commented] (LENS-1452) Optimize Time Union candidate Algorithm

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1452:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1452: Optimize Time Union candidate Algorithm (rajatgupta59: rev 
6dca44661bf604ca1436c6cd1d3998405d0333a4)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CandidateCoveringSetsResolver.java


> Optimize Time Union candidate Algorithm
> ---
>
> Key: LENS-1452
> URL: https://issues.apache.org/jira/browse/LENS-1452
> Project: Apache Lens
>  Issue Type: Task
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Attachments: LENS-1452.01.patch
>
>
> Current algorithm: 
> * Create bitmap (equivalent to powerset)
> * from the powerset, add sets which can complete all time ranges as candidates
> * Prune sets which are contained in other sets
> Proposed change:
> The following recursion implemented iteratively: 
> {code}
> (ignoring cubeql for clarity)
> getCombinations(candidates) = getCombinationsRecursive(emptyList(), 
> candidates)
> getCombinationsRecursive(incompleteCombinations: List, 
> candidates: List) =
> head, tail = head and tail of linked List candidates
> add head to all elements of incompleteCombinations.
> add {{ [head] }} as one incompleteCombination.
> complete = remove now complete combinations from incompleteCombinations
> return {{complete ++ 
> getCombinationsTailRecursive(incompleteCombinations+[head], tail)}}
> {code}
> The improvement is, that redundant union candidates like {a,b,c} won't be 
> generated if {a,b} is already covering time ranges. This will only generate 
> minimal sets that cover time ranges. So the memory footprint isn't O( 2^n ) 
> anymore. 



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


[jira] [Commented] (LENS-1443) Fallback ranges not working for virtual facts

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1443:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1443: Fallback ranges not working for virtual facts (rajatgupta59: rev 
c174583ff7946d0347e0a0a87272f42c0023aecf)
* (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/JoinCandidate.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidate.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/LeastPartitionResolver.java
* (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/FactTable.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/StorageTableResolver.java


> Fallback ranges not working for virtual facts
> -
>
> Key: LENS-1443
> URL: https://issues.apache.org/jira/browse/LENS-1443
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1443.01.patch, LENS-1443.03.patch
>
>
> fallback should also take source fact name, but it's operating with fact 
> name. 



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


[jira] [Commented] (LENS-1458) RESULT_SET_PARENT_DIR set at driver level getting overwritten for queued queries after server restart

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1458:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1458 : RESULT_SET_PARENT_DIR set at driver level getting (rajatgupta59: 
rev cb92ec5cdafdee653465c7b6038850992123136b)
* (edit) lens-server/src/test/java/org/apache/lens/server/TestServerRestart.java
* (edit) 
lens-server-api/src/main/java/org/apache/lens/server/api/query/DriverSelectorQueryContext.java


> RESULT_SET_PARENT_DIR set at driver level getting overwritten for queued 
> queries after server restart
> -
>
> Key: LENS-1458
> URL: https://issues.apache.org/jira/browse/LENS-1458
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Reporter: Sushil Mohanty
>Assignee: Sushil Mohanty
>Priority: Major
> Attachments: LENS-1458_1.patch, LENS-1458_2.patch, LENS-1458_3.patch
>
>
> This is happening when queries are getting restored after server restart and 
> driver specific conf  is overwritten with server conf.



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


[jira] [Commented] (LENS-1485) Fix javadocs errors and warnings

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1485:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1485: Add javadoc plugin to build plugins section and disable 
(raju.bairishetti: rev 0f08b69b25d430f16e81a99388f0ce83e5e40aa2)
* (edit) pom.xml


> Fix javadocs errors and warnings 
> -
>
> Key: LENS-1485
> URL: https://issues.apache.org/jira/browse/LENS-1485
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build
>Reporter: Raju Bairishetti
>Assignee: Raju Bairishetti
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1485.patch
>
>
> Right now, we are building and running Lens on only on java8 and higher 
> versions. We are not able to generate javadocs with java8 due to some new 
> rules/constraints on javadocs.
> Creating this jira for fixing the javadoc errors and warnings. We should fail 
> the build(  ) in case of any errors while generating javadocs.



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


[jira] [Commented] (LENS-1492) Update cli.apt file (i.e. not updated by previous patches)

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1492:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1492: Update cli.apt file (raju.bairishetti: rev 
8f9b5686e269c9318321fd766fccc37d387a110c)
* (edit) src/site/apt/user/cli.apt


> Update cli.apt file (i.e. not updated by previous patches)
> --
>
> Key: LENS-1492
> URL: https://issues.apache.org/jira/browse/LENS-1492
> Project: Apache Lens
>  Issue Type: Bug
>  Components: docs
>Reporter: Raju Bairishetti
>Assignee: Raju Bairishetti
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1492.patch
>
>
> cli.apt file was not updated earlier. 



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


[jira] [Commented] (LENS-1433) Virtual Fact over a fact with single storage - multi update period is writing wrong query

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1433:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1433: Virtual Fact over a fact with single storage - multi update 
(raju.bairishetti: rev 28aa4a1e25121849e8ada9e0b843d525e2e1f479)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidate.java


> Virtual Fact over a fact with single storage - multi update period is writing 
> wrong query
> -
>
> Key: LENS-1433
> URL: https://issues.apache.org/jira/browse/LENS-1433
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajitha R
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1433.patch
>
>
> it's rewriting {{from storage_virtualfact}} whereas it should be {{from 
> storage_fact}}



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


[jira] [Commented] (LENS-1459) Time union candidate creation phase is creating a combination with redundant candidates

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1459:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1459: Time union candidate creation phase is creating a combination 
(rajatgupta59: rev 10eef27a0dcbb1a3b918ec0ceeabefd206e13045)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CandidateCoveringSetsResolver.java


> Time union candidate creation phase is creating a combination with redundant 
> candidates
> ---
>
> Key: LENS-1459
> URL: https://issues.apache.org/jira/browse/LENS-1459
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Attachments: LENS-1459.2017-08-16_16:28:29.patch
>
>
> After the optimization in LENS-1452, Combinations as mentioned in the jira 
> summary can get created. Say the time range queried is {{\[f, t)}}, Candidate 
> {{a}} and {{b}} can cover {{\[f, m)}} and candidate {{c}} can cover {{\[m, 
> t)}}. Say a Union candidate is represented as {{U(cand1, cand2,...)}}. Then 
> the code creates {{U(a,b,c), U(a,c) and U(b,c)}}. If {{U(a,b,c)}} is picked 
> as final candidate, then one of {{a}} or {{b}} doesn't resolve partitions and 
> {{time_range_in}} clause is left as it is for that. 



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


[jira] [Commented] (LENS-1444) Optimize the algorithm of finding all eligible union candidates

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1444:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1444: Optimize the algorithm of finding all eligible union (rajatgupta59: 
rev a7f407bcb59ffa84c8ab6e830ba98aee81516085)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CandidateCoveringSetsResolver.java


> Optimize the algorithm of finding all eligible union candidates
> ---
>
> Key: LENS-1444
> URL: https://issues.apache.org/jira/browse/LENS-1444
> Project: Apache Lens
>  Issue Type: Task
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Attachments: LENS-1444.01.patch
>
>
> Current algorithm is given {{n}} candidates, first find {{2 ^n^ -1}} union 
> candidates using power set and then among them, remove the ones which don't 
> cover the queried time range(s). 
> Proposed optimization: Pushdown of the prune logic. We'll not create a list 
> of {{2 ^n^ -1}} candidates, we'll check for coverability before adding it as 
> an eligible union candidate. This will bring down the number of 
> {{UnionCandidates}} in the memory and preventing Full-GC. 



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


[jira] [Commented] (LENS-1432) Map Join tuning broken for this query leading to Map timeouts

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1432:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1432 : Map Join tuning broken for this query leading to Map 
(raju.bairishetti: rev 13ee28519fbb8aa92c30abdff4a286155fddeef5)
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/parse/TestRewriterPlan.java
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/parse/TestUnionAndJoinCandidates.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/MultiCandidateQueryWriterContext.java
* (edit) lens-cube/src/test/resources/schema/facts/b1fact1.xml
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/QueryWriterContext.java
* (edit) lens-cube/src/main/java/org/apache/lens/driver/cube/RewriterPlan.java
LENS-1438: Testcase failure after LENS-1432 (raju.bairishetti: rev 
42d60d2623fae53609be93c5c71ece4e2adc267e)
* (edit) 
lens-server/src/test/java/org/apache/lens/server/rewrite/TestRewriting.java


> Map Join tuning broken for this query leading to Map timeouts
> -
>
> Key: LENS-1432
> URL: https://issues.apache.org/jira/browse/LENS-1432
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Sushil Mohanty
>Assignee: Sushil Mohanty
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1432_2.patch, LENS-1432_3.patch
>
>
> CubeQueryContext.getDimsToQuery() is empty, causing the problem.



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


[jira] [Commented] (LENS-1428) Common measures are getting repeated in UnionQuery for JoinCandidate

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1428:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1428 : Common measures are getting repeated in UnionQuery for 
(sushilmohanty: rev ac9a56fcd828b0cbb6acee614c72f650a6cb78b8)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/UnionQueryWriter.java
* (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/Candidate.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeMetastoreClient.java
* (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/JoinCandidate.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidate.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CubeQueryContext.java


> Common measures are getting repeated in UnionQuery for JoinCandidate
> 
>
> Key: LENS-1428
> URL: https://issues.apache.org/jira/browse/LENS-1428
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Sushil Mohanty
>Assignee: Sushil Mohanty
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1428_1.patch, LENS-1428_2.patch, LENS-1428_3.patch
>
>
> For JoinCandidate if a measure is answerable by its children, getting 
> projected in both. Instead the measure should be projected in one of the 
> children and default measure i.e 0.0 for the other in the rewritten union 
> query.



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


[jira] [Commented] (LENS-1463) Valid Columns addition in Virtual Fact

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1463:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1463 : Valid Columns addition in Virtual Fact (raju.bairishetti: rev 
358efef9a3214f2c57655f2ea227b646971ae005)
* (edit) lens-cube/src/test/resources/schema/facts/testfact9_base.xml
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeVirtualFactTable.java
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/parse/TestVirtualFactQueries.java
* (edit) lens-cube/src/test/resources/schema/cubes/base/testcube2.xml
* (edit) lens-cube/src/test/resources/schema/facts/virtual/virtualfact.xml


> Valid Columns addition in Virtual Fact 
> ---
>
> Key: LENS-1463
> URL: https://issues.apache.org/jira/browse/LENS-1463
> Project: Apache Lens
>  Issue Type: Task
>  Components: server
>Reporter: Rajitha R
>Assignee: Rajitha R
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1463.patch
>
>
> This feature would allow virtual fact to override valid columns of its 
> base/source fact.



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


[jira] [Commented] (LENS-1468) Expressions in having clauses are not getting rewritten properly for join queries

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1468:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1468: Expressions in having clauses are not getting rewritten 
(raju.bairishetti: rev 2772efb275742eb4c03da5e7635bdbcfab63cebc)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidateHQLContext.java
* (edit) lens-cube/src/test/resources/schema/cubes/derived/der2.xml
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/UnionQueryWriter.java
* (edit) 
lens-cube/src/test/java/org/apache/lens/cube/parse/TestBaseCubeQueries.java
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/ExpressionResolver.java
* (edit) lens-cube/src/test/resources/schema/cubes/base/basecube.xml


> Expressions in having clauses are not getting rewritten properly for join 
> queries
> -
>
> Key: LENS-1468
> URL: https://issues.apache.org/jira/browse/LENS-1468
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1468.01.patch, LENS-1468.02.patch
>
>
> The issue is not seen in test cases yet since somehow the order of child 
> candidates in {{JoinCandidate}} has been fixed. We have observed the order 
> being non-deterministic in production. And in one ordering, having clause 
> works fine and in another it doesn't. Will be adding test cases to reproduce 
> this issue and the fix as well. 



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


[jira] [Commented] (LENS-1439) Having clause getting skipped if query goes to a segmentation containing single segment

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1439:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1439: Having clause getting skipped if query goes to a segmentation 
(raju.bairishetti: rev 051412bec7eea93ef8b4dfad4e10c47e10754dfa)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidateHQLContext.java


> Having clause getting skipped if query goes to a segmentation containing 
> single segment
> ---
>
> Key: LENS-1439
> URL: https://issues.apache.org/jira/browse/LENS-1439
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1439.01.patch, LENS-1439.01.patch, 
> LENS-1439.02.patch
>
>
> The condition of {{setHaving(null)}} is wrong in singleCandidatehqlcontext



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


[jira] [Commented] (LENS-1474) Null pointer exception in expression resolver for Segmentation candidate

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1474:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1474 : Fix NPE in ExpressionResolver for SegmentationCandidate 
(raju.bairishetti: rev ae6bda33ed501e15dceeecea83c86adf189e4453)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/ExpressionResolver.java


> Null pointer exception in expression resolver for Segmentation candidate
> 
>
> Key: LENS-1474
> URL: https://issues.apache.org/jira/browse/LENS-1474
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Rajitha R
>Assignee: Rajitha R
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1474.patch
>
>
> This happens when there are two expressions . Say expr1 answered from fact 
> and expr2 answered from Segmentation. 
> Segmentation specific inner rewrite is passed expr1 as 0.0 and later in the 
> flow expr1 is looked up which throws up NullPointerException.



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


[jira] [Commented] (LENS-1429) Queries failing intermittently with NO_REF_COL_AVAILABLE

2018-02-05 Thread Hudson (JIRA)

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

Hudson commented on LENS-1429:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1429 : Queries failing intermittently with NO_REF_COL_AVAILABLE 
(sushilmohanty: rev cc6c907d783c03565063d51b7bfbac79177262ab)
* (edit) 
lens-cube/src/main/java/org/apache/lens/cube/parse/CandidateTableResolver.java


> Queries failing intermittently with NO_REF_COL_AVAILABLE
> 
>
> Key: LENS-1429
> URL: https://issues.apache.org/jira/browse/LENS-1429
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Sushil Mohanty
>Assignee: Sushil Mohanty
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1429.patch
>
>
> Have seen queries failing intermittently with below error.
> {CODE}
> 16 May 2017 11:59:39 [5af8e7ad-b9d7-44db-abdf-d8a28bdb9f3c] 
> [f38a238e-abcb-4168-a052-7114cee1c3a6 estimate-128] WARN  
> org.apache.lens.server.rewrite.RewriteUtil - Driver : hive/prod  Skipped for 
> the query rewriting due to
> org.apache.lens.server.api.error.LensException: 
> NO_REF_COL_AVAILABLE[my_ref_col]
> at 
> org.apache.lens.cube.parse.DenormalizationResolver$DenormalizationContext.pickColumnsForTable(DenormalizationResolver.java:227)
>  ~[lens-cube-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
> at 
> org.apache.lens.cube.parse.DenormalizationResolver$DenormalizationContext.rewriteDenormctx(DenormalizationResolver.java:150)
>  ~[lens-cube-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
> at 
> org.apache.lens.cube.parse.DimHQLContext.addDenormDims(DimHQLContext.java:119)
>  ~[lens-cube-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
> at 
> org.apache.lens.cube.parse.MultiCandidateQueryWriterContext.addDenormDims(MultiCandidateQueryWriterContext.java:56)
>  ~[lens-cube-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
> at 
> org.apache.lens.cube.parse.CubeQueryContext.getQueryWriter(CubeQueryContext.java:927)
>  ~[lens-cube-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
> at 
> org.apache.lens.cube.parse.CubeQueryContext.toHQL(CubeQueryContext.java:947) 
> ~[lens-cube-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
> at 
> org.apache.lens.server.rewrite.RewriteUtil$DriverRewriterRunnable.run(RewriteUtil.java:396)
>  ~[classes/:na]
> at 
> org.apache.lens.server.query.QueryExecutionServiceImpl$RewriteEstimateRunnable.run(QueryExecutionServiceImpl.java:1855)
>  [classes/:na]
> at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
> [na:1.8.0_40]
> 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]
> {CODE}



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


[jira] [Resolved] (LENS-1421) Release LENS 2.7

2018-02-05 Thread Raju Bairishetti (JIRA)

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

Raju Bairishetti resolved LENS-1421.

Resolution: Fixed

> Release LENS 2.7
> 
>
> Key: LENS-1421
> URL: https://issues.apache.org/jira/browse/LENS-1421
> Project: Apache Lens
>  Issue Type: Task
>  Components: build
>Reporter: Raju Bairishetti
>Assignee: Raju Bairishetti
>Priority: Major
> Fix For: 2.7
>
>
> This task is for tracking the Lens 2.7 release



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


[jira] [Closed] (LENS-1421) Release LENS 2.7

2018-02-05 Thread Raju Bairishetti (JIRA)

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

Raju Bairishetti closed LENS-1421.
--

> Release LENS 2.7
> 
>
> Key: LENS-1421
> URL: https://issues.apache.org/jira/browse/LENS-1421
> Project: Apache Lens
>  Issue Type: Task
>  Components: build
>Reporter: Raju Bairishetti
>Assignee: Raju Bairishetti
>Priority: Major
> Fix For: 2.7
>
>
> This task is for tracking the Lens 2.7 release



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


[jira] [Resolved] (LENS-1422) Verify Lens 2.7 release

2018-02-05 Thread Raju Bairishetti (JIRA)

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

Raju Bairishetti resolved LENS-1422.

Resolution: Fixed

> Verify Lens 2.7 release
> ---
>
> Key: LENS-1422
> URL: https://issues.apache.org/jira/browse/LENS-1422
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: build
>Reporter: Raju Bairishetti
>Assignee: Divakar Tomar
>Priority: Major
> Fix For: 2.7
>
>
> This ticket is for verify all the issues in the 2.7 release. We can start 
> working on this once we prepared a release branch. 



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


[jira] [Updated] (LENS-1503) Fix version id in the documentation

2018-02-05 Thread Raju Bairishetti (JIRA)

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

Raju Bairishetti updated LENS-1503:
---
Attachment: LENS-1503.patch

> Fix version id in the documentation
> ---
>
> Key: LENS-1503
> URL: https://issues.apache.org/jira/browse/LENS-1503
> Project: Apache Lens
>  Issue Type: Bug
>  Components: docs
>Reporter: Raju Bairishetti
>Assignee: Raju Bairishetti
>Priority: Trivial
> Fix For: 2.8
>
> Attachments: LENS-1503.patch
>
>
> Version number was pointing to 2.7.0 instead of 2.7.1 in the site 
> documentation files. 



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


[jira] [Updated] (LENS-1503) Fix version id in the documentation

2018-02-05 Thread Raju Bairishetti (JIRA)

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

Raju Bairishetti updated LENS-1503:
---
Status: Patch Available  (was: Open)

Attached patch as it is a trivial change

> Fix version id in the documentation
> ---
>
> Key: LENS-1503
> URL: https://issues.apache.org/jira/browse/LENS-1503
> Project: Apache Lens
>  Issue Type: Bug
>  Components: docs
>Reporter: Raju Bairishetti
>Assignee: Raju Bairishetti
>Priority: Trivial
> Fix For: 2.8
>
> Attachments: LENS-1503.patch
>
>
> Version number was pointing to 2.7.0 instead of 2.7.1 in the site 
> documentation files. 



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


[jira] [Created] (LENS-1503) Fix version id in the documentation

2018-02-05 Thread Raju Bairishetti (JIRA)
Raju Bairishetti created LENS-1503:
--

 Summary: Fix version id in the documentation
 Key: LENS-1503
 URL: https://issues.apache.org/jira/browse/LENS-1503
 Project: Apache Lens
  Issue Type: Bug
  Components: docs
Reporter: Raju Bairishetti
Assignee: Raju Bairishetti
 Fix For: 2.8


Version number was pointing to 2.7.0 instead of 2.7.1 in the site documentation 
files. 



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