[jira] [Commented] (LENS-1541) Documentation changes required for code merge changes
[ https://issues.apache.org/jira/browse/LENS-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16825147#comment-16825147 ] Hudson commented on LENS-1541: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1495 (See [https://builds.apache.org/job/Lens-Commit/1495/]) [LENS-1541] : Documentation changes for code merge (rajitha.r: rev 8597ef2bc9a1457e9f405dcac483ac4c11bf3ce2) * (edit) src/site/apt/developer/contribute.apt * (edit) src/site/apt/developer/commit.apt > Documentation changes required for code merge changes > - > > Key: LENS-1541 > URL: https://issues.apache.org/jira/browse/LENS-1541 > Project: Apache Lens > Issue Type: Task > Components: docs >Reporter: Rajitha R >Assignee: Rajitha R >Priority: Major > Fix For: 2.8 > > Time Spent: 10m > Remaining Estimate: 0h > > Based on following voting, > [https://lists.apache.org/thread.html/73d86d2f1f73732c7ade60773956d0052458d1433b1f7688bba8caea@%3Cdev.lens.apache.org%3E] > the documentation needs minor changes. The ticket captures the same. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1538) Lens HA changes
[ https://issues.apache.org/jira/browse/LENS-1538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16754826#comment-16754826 ] Hudson commented on LENS-1538: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1494 (See [https://builds.apache.org/job/Lens-Commit/1494/]) LENS-1538 : Lens changes for HA to persist and restore sessions and (amareshwari: rev f64a0f5984216a61f0a2c5ef90510a88390acde0) * (edit) lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java * (edit) lens-server/src/test/java/org/apache/lens/server/query/TestLensDAO.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/QueryServiceResource.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryExecutionService.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/LensServerDAO.java * (edit) lens-server/src/main/java/org/apache/lens/server/metastore/CubeMetastoreServiceImpl.java * (edit) lens-client/src/test/java/org/apache/lens/server/MockQueryExecutionServiceImpl.java * (edit) lens-server/src/main/java/org/apache/lens/server/session/HiveSessionService.java * (add) lens-server/src/test/java/org/apache/lens/server/TestBaseLensService.java * (edit) lens-server/src/main/java/org/apache/lens/server/BaseLensService.java > Lens HA changes > --- > > Key: LENS-1538 > URL: https://issues.apache.org/jira/browse/LENS-1538 > Project: Apache Lens > Issue Type: Improvement > Components: server >Reporter: Ankit Kailaswar >Assignee: Ankit Kailaswar >Priority: Major > Fix For: 2.8 > > Attachments: Lens-1538_8.diff, Lens-1538_9.diff > > > # > h1. Implementation > # > h2. Session > # We need to persist all client session in database. > # This involve persisting client session’s id and configuration in mysql > server. persisting entire session object is not required. We need to do this > as first thing while creating user session. > # For each request from client lens server should not validate session id > from its in memory map. It should rather validate it from persisted session > in mysql server. > if > session is present in mysql and not present in lens server’s in memory > map(session manager) then it should create a lens session with same session > id and add it to in memory map > else If > session is not present in mysql and present in server’s in memory map then it > signifies that user have initiated close session from other host and we will > need to remove this session from current host’s in memory map as well > else if > session is not present in mysql and in server’s in memory map then return > “invalid session”. > # Whenever session expired/closed then we need to remove this session from > lens server’s in memory map and mysql. > > # > h2. *Query* > # For sync queries lens server will close connection as soon as it is > stopped or failed with appropriate failure message. Client will be retrying > the query. > # For async-light queries and async-heavy queries lens server takes care of > rescheduling all queries which were in running or queued state at the time of > restart. we can use this to make query ids available with both servers. > # For async queries we need to persist all non finished async user queries > in mysql server in new table current_query. > # If user executes query on host1 and it goes down and nginx points to host2 > then user should be able to poll on query status. Lens server will first > check query id in its inmemory maps if it is not present then it will check > in “finished_query” table in mysql else in “current_query” table in mysql. In > this case we will continue showing old status of query since it is scheduled > by host1. As soon as host1 comes up it will reschedule these queries and will > change the status. Optionally we can have host2 to move these queries in > “allqueries” map of its query service which will take care of recovering, in > this case we don't need to wait for host1 to come up and reschedule. > # While moving query from ”finished_quey” map to “finished_query” table in > mysql we will need to remove it from “current_query” tables as well. > # This flow will remain same for request ids/query ids generated for query > plan/estimate. > > # > h1. Issue addressed > # Lens downtime will be zero in case of deployment and if primary fail. > # User will not have to create a new session whenever switch happens > # User will be able to get status of all async queries seamlessly. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1540) Update git-wip-us by gitbox in Lens documentation
[ https://issues.apache.org/jira/browse/LENS-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16743873#comment-16743873 ] Hudson commented on LENS-1540: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1492 (See [https://builds.apache.org/job/Lens-Commit/1492/]) LENS-1540 : Replace git-wip-us by gitbox (rajitha.r: rev 4e71f4eb464f24f788176cfdb17ee9b4911f9192) * (edit) pom.xml * (edit) src/site/apt/developer/contribute.apt * (edit) lens-server/enunciate.xml * (edit) src/site/apt/developer/commit.apt * (edit) lens-ui/package.json > Update git-wip-us by gitbox in Lens documentation > - > > Key: LENS-1540 > URL: https://issues.apache.org/jira/browse/LENS-1540 > Project: Apache Lens > Issue Type: Task > Components: docs >Reporter: Rajitha R >Assignee: Rajitha R >Priority: Major > Fix For: 2.8 > > Attachments: LENS-1540.patch > > > The git-wip-us url needs to be update by gitbox in Lens documentation. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1537) Adding support for Partition Columns to queried without giving additional xml tag valid.columns -- Patch for Build Failure.
[ https://issues.apache.org/jira/browse/LENS-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16623276#comment-16623276 ] Hudson commented on LENS-1537: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1491 (See [https://builds.apache.org/job/Lens-Commit/1491/]) LENS-1537 : Build failure fix (rajitha.r: rev 9a39cd06b1fe5f7f18917e46846c32113e18a65a) * (edit) lens-examples/src/test/resources/yaml/sample-cube.yaml * (edit) lens-examples/src/main/resources/fact3-local-part.xml > Adding support for Partition Columns to queried without giving additional xml > tag valid.columns -- Patch for Build Failure. > --- > > Key: LENS-1537 > URL: https://issues.apache.org/jira/browse/LENS-1537 > Project: Apache Lens > Issue Type: Improvement > Components: server >Affects Versions: 2.8 >Reporter: Rajashekhar >Assignee: Rajashekhar >Priority: Major > Fix For: 2.8 > > Attachments: LENS-1537.patch > > > Reference to LENS-1533 > It contains patch for the build failure of LENS-1533. > > https://reviews.apache.org/r/68794/ -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1533) Adding support for Partition Columns to queried without giving additional xml tag valid.columns
[ https://issues.apache.org/jira/browse/LENS-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16621898#comment-16621898 ] Hudson commented on LENS-1533: -- FAILURE: Integrated in Jenkins build Lens-Commit #1490 (See [https://builds.apache.org/job/Lens-Commit/1490/]) LENS-1533 : Adding support for Partition Columns to queried without (rajitha.r: rev 2d64f6ca4167570097bab7cde3604b190ab89edf) * (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/FactTable.java * (edit) lens-examples/src/main/java/org/apache/lens/examples/PopulateSampleMetastore.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/MetastoreUtil.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidate.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeVirtualFactTable.java * (add) lens-examples/src/main/resources/fact3-local-part.xml * (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeMetastoreClient.java * (edit) lens-examples/src/main/resources/cube-queries.sql * (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/JAXBUtils.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeFactTable.java * (add) lens-examples/src/main/resources/fact3-local2.data * (edit) lens-examples/src/main/resources/sample-cube.xml * (edit) lens-examples/src/main/java/org/apache/lens/examples/SampleMetastore.java * (edit) lens-cube/src/test/java/org/apache/lens/cube/metadata/TestCubeMetastoreClient.java * (add) lens-examples/src/main/resources/fact3.xml * (add) lens-examples/src/main/resources/fact3-local1.data > Adding support for Partition Columns to queried without giving additional xml > tag valid.columns > --- > > Key: LENS-1533 > URL: https://issues.apache.org/jira/browse/LENS-1533 > Project: Apache Lens > Issue Type: Improvement > Components: server >Affects Versions: 2.8 >Reporter: Rajashekhar >Priority: Major > Fix For: 2.8 > > Attachments: LENS-1533.1.patch, LENS-1533.patch > > > Adding support for Partition Columns to queried without giving additional xml > tag valid.columns > PR: > https://reviews.apache.org/r/68520/ -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1534) Authorizer Instance to be made singleton for resource optimization
[ https://issues.apache.org/jira/browse/LENS-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16609034#comment-16609034 ] Hudson commented on LENS-1534: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1489 (See [https://builds.apache.org/job/Lens-Commit/1489/]) LENS-1534 : Authorizer Instance to be made singleton for resource (rajitha.r: rev 3e7d92e9decdb79005898bd4470afd741672ccc0) * (edit) lens-server/src/main/resources/lensserver-default.xml * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/QueryAuthorizationResolver.java * (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/TestQueryAuthorizationResolver.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeMetastoreClient.java * (edit) src/site/apt/admin/config.apt * (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/MetastoreConstants.java * (edit) lens-server/src/main/java/org/apache/lens/server/LensServer.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/authorization/AuthorizationUtil.java * (edit) lens-server/src/test/java/org/apache/lens/server/LensJerseyTest.java * (edit) lens-cube/src/test/java/org/apache/lens/cube/metadata/TestCubeMetastoreClient.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/authorization/LensAuthorizer.java > Authorizer Instance to be made singleton for resource optimization > -- > > Key: LENS-1534 > URL: https://issues.apache.org/jira/browse/LENS-1534 > Project: Apache Lens > Issue Type: Improvement > Components: server >Reporter: Rajitha R >Assignee: Rajitha R >Priority: Major > Fix For: 2.8 > > Attachments: LENS-1534.1.patch, LENS-1534.patch > > > The current authorizer instantiation is separated in cubemetastore and > queryrewrite. There is a need to merge this by creating only a single > instance of authorizer for resource optimzation. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1529) Add Unit tests for Lens Authorization
[ https://issues.apache.org/jira/browse/LENS-1529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16605584#comment-16605584 ] Hudson commented on LENS-1529: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1488 (See [https://builds.apache.org/job/Lens-Commit/1488/]) LENS-1532 and LENS-1529 : Adding files missed in previous commit. (rajitha.r: rev 0eba44abdca9d1840777ce70b26187608286bc0a) * (add) lens-cube/src/test/java/org/apache/lens/cube/parse/TestQueryAuthorizationResolver.java * (add) lens-cube/src/test/java/org/apache/lens/cube/parse/MockAuthorizer.java > Add Unit tests for Lens Authorization > - > > Key: LENS-1529 > URL: https://issues.apache.org/jira/browse/LENS-1529 > Project: Apache Lens > Issue Type: Task > Components: cube, server >Reporter: Rajitha R >Assignee: Rajitha R >Priority: Major > Fix For: 2.8 > > > Add Unit tests for Lens Authorization -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1529) Add Unit tests for Lens Authorization
[ https://issues.apache.org/jira/browse/LENS-1529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16605473#comment-16605473 ] Hudson commented on LENS-1529: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1487 (See [https://builds.apache.org/job/Lens-Commit/1487/]) LENS-1529: Authorization test cases and LENS-1532 : Authorization conf (rajitha.r: rev 1c3dff25b6547478d66cae13ac795d63f0e54c10) * (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeMetastoreClient.java * (edit) lens-cube/src/test/java/org/apache/lens/cube/metadata/TestCubeMetastoreClient.java * (edit) lens-cube/src/test/resources/schema/cubes/base/basecube.xml * (edit) lens-cube/src/main/java/org/apache/lens/cube/authorization/AuthorizationUtil.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/QueryAuthorizationResolver.java > Add Unit tests for Lens Authorization > - > > Key: LENS-1529 > URL: https://issues.apache.org/jira/browse/LENS-1529 > Project: Apache Lens > Issue Type: Task > Components: cube, server >Reporter: Rajitha R >Assignee: Rajitha R >Priority: Major > Fix For: 2.8 > > > Add Unit tests for Lens Authorization -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1532) Authorization check to accept session conf
[ https://issues.apache.org/jira/browse/LENS-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16605474#comment-16605474 ] Hudson commented on LENS-1532: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1487 (See [https://builds.apache.org/job/Lens-Commit/1487/]) LENS-1529: Authorization test cases and LENS-1532 : Authorization conf (rajitha.r: rev 1c3dff25b6547478d66cae13ac795d63f0e54c10) * (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeMetastoreClient.java * (edit) lens-cube/src/test/java/org/apache/lens/cube/metadata/TestCubeMetastoreClient.java * (edit) lens-cube/src/test/resources/schema/cubes/base/basecube.xml * (edit) lens-cube/src/main/java/org/apache/lens/cube/authorization/AuthorizationUtil.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/QueryAuthorizationResolver.java > Authorization check to accept session conf > --- > > Key: LENS-1532 > URL: https://issues.apache.org/jira/browse/LENS-1532 > Project: Apache Lens > Issue Type: Bug > Components: cube >Reporter: Rajitha R >Assignee: Rajitha R >Priority: Major > Attachments: LENS-1532.1.patch, LENS-1532.patch > > > The current isAuthorized call in AuthorizationUtil is checking for session > related configuration from service conf which should rather be session conf. > This leads to incorrect session params being read for different sessions > causing authorization failures. This behaviour needs to be fixed. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1525) Restrict past and future date range in user queries
[ https://issues.apache.org/jira/browse/LENS-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16582121#comment-16582121 ] Hudson commented on LENS-1525: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1486 (See [https://builds.apache.org/job/Lens-Commit/1486/]) LENS-1525 : Adding start and end times in cube (rajitha.r: rev c4cad0af68f180daaf4e0abffb4961aa109ca038) * (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/Cube.java * (edit) lens-api/src/main/resources/cube-0.1.xsd * (edit) lens-cube/src/main/java/org/apache/lens/cube/error/LensCubeErrorCode.java * (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/TestTimeRangeResolver.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/DerivedCube.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/TimerangeResolver.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/CubeInterface.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/metadata/MetastoreConstants.java * (edit) lens-cube/src/test/java/org/apache/lens/cube/metadata/DateFactory.java * (edit) lens-cube/src/test/resources/schema/cubes/base/testcube.xml LENS-1525 : Adding start and end times in cube (rajitha.r: rev 5a73df0d26e1c69d77bf43a2b5ef06559b4032d4) * (add) lens-cube/src/test/java/org/apache/lens/cube/metadata/TestCubeStartAndEndTimes.java > Restrict past and future date range in user queries > --- > > Key: LENS-1525 > URL: https://issues.apache.org/jira/browse/LENS-1525 > Project: Apache Lens > Issue Type: Task > Components: cube >Reporter: Rajitha R >Assignee: Rajitha R >Priority: Major > Fix For: 2.8 > > Attachments: LENS-1525.patch > > > Lens currently allows users to give any start and end time in the queries. > There is a need to restrict this range to prevent service abuse and > degradation. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1527) Fix session restore issue
[ https://issues.apache.org/jira/browse/LENS-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16575981#comment-16575981 ] Hudson commented on LENS-1527: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1484 (See [https://builds.apache.org/job/Lens-Commit/1484/]) LENS-1527 : Fix session restore issue (rajitha.r: rev 11885b9812ecce9093c18259084de2c6c5ccbb02) * (edit) lens-server/src/test/resources/lens-site.xml * (edit) lens-server/src/main/java/org/apache/lens/server/session/HiveSessionService.java * (edit) lens-server/src/main/java/org/apache/lens/server/BaseLensService.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/session/SessionService.java > Fix session restore issue > - > > Key: LENS-1527 > URL: https://issues.apache.org/jira/browse/LENS-1527 > Project: Apache Lens > Issue Type: Bug > Components: api, server >Reporter: Barun Kumar >Assignee: Barun Kumar >Priority: Major > Fix For: 2.8 > > Attachments: LENS-1527_1.patch > > > When a session is created in Lens, corresponding hive session is created for > cluster user and session count map for user is updated. But when Lens is > started and restores it's sessions, the session count map is updated for > cluster user. > > Since many user may have same cluster user, on restart of Lens the session > count for cluster user will be a lot and if you try to create session using > that cluster user, you might get 429(which is sent when session limit is > exhausted for a user). > The fix for this is while resotring the session, use loggedin user to update > the session count map. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1526) Lens api to display number of sessions created per user
[ https://issues.apache.org/jira/browse/LENS-1526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16574486#comment-16574486 ] Hudson commented on LENS-1526: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1483 (See [https://builds.apache.org/job/Lens-Commit/1483/]) LENS-1526 : Lens api to display number of sessions created per user (rajitha.r: rev 43505402e124eb650d8fa8c9054dc8725d3a5a19) * (edit) lens-server/src/main/java/org/apache/lens/server/session/SessionResource.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/session/SessionService.java * (edit) lens-server/src/main/java/org/apache/lens/server/BaseLensService.java LENS-1526 : Lens api to display number of sessions created per user (rajitha.r: rev ac2f6e8849a6d29becf023422591cf66681d289d) * (add) lens-api/src/main/java/org/apache/lens/api/session/SessionPerUserInfo.java > Lens api to display number of sessions created per user > --- > > Key: LENS-1526 > URL: https://issues.apache.org/jira/browse/LENS-1526 > Project: Apache Lens > Issue Type: Improvement > Components: api >Reporter: Ankit Kailaswar >Assignee: Ankit Kailaswar >Priority: Major > Fix For: 2.8 > > Attachments: Lens-1526.patch > > > Exposing lens api to display number of sessions created per user. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1502) For virtual facts, column start and end times are not working
[ https://issues.apache.org/jira/browse/LENS-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16524932#comment-16524932 ] Hudson commented on LENS-1502: -- FAILURE: Integrated in Jenkins build Lens-Commit #1476 (See [https://builds.apache.org/job/Lens-Commit/1476/]) LENS-1502 : Fixt in virtual fact properties. (rajitha.r: rev 278a02473a2dc72044b4e72e04d79ada64b4d12f) * (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/TestVirtualFactQueries.java * (add) lens-cube/src/test/resources/schema/facts/virtual/virtualfact2.xml * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidate.java * (edit) lens-cube/src/test/resources/schema/cubes/base/virtualcube.xml * (edit) lens-cube/src/test/resources/schema/cubes/base/testcube2.xml * (edit) lens-cube/src/test/resources/schema/facts/testfact9_base.xml * (add) lens_bk > For virtual facts, column start and end times are not working > - > > Key: LENS-1502 > URL: https://issues.apache.org/jira/browse/LENS-1502 > Project: Apache Lens > Issue Type: Bug > Components: cube >Reporter: Rajitha R >Assignee: Rajitha R >Priority: Major > Fix For: 2.8 > > Attachments: LENS-1502.patch > > > For virtual facts, column start and end times are not working after LENS-1480 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1521) Download url config needs to be specific to Query and not Service
[ https://issues.apache.org/jira/browse/LENS-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16520304#comment-16520304 ] Hudson commented on LENS-1521: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1475 (See [https://builds.apache.org/job/Lens-Commit/1475/]) LENS-1521 : Download url config needs to be specific to Query and not (rajitha.r: rev 3076b26c81d3d0d3511e9ee6bf00033a5d22149c) * (edit) lens-api/src/main/java/org/apache/lens/api/LensConf.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryContext.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/LensPersistentResult.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/query/DefaultDownloadResultUrlProvider.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/query/DownloadResultUrlProvider.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java > Download url config needs to be specific to Query and not Service > - > > Key: LENS-1521 > URL: https://issues.apache.org/jira/browse/LENS-1521 > Project: Apache Lens > Issue Type: Task > Components: server >Reporter: Rajitha R >Assignee: Rajitha R >Priority: Major > > After LENS-1519 changes, the custom download url is being set in service conf > and not query specific conf. This needs to be fixed -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1521) Download url config needs to be specific to Query and not Service
[ https://issues.apache.org/jira/browse/LENS-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16510977#comment-16510977 ] Hudson commented on LENS-1521: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1474 (See [https://builds.apache.org/job/Lens-Commit/1474/]) LENS-1521 : Download url fix in query service. (rajitha.r: rev 11cc1859f8e6a71ee37a776f203f53bd612f866d) * (edit) lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java > Download url config needs to be specific to Query and not Service > - > > Key: LENS-1521 > URL: https://issues.apache.org/jira/browse/LENS-1521 > Project: Apache Lens > Issue Type: Task > Components: server >Reporter: Rajitha R >Assignee: Rajitha R >Priority: Major > > After LENS-1519 changes, the custom download url is being set in service conf > and not query specific conf. This needs to be fixed -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1520) Lens build failing due to test case failures
[ https://issues.apache.org/jira/browse/LENS-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16509566#comment-16509566 ] Hudson commented on LENS-1520: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1473 (See [https://builds.apache.org/job/Lens-Commit/1473/]) LENS-1520 : Lens build fix. (rajitha.r: rev 0a128d600a6d0e06593c78d813131e9ab2129264) * (edit) lens-server/src/main/java/org/apache/lens/server/query/LensPersistentResult.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java * (edit) src/site/apt/admin/config.apt > Lens build failing due to test case failures > > > Key: LENS-1520 > URL: https://issues.apache.org/jira/browse/LENS-1520 > Project: Apache Lens > Issue Type: Task > Components: server >Reporter: Rajitha R >Assignee: Rajitha R >Priority: Major > Attachments: LENS-1520.patch > > > Lens build failing due to test case failures -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1519) Result download url to be made configurable
[ https://issues.apache.org/jira/browse/LENS-1519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16508307#comment-16508307 ] Hudson commented on LENS-1519: -- FAILURE: Integrated in Jenkins build Lens-Commit #1472 (See [https://builds.apache.org/job/Lens-Commit/1472/]) LENS-1519 :Result download url to be made configurable (rajitha.r: rev d94bcb11f94d3f06a5edd4a739f9db4380512a8d) * (edit) src/site/apt/user/client-config.apt * (edit) lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/DownloadResultUrlProvider.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/LensPersistentResult.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/DefaultDownloadResultUrlProvider.java * (edit) src/site/apt/user/cli.apt > Result download url to be made configurable > --- > > Key: LENS-1519 > URL: https://issues.apache.org/jira/browse/LENS-1519 > Project: Apache Lens > Issue Type: Task > Components: server >Reporter: Rajitha R >Assignee: Rajitha R >Priority: Major > Fix For: 2.8 > > Attachments: LENS-1519.patch > > > The current Lens set up uses a hardcoded lens result download url. This can > be made configurable to allow clients set their own download urls if needed. > If this configuration is set, the url should internally handle how to > download the result from lens. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1516) SSL changes to ignore cert for python module
[ https://issues.apache.org/jira/browse/LENS-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16490858#comment-16490858 ] Hudson commented on LENS-1516: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1470 (See [https://builds.apache.org/job/Lens-Commit/1470/]) LENS-1516 : SSL changes to ignore cert for python module (rajitha.r: rev c6423ae01a4776383f0edcd8591124ac643b9e3e) * (edit) contrib/clients/python/lens/client/query.py * (edit) contrib/clients/python/lens/client/log.py * (edit) contrib/clients/python/lens/client/session.py > SSL changes to ignore cert for python module > - > > Key: LENS-1516 > URL: https://issues.apache.org/jira/browse/LENS-1516 > Project: Apache Lens > Issue Type: Bug > Components: client >Reporter: Ankit Kailaswar >Assignee: Ankit Kailaswar >Priority: Major > Fix For: 2.8 > > Attachments: Lens-1516.1.patch > > > SSL changes for python client for lens when we want to ignore cert. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1515) For SSL enabled lens client must always use trust manager for root X509 cert
[ https://issues.apache.org/jira/browse/LENS-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16490599#comment-16490599 ] Hudson commented on LENS-1515: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1469 (See [https://builds.apache.org/job/Lens-Commit/1469/]) LENS-1515 :For SSL enabled lens client must always use trust manager for (rajitha.r: rev 58752d0a4fda199d83be8bb9bd899a6e19e1e43f) * (edit) lens-client/src/main/java/org/apache/lens/client/LensTrustManager.java > For SSL enabled lens client must always use trust manager for root X509 cert > > > Key: LENS-1515 > URL: https://issues.apache.org/jira/browse/LENS-1515 > Project: Apache Lens > Issue Type: Bug > Components: client >Reporter: Ankit Kailaswar >Assignee: Ankit Kailaswar >Priority: Major > > In case of if cert verification is disabled then we are returning root cert. > Also server cert validation will be taken care by default trust manager. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1511) enable SSL/TLS for lens server and client communication
[ https://issues.apache.org/jira/browse/LENS-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16489633#comment-16489633 ] Hudson commented on LENS-1511: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1468 (See [https://builds.apache.org/job/Lens-Commit/1468/]) LENS-1511 : Adding missing files in patch. (rajitha.r: rev f678a4bae7408ea261f309cac0272f714997fd88) * (add) lens-client/src/main/java/org/apache/lens/client/LensHostnameVerifier.java * (add) lens-client/src/main/java/org/apache/lens/client/LensTrustManager.java > enable SSL/TLS for lens server and client communication > --- > > Key: LENS-1511 > URL: https://issues.apache.org/jira/browse/LENS-1511 > Project: Apache Lens > Issue Type: Bug > Components: client, server >Reporter: Ankit Kailaswar >Assignee: Ankit Kailaswar >Priority: Major > Attachments: Lens-1511.9.patch > > > As a part of GDPR compliance for apache lens we will be providing > functionality to enable https over lens server-client communication. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1511) enable SSL/TLS for lens server and client communication
[ https://issues.apache.org/jira/browse/LENS-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16489415#comment-16489415 ] Hudson commented on LENS-1511: -- FAILURE: Integrated in Jenkins build Lens-Commit #1467 (See [https://builds.apache.org/job/Lens-Commit/1467/]) LENS-1511:Enable SSL/TLS for lens server and client communication (rajitha.r: rev 7a6987254e58d64a1b6400174a2c79e13111b4c5) * (edit) lens-server/src/main/java/org/apache/lens/server/LensServer.java * (edit) lens-server/src/main/java/org/apache/lens/server/auth/DelegationTokenAuthenticationFilter.java * (edit) lens-client/src/main/java/org/apache/lens/client/LensConnection.java * (edit) lens-server/src/test/resources/lens-site.xml * (edit) lens-server/src/main/resources/lensserver-default.xml * (edit) lens-client/src/main/java/org/apache/lens/client/LensClientConfig.java * (edit) src/site/apt/admin/hivedriver-config.apt * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java * (edit) src/site/apt/user/olap-query-conf.apt * (edit) lens-client/src/main/resources/lens-client-default.xml * (edit) src/site/apt/admin/config.apt > enable SSL/TLS for lens server and client communication > --- > > Key: LENS-1511 > URL: https://issues.apache.org/jira/browse/LENS-1511 > Project: Apache Lens > Issue Type: Bug > Components: client, server >Reporter: Ankit Kailaswar >Assignee: Ankit Kailaswar >Priority: Major > Attachments: Lens-1511.9.patch > > > As a part of GDPR compliance for apache lens we will be providing > functionality to enable https over lens server-client communication. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1514) Support HDFS delegation token authentication
[ https://issues.apache.org/jira/browse/LENS-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16489201#comment-16489201 ] Hudson commented on LENS-1514: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1466 (See [https://builds.apache.org/job/Lens-Commit/1466/]) LENS-1514:Support HDFS delegation token authentication (rajitha.r: rev 0edb80f1a46f10f2470b5eaac4272bf6ee9fe418) * (edit) contrib/clients/python/lens/client/main.py * (edit) lens-client/src/main/java/org/apache/lens/client/LensConnectionParams.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java * (edit) contrib/clients/python/lens/client/log.py * (edit) contrib/clients/python/lens/client/query.py * (edit) contrib/clients/python/lens/client/session.py * (edit) lens-server/src/main/java/org/apache/lens/server/auth/SpnegoAuthenticationFilter.java LENS-1514:Support HDFS delegation token authentication (rajitha.r: rev 26d8f57a21bf281f1152c3b60a6ac425041e83af) * (add) lens-api/src/main/java/org/apache/lens/api/auth/AuthHeader.java * (add) lens-server/src/main/java/org/apache/lens/server/auth/DelegationTokenAuthenticationFilter.java * (add) lens-client/src/main/java/org/apache/lens/client/DelegationTokenClientFilter.java > Support HDFS delegation token authentication > > > Key: LENS-1514 > URL: https://issues.apache.org/jira/browse/LENS-1514 > Project: Apache Lens > Issue Type: Improvement > Components: client, server >Reporter: Barun Kumar >Assignee: Barun Kumar >Priority: Major > Fix For: 2.8 > > Attachments: LENS-1514_1.patch > > > As part of LENS-1509, we have added Spnego authentication based on Kerberos > to lens. This will work in client-server mode. But this approach will cease > to work in a hadoop cluster in which user is using lens client in a mapred > job(such as oozie java action) since there will not be keytabs in the hadoop > cluster. The authentication in hadoop work on concept of delegation > token([https://blog.cloudera.com/blog/2017/12/hadoop-delegation-tokens-explained/).] > Here we are introducing delegation token auth in lens. We are piggybacking on > HDFS to do authentication by passing it's token and performing a filesystem > operation. > > We will add proper delegation token implementation as future improvement. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1513) Fix python client setup.py
[ https://issues.apache.org/jira/browse/LENS-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16482397#comment-16482397 ] Hudson commented on LENS-1513: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1465 (See [https://builds.apache.org/job/Lens-Commit/1465/]) LENS-1513 : Fix for Lens python script. (rajitha.r: rev 8c66a64f5f0a5fb2a5ed2ccd41b5ba57ce855fba) * (edit) contrib/clients/python/setup.py > Fix python client setup.py > -- > > Key: LENS-1513 > URL: https://issues.apache.org/jira/browse/LENS-1513 > Project: Apache Lens > Issue Type: Bug > Components: python-client >Reporter: Barun Kumar >Assignee: Barun Kumar >Priority: Major > Fix For: 2.8 > > Attachments: LENS-1513.patch > > > Python client setup.py is not working as it has incorrect install_requires. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1512) Checkstyle fix
[ https://issues.apache.org/jira/browse/LENS-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16480808#comment-16480808 ] Hudson commented on LENS-1512: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1464 (See [https://builds.apache.org/job/Lens-Commit/1464/]) LENS-1512 : Checkstyle fix. (rajitha.r: rev eb947eb2e3dbb50e1a3b3885268c6cc96be69df1) * (edit) lens-server/src/main/java/org/apache/lens/server/quota/QuotaResource.java * (edit) lens-server/src/main/java/org/apache/lens/server/metastore/MetastoreResource.java > Checkstyle fix > -- > > Key: LENS-1512 > URL: https://issues.apache.org/jira/browse/LENS-1512 > Project: Apache Lens > Issue Type: Task > Components: server >Reporter: Barun Kumar >Assignee: Barun Kumar >Priority: Major > Fix For: 2.8 > > Attachments: LENS-1512.patch > > > Some checkstyle fix -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1509) Lens Server: SPNEGO authentication
[ https://issues.apache.org/jira/browse/LENS-1509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16480719#comment-16480719 ] Hudson commented on LENS-1509: -- FAILURE: Integrated in Jenkins build Lens-Commit #1463 (See [https://builds.apache.org/job/Lens-Commit/1463/]) LENS-1509 : Lens Server SPNEGO authentication (rajitha.r: rev e40f2dec023eea84599124986f9061dff90ee107) * (edit) lens-server/src/main/java/org/apache/lens/server/LogResource.java * (edit) lens-server/src/main/java/org/apache/lens/server/quota/QuotaResource.java * (edit) contrib/clients/python/setup.py * (edit) lens-server/src/main/java/org/apache/lens/server/query/save/SavedQueryResource.java * (edit) lens-client/src/main/java/org/apache/lens/client/LensConnectionParams.java * (edit) lens-server/src/main/java/org/apache/lens/server/BaseLensService.java * (edit) lens-server/src/main/java/org/apache/lens/server/session/LensSessionImpl.java * (edit) lens-client/src/main/java/org/apache/lens/client/LensClientConfig.java * (edit) lens-server/src/main/java/org/apache/lens/server/metastore/MetastoreResource.java * (edit) contrib/clients/python/lens/client/session.py * (edit) lens-server/src/main/java/org/apache/lens/server/LensApplication.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/QueryServiceResource.java * (edit) lens-server/src/main/java/org/apache/lens/server/session/SessionResource.java * (edit) lens-server/src/main/java/org/apache/lens/server/scheduler/ScheduleResource.java * (edit) lens-client/src/main/java/org/apache/lens/client/LensConnection.java LENS-1509 : Lens Server SPNEGO authentication (rajitha.r: rev 3b10f16cd83e02c6ec67b9d83f2ac513091dddbf) * (add) lens-server/src/main/java/org/apache/lens/server/error/NotAuthorizedExceptionMapper.java * (add) lens-server/src/main/java/org/apache/lens/server/auth/Authenticate.java * (add) lens-client/src/main/java/org/apache/lens/client/SpnegoClientFilter.java * (add) lens-api/src/main/java/org/apache/lens/api/auth/AuthScheme.java * (add) contrib/clients/python/lens/client/auth.py * (add) lens-server/src/main/java/org/apache/lens/server/auth/LensSecurityContext.java * (add) lens-server/src/main/java/org/apache/lens/server/auth/SpnegoAuthenticationFilter.java > Lens Server: SPNEGO authentication > -- > > Key: LENS-1509 > URL: https://issues.apache.org/jira/browse/LENS-1509 > Project: Apache Lens > Issue Type: Improvement > Components: api, client, python-client, server >Reporter: Barun Kumar >Assignee: Barun Kumar >Priority: Major > Fix For: 2.8 > > Attachments: LENS-1509.patch, LENS-1509_4.patch, LENS-1509_5.patch > > > Currently authentication in lens works by taking username/password while > opening a session and validating it. > This change will add support of [SPNEGO|https://en.wikipedia.org/wiki/SPNEGO] > support in lens server and clinet so that it can negotiate the authentication > scheme. Currently only Negotiate(Kerberos) scheme is implemented but others > like Basic/Digest etc can be added as well later. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1510) hive's server princiapl in lens's hive driver
[ https://issues.apache.org/jira/browse/LENS-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16445585#comment-16445585 ] Hudson commented on LENS-1510: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1462 (See [https://builds.apache.org/job/Lens-Commit/1462/]) LENS-1510 : Adding config for hive principal . (rajitha.r: rev d0d9adf35ca476f28cb872285097309cdb6e55a6) * (edit) src/site/apt/admin/hivedriver-config.apt * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java * (edit) lens-driver-hive/src/main/resources/hivedriver-default.xml * (edit) tools/conf/server/drivers/hive/hive1/hivedriver-site.xml * (edit) lens-driver-hive/src/main/java/org/apache/lens/driver/hive/HiveDriver.java > hive's server princiapl in lens's hive driver > - > > Key: LENS-1510 > URL: https://issues.apache.org/jira/browse/LENS-1510 > Project: Apache Lens > Issue Type: Bug > Components: driver-hive >Reporter: Ankit Kailaswar >Assignee: Ankit Kailaswar >Priority: Major > Fix For: 2.8 > > Attachments: Lens-1510_2.diff > > > since the property name for lens and hive's principal name are conflicting we > need explicitly need to mention hive's principal while creating hive driver > for lens. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1508) Upgrade Hadoop version to 2.7.1
[ https://issues.apache.org/jira/browse/LENS-1508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16436877#comment-16436877 ] Hudson commented on LENS-1508: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1461 (See [https://builds.apache.org/job/Lens-Commit/1461/]) LENS-1508 : Upgrade hadoop version (rajitha.r: rev 99a242c7627c2750585da3889599ad069da9d067) * (edit) tools/scripts/lens-ctl * (edit) pom.xml > Upgrade Hadoop version to 2.7.1 > --- > > Key: LENS-1508 > URL: https://issues.apache.org/jira/browse/LENS-1508 > Project: Apache Lens > Issue Type: Task > Components: server >Reporter: Rajitha R >Assignee: Rajitha R >Priority: Major > Attachments: LENS-1508.patch > > > The hadoop version will be upgraded to 2.7.1 to enable the authentication and > authorization feature in Lens. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1507) Lens build failing
[ https://issues.apache.org/jira/browse/LENS-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16418701#comment-16418701 ] Hudson commented on LENS-1507: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1459 (See [https://builds.apache.org/job/Lens-Commit/1459/]) LENS-1507 : Fix for Lens Build failure. (rajitha.r: rev af2c4d6edca0c9943bc72eb2a62e73b831d3ee2a) * (edit) lens-server/src/main/java/org/apache/lens/server/BaseLensService.java * (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/TestCubeRewriter.java > Lens build failing > -- > > Key: LENS-1507 > URL: https://issues.apache.org/jira/browse/LENS-1507 > Project: Apache Lens > Issue Type: Bug > Components: server >Reporter: Rajitha R >Assignee: Rajitha R >Priority: Major > Attachments: LENS-1507.patch > > > This seems to happen due to following test case repeating twice in > TestCubeRewriter class file. > {code} > @Test > public void testTimeRangeIn() throws Exception { > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1464) One or two queued queries failing with ConcurrentModificationException on restart
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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)
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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
[ 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] [Commented] (LENS-1497) NPE while closing idle connections
[ https://issues.apache.org/jira/browse/LENS-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16335517#comment-16335517 ] Hudson commented on LENS-1497: -- FAILURE: Integrated in Jenkins build Lens-Commit #1457 (See [https://builds.apache.org/job/Lens-Commit/1457/]) LENS-1497: NPE while closing idle connections (puneetgupta: rev d0b78e81b3299aedb81421a1ced92c56e948fd10) * (edit) lens-server/src/main/java/org/apache/lens/server/session/HiveSessionService.java * (edit) lens-server/src/main/java/org/apache/lens/server/BaseLensService.java > NPE while closing idle connections > --- > > Key: LENS-1497 > URL: https://issues.apache.org/jira/browse/LENS-1497 > Project: Apache Lens > Issue Type: Bug > Components: server >Reporter: Rajitha R >Assignee: Rajitha R >Priority: Major > Fix For: 2.8 > > Attachments: LENS-1497.patch > > > {code} > 21 Dec 2017 15:25:59 [e88aa05a-c454-44c1-8e52-e7bd741a5df6] > [pool-16-thread-1] WARN org.apache.lens.server.session.HiveSessionService - > Unknown error while checking for inactive sessions - > java.lang.NullPointerException: null > at > org.apache.lens.server.BaseLensService.decrementSessionCountForUser(BaseLensService.java:343) > ~[classes/:na] > at > org.apache.lens.server.BaseLensService.closeSession(BaseLensService.java:321) > ~[classes/:na] > at > org.apache.lens.server.session.HiveSessionService.closeInternal(HiveSessionService.java:497) > ~[classes/:na] > at > org.apache.lens.server.session.HiveSessionService.access$300(HiveSessionService.java:59) > ~[classes/:na] > at > org.apache.lens.server.session.HiveSessionService$SessionExpiryRunnable.runInternal(HiveSessionService.java:547) > ~[classes/:na] > at > org.apache.lens.server.session.HiveSessionService$SessionExpiryRunnable.run(HiveSessionService.java:569) > ~[classes/:na] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > [na:1.8.0_131] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > [na:1.8.0_131] > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > [na:1.8.0_131] > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Sche > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (LENS-1500) Test cases failing in master
[ https://issues.apache.org/jira/browse/LENS-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16335484#comment-16335484 ] Hudson commented on LENS-1500: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1456 (See [https://builds.apache.org/job/Lens-Commit/1456/]) LENS-1500: Fix for Test case failures (puneetgupta: rev 3d55b642a5a4cfa5b24522c4a54abfe6b9b3fc9c) * (edit) lens-cube/src/test/resources/schema/facts/testfact.xml > Test cases failing in master > - > > Key: LENS-1500 > URL: https://issues.apache.org/jira/browse/LENS-1500 > Project: Apache Lens > Issue Type: Bug > Components: cube >Reporter: Rajitha R >Assignee: Rajitha R >Priority: Major > Fix For: 2.8 > > Attachments: LENS-1500.patch > > > Latest master code has some of the test cases failing as follows. This seems > to happen as we entered new year and month. Needs to be investigated > {code} > Failed tests: > > TestUnionQueries.testDimAttrExpressionQuery:218->TestQueryRewrite.rewrite:89->TestQueryRewrite.rewriteCtx:98 > » Lens > > TestUnionQueries.testNonAggregateOverAggregateFunction:290->TestQueryRewrite.rewrite:89->TestQueryRewrite.rewriteCtx:98 > » Lens > > TestUnionQueries.testSingleFactMultiStorage:342->TestQueryRewrite.rewrite:89->TestQueryRewrite.rewriteCtx:98 > » Lens > > TestUnionQueries.testSingleFactSingleStorageWithMultipleTableDescriptions:390->TestQueryRewrite.rewrite:89->TestQueryRewrite.rewriteCtx:98 > » Lens > > TestUnionQueries.testUnionQueries:89->TestQueryRewrite.rewrite:89->TestQueryRewrite.rewriteCtx:98 > » Lens > {code} -- 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
[ https://issues.apache.org/jira/browse/LENS-1484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16315846#comment-16315846 ] Hudson commented on LENS-1484: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1455 (See [https://builds.apache.org/job/Lens-Commit/1455/]) LENS-1484: Fix enunciate plugin issue(i.e. failing with maven 3.5.2) (raju.bairishetti: rev 5ad692ea764a3ce1572dbfc2d0b38e73db07c539) * (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 > 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 (v6.4.14#64029)
[jira] [Commented] (LENS-1496) Look ahead Time Partitions to be made configurable
[ https://issues.apache.org/jira/browse/LENS-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16304367#comment-16304367 ] Hudson commented on LENS-1496: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1454 (See [https://builds.apache.org/job/Lens-Commit/1454/]) LENS-1496 : Look ahead Time Partitions to be made configurable (sushilmohanty: rev 53c342bd20dc35f75b80da78ac799c48cc2e04b1) * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/CubeQueryConfUtil.java * (edit) lens-cube/src/main/resources/olap-query-conf.xml * (edit) lens-cube/src/test/java/org/apache/lens/cube/metadata/DateFactory.java * (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/TestCubeRewriter.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidate.java > Look ahead Time Partitions to be made configurable > --- > > Key: LENS-1496 > URL: https://issues.apache.org/jira/browse/LENS-1496 > Project: Apache Lens > Issue Type: Improvement > Components: cube >Reporter: Rajitha R >Assignee: Rajitha R > Attachments: LENS-1496.01.patch, LENS-1496.patch > > > Currently Lens only allows for Look ahead in the last partition. This needs > to be made configurable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (LENS-1493) TotalQueryCost logic broken
[ https://issues.apache.org/jira/browse/LENS-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16296763#comment-16296763 ] Hudson commented on LENS-1493: -- FAILURE: Integrated in Jenkins build Lens-Commit #1452 (See [https://builds.apache.org/job/Lens-Commit/1452/]) LENS-1493: TotalQueryCost logic broken (puneetgupta: rev 2e1edff870154933f9a1018927dea880639ca695) * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/query/cost/StaticQueryCost.java * (edit) lens-server/src/test/java/org/apache/lens/server/query/collect/DefaultEstimatedQueryCollectionTest.java * (edit) lens-server/src/main/java/org/apache/lens/server/query/collect/DefaultEstimatedQueryCollection.java > TotalQueryCost logic broken > > > Key: LENS-1493 > URL: https://issues.apache.org/jira/browse/LENS-1493 > Project: Apache Lens > Issue Type: Bug > Components: server >Reporter: Rajitha R >Assignee: Rajitha R > Fix For: 2.8 > > Attachments: LENS-1493.patch > > > The totalQueryCost method in DefaultEstimatedQueryCollection is throwing > following error : > Error in query submitter > java.lang.ClassCastException: > org.apache.lens.server.api.query.cost.FactPartitionBasedQueryCost cannot be > cast to org.apache.lens.server.api.query.cost.StaticQueryCost > at > org.apache.lens.server.api.query.cost.StaticQueryCost.add(StaticQueryCost.java:33) > > at > org.apache.lens.server.query.collect.DefaultEstimatedQueryCollection.getTotalQueryCost(DefaultEstimatedQueryCollection.java:171) > -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (LENS-1487) Incorrect handling of array columns in python client
[ https://issues.apache.org/jira/browse/LENS-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16262154#comment-16262154 ] Hudson commented on LENS-1487: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1450 (See [https://builds.apache.org/job/Lens-Commit/1450/]) LENS-1487: Incorrect handling of array columns in python client (rajatgupta59: rev a963d985b8f345f55eab2c15a88be94943836b80) * (edit) contrib/clients/python/lens/client/query.py > Incorrect handling of array columns in python client > > > Key: LENS-1487 > URL: https://issues.apache.org/jira/browse/LENS-1487 > Project: Apache Lens > Issue Type: Bug > Components: client >Reporter: Rajat Khandelwal >Assignee: Rajat Khandelwal > Fix For: 2.8 > > Attachments: LENS-1487.2017-11-21_16:17:11.patch > > > The client is splitting the list on every character. It should be splitting > on comma. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (LENS-1486) Disable test case testQueryAliveOnSessionClose
[ https://issues.apache.org/jira/browse/LENS-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16260551#comment-16260551 ] Hudson commented on LENS-1486: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1449 (See [https://builds.apache.org/job/Lens-Commit/1449/]) LENS-1486 : Disable test case testQueryAliveOnSessionClose (sushilmohanty: rev 26125ac67080477219930945c61f6093a22ec45a) * (edit) lens-server/src/test/java/org/apache/lens/server/query/TestQueryIndependenceFromSessionClose.java > Disable test case testQueryAliveOnSessionClose > --- > > Key: LENS-1486 > URL: https://issues.apache.org/jira/browse/LENS-1486 > Project: Apache Lens > Issue Type: Bug > Components: server >Reporter: Sushil Mohanty >Assignee: Sushil Mohanty > Attachments: LENS-1486.patch > > > TestQueryIndependenceFromSessionClose.testQueryAliveOnSessionClose is failing > in past few builds, commenting it temporarily to make the build pass. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (LENS-1483) Implementation for Jdbc driver cost
[ https://issues.apache.org/jira/browse/LENS-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16256690#comment-16256690 ] Hudson commented on LENS-1483: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1448 (See [https://builds.apache.org/job/Lens-Commit/1448/]) LENS-1483 : Implementation for Jdbc driver cost (sushilmohanty: rev 231121425f156bd572fb847fe87847ee093bbb9a) * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/cost/QueryCostTypeDecider.java * (edit) lens-api/src/main/java/org/apache/lens/api/query/QueryCostType.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/cost/RangeBasedQueryCostTypeDecider.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java * (add) lens-cube/src/main/java/org/apache/lens/cube/query/cost/StaticCostCalculator.java * (edit) lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/JDBCDriverConfConstants.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/query/priority/RangeConf.java * (edit) lens-server/src/test/java/org/apache/lens/server/query/QueryContextComparatorTest.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/cost/QueryCostTypeRangeConf.java * (edit) src/site/apt/admin/jdbcdriver-config.apt * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/query/cost/QueryCost.java * (edit) lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/JDBCDriver.java * (edit) lens-driver-hive/src/test/java/org/apache/lens/driver/hive/TestHiveDriver.java * (edit) lens-driver-jdbc/src/test/java/org/apache/lens/driver/jdbc/TestJdbcDriver.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/query/cost/FactPartitionBasedQueryCost.java * (edit) lens-server-api/src/test/java/org/apache/lens/server/api/query/cost/MockQueryCostCalculator.java * (edit) lens-driver-hive/src/main/resources/hivedriver-default.xml * (edit) lens-server-api/src/test/java/org/apache/lens/server/api/query/cost/TestFactPartitionBasedQueryCost.java * (edit) lens-cube/src/test/java/org/apache/lens/cube/query/cost/TestFactPartitionBasedQueryCostCalculator.java * (edit) lens-driver-hive/src/main/java/org/apache/lens/driver/hive/HiveDriver.java * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/query/cost/QueryCostCalculator.java * (add) lens-server-api/src/main/java/org/apache/lens/server/api/query/cost/StaticQueryCost.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/query/cost/FactPartitionBasedQueryCostCalculator.java * (edit) src/site/apt/admin/hivedriver-config.apt * (edit) lens-driver-jdbc/src/main/resources/jdbcdriver-default.xml > Implementation for Jdbc driver cost > > > Key: LENS-1483 > URL: https://issues.apache.org/jira/browse/LENS-1483 > Project: Apache Lens > Issue Type: Task > Components: server >Reporter: Rajitha R >Assignee: Rajitha R > Attachments: LENS-1483.5.patch, LENS-1483.6.patch > > > Jdbc driver cost has been hardcoded to zero currently in Lens code. This > makes it difficult to add more jdbc drivers which have different costs. Hence > there is a need for having a driver level implementation for calculating cost. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (LENS-1461) Lens services state are not persisted correctly
[ https://issues.apache.org/jira/browse/LENS-1461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16237278#comment-16237278 ] Hudson commented on LENS-1461: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1447 (See [https://builds.apache.org/job/Lens-Commit/1447/]) LENS-1461 : Lens services state are not persisted correctly (sushilmohanty: rev 3b657dee40ef70d06e6ed589467bd455b77a5066) * (edit) lens-server/src/main/java/org/apache/lens/server/session/HiveSessionService.java > Lens services state are not persisted correctly > --- > > Key: LENS-1461 > URL: https://issues.apache.org/jira/browse/LENS-1461 > Project: Apache Lens > Issue Type: Bug > Components: server >Reporter: Ankit Kailaswar >Assignee: Ankit Kailaswar >Priority: Major > Attachments: LENS-1461.patch_3, LENS-1461_3.patch > > > Lens services state are not persisted correctly causing lens to fail at > startup. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (LENS-1469) Support drop partition(s) for specific update periods
[ https://issues.apache.org/jira/browse/LENS-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16218274#comment-16218274 ] Hudson commented on LENS-1469: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1446 (See [https://builds.apache.org/job/Lens-Commit/1446/]) LENS-1469: Support drop partition(s) for specific update periods (rajatgupta59: rev cdac40874c09cb80dd17a70908c86c3ac5922ac7) * (edit) lens-client/src/main/java/org/apache/lens/client/LensMetadataClient.java * (edit) lens-server/src/main/java/org/apache/lens/server/metastore/CubeMetastoreServiceImpl.java * (edit) lens-client/src/main/java/org/apache/lens/client/LensClient.java * (edit) src/site/apt/user/cli.apt * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/metastore/CubeMetastoreService.java * (edit) lens-cli/src/main/java/org/apache/lens/cli/commands/LensFactCommands.java * (edit) lens-cli/src/test/java/org/apache/lens/cli/TestLensFactCommands.java * (edit) lens-server/src/test/java/org/apache/lens/server/metastore/TestMetastoreService.java * (edit) lens-cli/src/main/java/org/apache/lens/cli/commands/LogicalTableCrudCommand.java * (edit) lens-cli/src/main/java/org/apache/lens/cli/commands/LensDimensionTableCommands.java * (edit) lens-server/src/main/java/org/apache/lens/server/metastore/MetastoreResource.java > Support drop partition(s) for specific update periods > - > > Key: LENS-1469 > URL: https://issues.apache.org/jira/browse/LENS-1469 > Project: Apache Lens > Issue Type: New Feature > Components: client, server >Reporter: Amit Khanna >Assignee: Amit Khanna > Fix For: 2.8 > > Attachments: LENS-1469.patch > > > Facilitate dropping partitions based on update period. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (LENS-1478) Queries with partial data set as false lookahead not working
[ https://issues.apache.org/jira/browse/LENS-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16171419#comment-16171419 ] Hudson commented on LENS-1478: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1445 (See [https://builds.apache.org/job/Lens-Commit/1445/]) LENS-1478 : Queries with partial data set as false lookahead not working (sushilmohanty: rev a86cb883ffef8699454a215be9996df30c9988fd) * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidate.java > Queries with partial data set as false lookahead not working > > > Key: LENS-1478 > URL: https://issues.apache.org/jira/browse/LENS-1478 > Project: Apache Lens > Issue Type: Bug > Components: cube >Reporter: Sushil Mohanty >Assignee: Sushil Mohanty > Attachments: LENS-1478.patch > > > For queries with set lens.cube.query.fail.if.data.partial=false lookahead > queries partitions are not getting resolved and the being rewritten same as > input time_range_in function. This results query failure with syntax error. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (LENS-1477) Change default measure value to "0" instead of "0.0" in union queries
[ https://issues.apache.org/jira/browse/LENS-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16169884#comment-16169884 ] Hudson commented on LENS-1477: -- FAILURE: Integrated in Jenkins build Lens-Commit #1444 (See [https://builds.apache.org/job/Lens-Commit/1444/]) LENS-1477 : Change default measure value to 0 instead of 0.0 in union (sushilmohanty: rev a7ec47ed33ad6aa906b8c62dd68a62b7b85fab1a) * (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/TestCubeSegmentationRewriter.java * (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/TestVirtualFactQueries.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/UnionQueryWriter.java * (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/TestUnionAndJoinCandidates.java * (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/TestBridgeTableQueries.java * (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/TestBaseCubeQueries.java > Change default measure value to "0" instead of "0.0" in union queries > - > > Key: LENS-1477 > URL: https://issues.apache.org/jira/browse/LENS-1477 > Project: Apache Lens > Issue Type: Bug > Components: cube >Reporter: Sushil Mohanty >Assignee: Sushil Mohanty > Attachments: LENS-1477.patch > > > Changing this value to "0", so data type conversion of integer with double > can be avoided. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (LENS-1475) Override equals(Object obj) and hashcode() methods of SegmentationCandidate
[ https://issues.apache.org/jira/browse/LENS-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16166036#comment-16166036 ] Hudson commented on LENS-1475: -- FAILURE: Integrated in Jenkins build Lens-Commit #1443 (See [https://builds.apache.org/job/Lens-Commit/1443/]) LENS-1475 : Override equals(Object obj) and hashcode() methods of (sushilmohanty: rev dbbd0c44670d5b15022bb93f05f526783f29a4a4) * (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 > Attachments: LENS-1475.patch > > > Override both equals() and hashcode() -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (LENS-1474) Null pointer exception in expression resolver for Segmentation candidate
[ https://issues.apache.org/jira/browse/LENS-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16160705#comment-16160705 ] Hudson commented on LENS-1474: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1442 (See [https://builds.apache.org/job/Lens-Commit/1442/]) LENS-1474 : Fix NPE in ExpressionResolver for SegmentationCandidate (amareshwari: rev 24d4f1531497e8b877fe185a0ef742b18acf125c) * (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 > Fix For: 2.8 > > 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 (v6.4.14#64029)
[jira] [Commented] (LENS-1473) Cubevirtualfact table relative start time has incorrect config field name
[ https://issues.apache.org/jira/browse/LENS-1473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16155626#comment-16155626 ] Hudson commented on LENS-1473: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1441 (See [https://builds.apache.org/job/Lens-Commit/1441/]) LENS-1473: Cubevirtualfact table relative start time has incorrect (rajatgupta59: rev 7c97071481e6efc0fcd22ee00887d5c365ef497c) * (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 > Fix For: 2.8 > > Attachments: LENS-1473.patch > > > Cubevirtualfact table relative start time has incorrect config field name -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (LENS-1472) Populate sample metastore on example db is failing
[ https://issues.apache.org/jira/browse/LENS-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16154100#comment-16154100 ] Hudson commented on LENS-1472: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1440 (See [https://builds.apache.org/job/Lens-Commit/1440/]) LENS-1472: Populate sample metastore on example db is failing (rajatgupta59: rev 2b86ac2b83608efb95d9c89c10445c4a30f5) * (edit) lens-examples/src/main/java/org/apache/lens/examples/PopulateSampleMetastore.java * (edit) lens-examples/src/main/java/org/apache/lens/examples/SampleMetastore.java * (add) lens-examples/src/main/resources/sales-aggr-fact2-local4.data * (edit) lens-dist/src/main/assembly/bin-dist.xml > 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 > 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 (v6.4.14#64029)
[jira] [Commented] (LENS-1471) JoinCandidate's children should not share same instance of a storage candidate
[ https://issues.apache.org/jira/browse/LENS-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16153476#comment-16153476 ] Hudson commented on LENS-1471: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1439 (See [https://builds.apache.org/job/Lens-Commit/1439/]) LENS-1471: JoinCandidate's children should not share same storage (rajatgupta59: rev caf7a2c0b045ce409d254c1ff26ffd79d01fee52) * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/CandidateCoveringSetsResolver.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/UnionCandidate.java > JoinCandidate's children should not share same instance of a storage > candidate > --- > > Key: LENS-1471 > URL: https://issues.apache.org/jira/browse/LENS-1471 > Project: Apache Lens > Issue Type: Bug > Components: cube >Reporter: Rajat Khandelwal >Assignee: Rajat Khandelwal > Fix For: 2.8 > > Attachments: LENS-1471.01.patch, LENS-1471.02.patch, > LENS-1471.03.patch > > > The issue is in Join candidates of the kind {{Join\[Union\[a,b\]; > Union\[a,c\]\]}}. If the instance of {{a}} is shared in different trees of a > JoinCandidate, the rewritten query will be wrong. JoinCandidate's children > set exclusive measure phrase indices, and that is done via {{retain}} method > of list. So let's say union1 is answering {{\[0,1\]}} measures and union2 is > answering {{\[2,3\]}} measures, and since > {{\[0,1,2,3\].retain(\[0,1\]).retain(\[2,3\]) == \[\]}}, it ends up answering > no measures at all -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (LENS-1439) Having clause getting skipped if query goes to a segmentation containing single segment
[ https://issues.apache.org/jira/browse/LENS-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16152149#comment-16152149 ] Hudson commented on LENS-1439: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1438 (See [https://builds.apache.org/job/Lens-Commit/1438/]) LENS-1439: Having clause getting skipped if query goes to a segmentation (rajatgupta59: rev a8d23df80dcfc22b3d67938f8f522bbd33072466) * (edit) lens-cube/src/test/resources/schema/cubes/derived/union_join_ctx_der1.xml * (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/TestCubeSegmentationRewriter.java * (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 > Fix For: 2.7, 2.8 > > 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 (v6.4.14#64029)
[jira] [Commented] (LENS-1468) Expressions in having clauses are not getting rewritten properly for join queries
[ https://issues.apache.org/jira/browse/LENS-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16151818#comment-16151818 ] Hudson commented on LENS-1468: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1437 (See [https://builds.apache.org/job/Lens-Commit/1437/]) LENS-1468: Expressions in having clauses are not getting rewritten (rajatgupta59: rev b4cc2ed8af533fc9d7310452b6c7e12d7ac7afac) * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/UnionQueryWriter.java * (edit) lens-cube/src/test/resources/schema/cubes/base/basecube.xml * (edit) lens-cube/src/test/resources/schema/cubes/derived/der2.xml * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/ExpressionResolver.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidateHQLContext.java * (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/TestBaseCubeQueries.java > 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 > Fix For: 2.8 > > 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 (v6.4.14#64029)
[jira] [Commented] (LENS-1466) Rewritten queries not resolving time_range_in clause
[ https://issues.apache.org/jira/browse/LENS-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16150191#comment-16150191 ] Hudson commented on LENS-1466: -- SUCCESS: Integrated in Jenkins build Lens-Commit #1436 (See [https://builds.apache.org/job/Lens-Commit/1436/]) LENS-1466 : Fix for 'Rewritten queries not resolving time_range_in (amareshwari: rev 8baae4133d8f8306d9a49ff4512c091a997b1234) * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidate.java * (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/TestCubeRewriter.java * (add) lens-cube/src/test/resources/schema/storages/c98.xml * (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/CubeTestSetup.java * (add) lens-cube/src/test/resources/schema/facts/summary5.xml * (edit) lens-cube/src/test/java/org/apache/lens/cube/metadata/DateFactory.java * (edit) lens-cube/src/test/resources/schema/cubes/base/testcube.xml > Rewritten queries not resolving time_range_in clause > > > Key: LENS-1466 > URL: https://issues.apache.org/jira/browse/LENS-1466 > Project: Apache Lens > Issue Type: Bug > Components: cube >Reporter: Rajitha R >Assignee: Rajitha R > Fix For: 2.7 > > Attachments: LENS-1466.patch > > > Few Queries with look ahead are not resolving time_range_in clause. This is > causing queries to fail on jdbc. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (LENS-1467) CubeQueryContext.getAllFilters is returning incorrect list of filters in case there is an "OR" in the filters
[ https://issues.apache.org/jira/browse/LENS-1467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16147095#comment-16147095 ] Hudson commented on LENS-1467: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1435 (See [https://builds.apache.org/job/Lens-Commit/1435/]) LENS-1467: CubeQueryContext.getAllFilters is returning incorrect list of (rajatgupta59: rev ef6e59c61d9b281332911a5d282723d29cd700c3) * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/join/JoinClause.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/CubeQueryContext.java * (add) lens-cube/src/test/java/org/apache/lens/cube/parse/CubeQueryContextTest.java * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/StorageCandidateHQLContext.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 > 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 (v6.4.14#64029)
[jira] [Commented] (LENS-1465) Sync queries blocking threads
[ https://issues.apache.org/jira/browse/LENS-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16147094#comment-16147094 ] Hudson commented on LENS-1465: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1435 (See [https://builds.apache.org/job/Lens-Commit/1435/]) LENS-1465: Sync queries blocking threads (rajatgupta59: rev f4fdab01395357159b2c641c8e6aa88223551838) * (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 > 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 (v6.4.14#64029)
[jira] [Commented] (LENS-1464) One or two queued queries failing with ConcurrentModificationException on restart
[ https://issues.apache.org/jira/browse/LENS-1464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16147093#comment-16147093 ] Hudson commented on LENS-1464: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1435 (See [https://builds.apache.org/job/Lens-Commit/1435/]) LENS-1464: One or two queued queries failing with (rajatgupta59: rev 806703ef2d8180a3baee21a6f27a3b7bdc1f2f79) * (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 > 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 (v6.4.14#64029)
[jira] [Commented] (LENS-1463) Valid Columns addition in Virtual Fact
[ https://issues.apache.org/jira/browse/LENS-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16143678#comment-16143678 ] Hudson commented on LENS-1463: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1434 (See [https://builds.apache.org/job/Lens-Commit/1434/]) LENS-1463 : Valid Columns addition in Virtual Fact (amareshwari: rev b3352997ca851b6a68e7e0d57caeb514d7e134d3) * (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/resources/schema/facts/virtual/virtualfact.xml * (edit) lens-cube/src/test/java/org/apache/lens/cube/parse/TestVirtualFactQueries.java * (edit) lens-cube/src/test/resources/schema/cubes/base/testcube2.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 > Fix For: 2.8 > > 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 (v6.4.14#64029)
[jira] [Commented] (LENS-1459) Time union candidate creation phase is creating a combination with redundant candidates
[ https://issues.apache.org/jira/browse/LENS-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16128709#comment-16128709 ] Hudson commented on LENS-1459: -- FAILURE: Integrated in Jenkins build Lens-Commit #1433 (See [https://builds.apache.org/job/Lens-Commit/1433/]) LENS-1459: Time union candidate creation phase is creating a combination (rajatgupta59: rev e6f1ce0e2927d84a9cd2800f7630305114af1bb4) * (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 > 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 (v6.4.14#64029)
[jira] [Commented] (LENS-1456) Deadlock in jdbcdriver
[ https://issues.apache.org/jira/browse/LENS-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16123151#comment-16123151 ] Hudson commented on LENS-1456: -- FAILURE: Integrated in Jenkins build Lens-Commit #1432 (See [https://builds.apache.org/job/Lens-Commit/1432/]) LENS-1456: Fix Deadlock in jdbcdriver (rajatgupta59: rev 66ff2fd50140091083841558ed05db10b5565d7b) * (edit) lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryContext.java > Deadlock in jdbcdriver > -- > > Key: LENS-1456 > URL: https://issues.apache.org/jira/browse/LENS-1456 > Project: Apache Lens > Issue Type: Bug > Components: driver-jdbc >Reporter: Amareshwari Sriramadasu >Assignee: Rajat Khandelwal > Attachments: LENS-1456.2017-07-31_18:19:00.patch > > > Here are the details : > {noformat} > Found one Java-level deadlock: > = > "lens-driver-jdbc-795": > waiting to lock monitor 0x7f98200140a8 (object 0x000319a3dc88, a > org.apache.lens.server.api.query.QueryContext), > which is held by "query-cancellation-pool-Thread-3" > "query-cancellation-pool-Thread-3": > waiting to lock monitor 0x7f97ec002d08 (object 0x000319a8c6e0, a > java.util.ArrayList), > which is held by "lens-driver-jdbc-795" > Java stack information for the threads listed above: > === > "lens-driver-jdbc-795": > at > org.apache.lens.server.query.QueryExecutionServiceImpl.updateStatus(QueryExecutionServiceImpl.java:1049) > - waiting to lock <0x000319a3dc88> (a > org.apache.lens.server.api.query.QueryContext) > at > org.apache.lens.server.query.QueryExecutionServiceImpl.access$1900(QueryExecutionServiceImpl.java:110) > at > org.apache.lens.server.query.QueryExecutionServiceImpl$AsyncStatusUpdater.onDriverStatusUpdated(QueryExecutionServiceImpl.java:853) > at > org.apache.lens.server.api.query.QueryContext.setDriverStatus(QueryContext.java:577) > - locked <0x000319a8c6e0> (a java.util.ArrayList) > at > org.apache.lens.driver.jdbc.JDBCDriver$QueryCallable.call(JDBCDriver.java:299) > at > org.apache.lens.driver.jdbc.JDBCDriver$QueryCallable.call(JDBCDriver.java:237) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:748) > "query-cancellation-pool-Thread-3": > at > org.apache.lens.server.api.query.QueryContext.setDriverStatus(QueryContext.java:575) > - waiting to lock <0x000319a8c6e0> (a java.util.ArrayList) > at > org.apache.lens.server.api.query.QueryContext.setDriverStatus(QueryContext.java:587) > at > org.apache.lens.driver.jdbc.JDBCDriver.cancelQuery(JDBCDriver.java:962) > at > org.apache.lens.server.query.QueryExecutionServiceImpl.cancelQuery(QueryExecutionServiceImpl.java:2720) > - locked <0x000319a3dc88> (a > org.apache.lens.server.api.query.QueryContext) > at > org.apache.lens.server.query.QueryExecutionServiceImpl.access$3500(QueryExecutionServiceImpl.java:110) > at > org.apache.lens.server.query.QueryExecutionServiceImpl$CancelQueryTask.run(QueryExecutionServiceImpl.java:1667) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:748) > Found 1 deadlock. > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (LENS-1450) filters are getting replicated in jdbc driver query
[ https://issues.apache.org/jira/browse/LENS-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1662#comment-1662 ] Hudson commented on LENS-1450: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1429 (See [https://builds.apache.org/job/Lens-Commit/1429/]) Revert "LENS-1450: filters are getting replicated in jdbc driver query" (rajatgupta59: rev 3da3bce4b0e9ec706a123ab8cb46b3902063d89f) * (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/CubeQueryContext.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 > Attachments: LENS-1450.patch > > > The where filters are getting repeated in some queries for jdbc. This needs > to be fixed -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (LENS-1457) ExpressionResolver pruning expression when some tables don't have ref columns of the expressions
[ https://issues.apache.org/jira/browse/LENS-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16107124#comment-16107124 ] Hudson commented on LENS-1457: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1428 (See [https://builds.apache.org/job/Lens-Commit/1428/]) LENS-1457: ExpressionResolver pruning expression when some tables don't (rajatgupta59: rev 1bafd570fb8ccfd85be782dd9f63a37e3f26ead4) * (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 > 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 (v6.4.14#64029)
[jira] [Commented] (LENS-1453) Method metrics names duplicate for segmentation inner rewrite
[ https://issues.apache.org/jira/browse/LENS-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16094551#comment-16094551 ] Hudson commented on LENS-1453: -- UNSTABLE: Integrated in Jenkins build Lens-Commit #1427 (See [https://builds.apache.org/job/Lens-Commit/1427/]) LENS-1453: Method metrics names duplicate for segmentation inner rewrite (rajatgupta59: rev 0b265c81b312f410d4b4c6cde7f3a4596fb3fb79) * (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 > 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 (v6.4.14#64029)