Re: Review Request 51964: LENS-317: Server side calls for updating database jars

2016-10-25 Thread Amareshwari Sriramadasu

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




lens-cli/src/main/java/org/apache/lens/cli/commands/LensDatabaseCommands.java 
(line 135)


Make the argument File instead of String.



lens-client/src/main/java/org/apache/lens/client/LensConnection.java (line 372)


Please add unit test for the client api/cli command



lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java 
(line 841)


local directory need not be qualified, as it will be always local.



lens-server/src/main/java/org/apache/lens/server/metastore/MetastoreResource.java
 (line 23)


required import?



lens-server/src/main/java/org/apache/lens/server/session/DatabaseResourceService.java
 (line 90)


Can we store resourceFs which is a FileSystem object as class variable, 
instead of creating newInstance on every download ?



lens-server/src/main/java/org/apache/lens/server/session/DatabaseResourceService.java
 (line 109)


Lets move super.start() towards end of this method.



lens-server/src/main/java/org/apache/lens/server/session/DatabaseResourceService.java
 (lines 117 - 130)


Does server start has to download/refresh jars upon every startup ? It 
would be expensive. and we are doing even if there are no changes to the files.

Should we do size checks across local and remote filesystem before any 
copying? 

Put this enabled/disabled with a configuration?



lens-server/src/main/java/org/apache/lens/server/session/DatabaseResourceService.java
 (lines 123 - 129)


This check has to happen before the above copy.



lens-server/src/main/java/org/apache/lens/server/session/DatabaseResourceService.java
 (line 169)


not sure how its corresponding local jar file is added to classloader. If 
hdfs jar is getting added, it wont work.

might have to pass the corresponding local jar as the location value for 
ResourceEntry.



lens-server/src/main/java/org/apache/lens/server/session/DatabaseResourceService.java
 (line 213)


Can we store this at class level variable instead of reading from conf 
again and again ?



lens-server/src/main/java/org/apache/lens/server/session/DatabaseResourceService.java
 (lines 547 - 567)


We should not be filesystem close anywhere, FileSystem's shutdown hook will 
take care of it.



lens-server/src/main/java/org/apache/lens/server/session/HiveSessionService.java
 (line 339)


Why are we passing null name? We should remove the param, if it is not 
required anymore.



lens-server/src/main/java/org/apache/lens/server/session/SessionResource.java 
(line 310)


what is partial state here? I dont see any return with partial state.



lens-server/src/main/resources/lensserver-default.xml (line 58)


Do we need this change? I see DatabaseResourceService is still getting 
added through SessionService.



lens-server/src/test/java/org/apache/lens/server/session/TestDatabaseResourceService.java
 (line 174)


Can you change logging style to slf4j parameterized style?


- Amareshwari Sriramadasu


On Oct. 25, 2016, 10:11 a.m., Sushil Mohanty wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51964/
> ---
> 
> (Updated Oct. 25, 2016, 10:11 a.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: LENS-317
> https://issues.apache.org/jira/browse/LENS-317
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> Server side api call to update database jar without restarting lens server. 
> More details can be found in LENS-317.
> 
> 
> Diffs
> -
> 
>   
> lens-cli/src/main/java/org/apache/lens/cli/commands/LensDatabaseCommands.java 
> c6ae02b 
>   lens-client/src/main/java/org/apache/lens/client/LensClient.java e936798 
>   lens-client/src/main/java/org/apache/lens/client/LensConnection.java 
> bb15b23 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java
>  3ae59c6 
>   
> lens-ser

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

2016-10-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-1363:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

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



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


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

2016-10-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta updated LENS-1363:
---
Fix Version/s: 2.7

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



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


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

2016-10-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta commented on LENS-1363:


Committed myself.

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



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


Re: [ANNOUNCE] Apache Lens 2.6.1 release

2016-10-25 Thread amareshwarisr .
Great work Puneet! Thanks for driving the release.

On Tue, Oct 25, 2016 at 5:45 PM, Puneet Gupta 
wrote:

> Hi All,
>
> The Apache Lens team is proud to announce the release of Apache Lens 2.6.1.
> This is the first GA release which supports Hive 2.
>
> Apache Lens provides an Unified Analytics interface. Lens aims to cut the
> Data Analytics silos by providing a single view of data across multiple
> tiered data stores and optimal execution environment for the analytical
> query. It seamlessly integrates Hadoop with traditional data warehouses to
> appear like one.
>
>
> More details on Apache Lens can be found at
> http://lens.apache.org/
>
> Getting started available at
> http://lens.apache.org/lenshome/quick-start.html
>
> For quick ramp-up, you can watch a video at
> http://cwiki.apache.org/confluence/display/LENS/2015/
> 07/13/20+Minute+video+demo+of+Apache+Lens+through+examples
>
> How to for Contributors available at
> http://lens.apache.org/developer/contribute.html
>
> The release artifacts are downloadable from
> http://lens.apache.org/releases/download.html
>
> Maven jar artifacts have also been made available on
> https://repository.apache.org/content/repositories/releases/
> org/apache/lens
>
> Release notes available at
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> version=12333846&styleName=&projectId=12315923
>
> We would like to thank all the contributors who made this release possible.
>
>
> Regards,
> Puneet Gupta
>


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

2016-10-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on LENS-1363:
---

+1

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



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


Re: Review Request 52982: Adding a message based retry policy

2016-10-25 Thread Lavkesh Lahngir

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

(Updated Oct. 25, 2016, 12:38 p.m.)


Review request for lens.


Repository: lens


Description
---

If any one of the configured messages are found then the retry will happen


Diffs (updated)
-

  lens-driver-hive/src/main/resources/hivedriver-default.xml f5fd3bb 
  lens-driver-jdbc/src/main/resources/jdbcdriver-default.xml 89726c4 
  
lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java 
3ae59c6 
  
lens-server-api/src/main/java/org/apache/lens/server/api/retry/FibonacciExponentialBackOffRetryHandler.java
 01da25d 
  
lens-server-api/src/main/java/org/apache/lens/server/api/retry/ImmediateRetryHandler.java
 c1c0126 
  
lens-server-api/src/main/java/org/apache/lens/server/api/retry/SubstringMessagePolicyDecider.java
 PRE-CREATION 
  
lens-server-api/src/test/java/org/apache/lens/server/api/retry/TestSubStringMessagePolicyDecider.java
 PRE-CREATION 
  src/site/apt/admin/hivedriver-config.apt b1a25c3 
  src/site/apt/admin/jdbcdriver-config.apt c64d6ee 

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


Testing
---


Thanks,

Lavkesh Lahngir



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

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1197:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1197 : Update doc for api getAllFacts of a cube (amareshwari: rev 
ca19ead475e4f929a7154de4ca9c92dc034b0f2c)
* (edit) 
lens-server/src/main/java/org/apache/lens/server/metastore/MetastoreResource.java


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



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


[jira] [Commented] (LENS-1242) JDBCDriver cancel query is taking huge time

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1242:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1242: (incremental)JDBCDriver cancel query is taking huge time 
(amareshwari: rev 7ae4a547294e23ec0b61d89679c9137f86709fb2)
* (edit) 
lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/JDBCDriver.java


> JDBCDriver cancel query is taking huge time
> ---
>
> Key: LENS-1242
> URL: https://issues.apache.org/jira/browse/LENS-1242
> Project: Apache Lens
>  Issue Type: Bug
>  Components: driver-jdbc
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1242.incremental.patch, LENS-1242.patch
>
>
> We are seeing Cancel on JDBC is taking huge time in production.
> Here are few logs :
> {noformat}
> 28 Jul 2016 05:54:19 [1113a9e8-86cd-43eb-b5bb-ad718a7e87cd] 
> [grizzly-http-server-43] INFO  
> org.apache.lens.server.query.QueryExecutionServiceImpl - CancelQuery: 
> session: standalone="yes"?>617e95ae-397f-46ea-9b20-f472e614d673761a20c0-80b8-4406-a614-b38e21fa5b34
>  query:18a411f0-b62e-48e9-821c-f34da98fedbc
> 28 Jul 2016 05:54:19 [1113a9e8-86cd-43eb-b5bb-ad718a7e87cd] 
> [grizzly-http-server-43] INFO  org.apache.hadoop.hive.conf.HiveConf - Using 
> the default value passed in for log id: 617e95ae-397f-46ea-9b20-f472e614d673
> 28 Jul 2016 05:54:19 [1113a9e8-86cd-43eb-b5bb-ad718a7e87cd] 
> [grizzly-http-server-43] INFO  org.apache.hadoop.hive.ql.session.SessionState 
> - Updating thread name to 617e95ae-397f-46ea-9b20-f472e614d673 
> grizzly-http-server-43
> 28 Jul 2016 05:54:19 [18a411f0-b62e-48e9-821c-f34da98fedbc] 
> [617e95ae-397f-46ea-9b20-f472e614d673 grizzly-http-server-43] INFO  
> org.apache.lens.server.query.QueryExecutionServiceImpl - Updating status for 
> 18a411f0-b62e-48e9-821c-f34da98fedbc
> 28 Jul 2016 05:54:19 [18a411f0-b62e-48e9-821c-f34da98fedbc] 
> [617e95ae-397f-46ea-9b20-f472e614d673 grizzly-http-server-43] INFO  
> org.apache.lens.server.api.query.QueryContext - Updating status of 
> 18a411f0-b62e-48e9-821c-f34da98fedbc from Progress: 0.0
> 28 Jul 2016 05:54:56 [18a411f0-b62e-48e9-821c-f34da98fedbc] [StatusPoller] 
> INFO  org.apache.lens.server.query.QueryExecutionServiceImpl - Updating 
> status for 18a411f0-b62e-48e9-821c-f34da98fedbc
>  Progress: 0.0
> Status: RUNNING
> Status Message: 18a411f0-b62e-48e9-821c-f34da98fedbc is running
> Is Result Set Available: false
>  to Progress: 0.0
> Status: RUNNING
> Status Message: 18a411f0-b62e-48e9-821c-f34da98fedbc is running
> Is Result Set Available: false
> 28 Jul 2016 06:14:38 [18a411f0-b62e-48e9-821c-f34da98fedbc] 
> [617e95ae-397f-46ea-9b20-f472e614d673 grizzly-http-server-43] INFO  
> org.apache.lens.driver.jdbc.JDBCDriver - jdbc/prod Cancelled query : 
> 18a411f0-b62e-48e9-821c-f34da98fedbc
> 28 Jul 2016 06:14:38 [18a411f0-b62e-48e9-821c-f34da98fedbc] 
> [617e95ae-397f-46ea-9b20-f472e614d673 grizzly-http-server-43] INFO  
> org.apache.lens.server.query.QueryExecutionServiceImpl - Query 
> 18a411f0-b62e-48e9-821c-f34da98fedbc cancelled successfully
> 28 Jul 2016 06:14:38 [18a411f0-b62e-48e9-821c-f34da98fedbc] 
> [617e95ae-397f-46ea-9b20-f472e614d673 grizzly-http-server-43] INFO  
> org.apache.lens.server.api.query.QueryContext - Updating status of 
> 18a411f0-b62e-48e9-821c-f34da98fedbc from Progress: 0.0
> 28 Jul 2016 06:14:38 [18a411f0-b62e-48e9-821c-f34da98fedbc] 
> [617e95ae-397f-46ea-9b20-f472e614d673 grizzly-http-server-43] INFO  
> org.apache.lens.server.session.LensSessionImpl - Removing 
> 18a411f0-b62e-48e9-821c-f34da98fedbc from active queries for session 
> 617e95ae-397f-46ea-9b20-f472e614d673
> 28 Jul 2016 06:14:38 [18a411f0-b62e-48e9-821c-f34da98fedbc] 
> [617e95ae-397f-46ea-9b20-f472e614d673 grizzly-http-server-43] INFO  
> org.apache.hadoop.hive.conf.HiveConf - Using the default value passed in for 
> log id: 617e95ae-397f-46ea-9b20-f472e614d673
> 28 Jul 2016 06:14:38 [18a411f0-b62e-48e9-821c-f34da98fedbc] 
> [617e95ae-397f-46ea-9b20-f472e614d673 grizzly-http-server-43] INFO  
> org.apache.hadoop.hive.ql.session.SessionState - Resetting thread name to  
> grizzly-http-server-43
> {noformat}
> It took more than 10 minutes for cancelling from above logs.



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


[jira] [Commented] (LENS-1241) Fix tests failures with setup and teardown issues

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1241:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1241 : Fix tests failures with setup and teardown issues (amareshwari: rev 
8fcc1a12b652c667fb153bb0e95e4a8de4f8638a)
* (edit) lens-server/src/test/java/org/apache/lens/server/TestServerMode.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/metastore/TestMetastoreService.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/scheduler/AlarmServiceTest.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/query/TestResultFormatting.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/query/TestEventService.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/metrics/TestResourceMethodMetrics.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/user/TestUserConfigLoader.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/healthcheck/TestHealthChecks.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/query/TestQueryResultPurger.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/metrics/MetricsServiceImpl.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/query/TestQueryEndEmailNotifier.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/query/save/TestSavedQueryService.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/session/TestSessionResource.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/rewrite/TestUserQueryToCubeQueryRewriter.java


> Fix tests failures with setup and teardown issues
> -
>
> Key: LENS-1241
> URL: https://issues.apache.org/jira/browse/LENS-1241
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Sushil Mohanty
> Fix For: 2.6
>
> Attachments: LENS-1241-1.patch
>
>
> We are seeing failures like 
> https://builds.apache.org/job/PreCommit-Lens-Build/752/testReport/junit/org.apache.lens.server.query/QueryAPIErrorResponseTest/tearDown/
> Shall we move all session creation and drop; table creation, loading and drop 
> to \@beforeclass and \@afterclass  annotations?



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


[jira] [Commented] (LENS-1331) Remove protobuf dependency from lens

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1331:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1331 : Remove protobuf dependency from lens (archanah: rev 
d89a4ea39e1d08e68047a2210b713654001d1620)
* (edit) lens-regression/pom.xml
* (edit) pom.xml


> Remove protobuf dependency from lens
> 
>
> Key: LENS-1331
> URL: https://issues.apache.org/jira/browse/LENS-1331
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build
>Affects Versions: 2.6
>Reporter: Puneet Gupta
>Assignee: Archana H
>Priority: Blocker
> Fix For: 2.6
>
> Attachments: LENS-1331.patch
>
>
> protobuf is not required to be bundled 
> {noformat}
>   
> com.google.protobuf
> protobuf-java
> ${protobuf.version}
>   
> {noformat}



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


[jira] [Commented] (LENS-1254) TestLensQueryCommands.showPersistentResultSet fails intermittently

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1254:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1254 : Fix TestLensQueryCommands.showPersistentResultSet failure 
(amareshwari: rev 68e01c2b40b15fc1f14e6071267823d77efd317c)
* (edit) lens-cli/src/test/java/org/apache/lens/cli/TestLensQueryCommands.java


> TestLensQueryCommands.showPersistentResultSet fails intermittently
> --
>
> Key: LENS-1254
> URL: https://issues.apache.org/jira/browse/LENS-1254
> Project: Apache Lens
>  Issue Type: Bug
>  Components: client, test
>Affects Versions: 2.6
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.6
>
> Attachments: lens-1254.patch
>
>
> Exception
> {noformat}
> java.lang.AssertionError: expected [true] but found [false]
>   at org.testng.Assert.fail(Assert.java:94)
>   at org.testng.Assert.failNotEquals(Assert.java:494)
>   at org.testng.Assert.assertTrue(Assert.java:42)
>   at org.testng.Assert.assertTrue(Assert.java:52)
>   at 
> org.apache.lens.cli.TestLensQueryCommands.downloadResult(TestLensQueryCommands.java:486)
>   at 
> org.apache.lens.cli.TestLensQueryCommands.showPersistentResultSet(TestLensQueryCommands.java:475)
> {noformat}
> Client Logs 
> {noformat}
> @@PERSISTENT_RESULT_TEST-
> @@ RESULT test_dim.id test_dim.name   
> Result available in memory, attaching here: 
> 1 first   
> 1 rows processed in (0) seconds.
> {noformat}



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


[jira] [Commented] (LENS-1265) Scheduler Bug fixes

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1265:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1265: Scheduler Bug fixes (followup to LENS-128) (archanah: rev 
ebf018f97621eccd1ca423e1bbfdc036b6b46c2c)
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInfo.java
* (edit) lens-api/src/main/resources/scheduler-job-0.1.xsd
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerQueryEventListener.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/scheduler/TestSchedulerServiceImpl.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobState.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceRun.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/scheduler/AlarmServiceTest.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/AlarmService.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceState.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerEventListener.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/ScheduleResource.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceInfo.java
* (edit) 
lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/SchedulerService.java
LENS-1272 : Check-style fixes after  LENS-1265 (archanah: rev 
d37e84994042622b7e68a5c564d3cb31fed5c45f)
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java


> Scheduler Bug fixes
> ---
>
> Key: LENS-1265
> URL: https://issues.apache.org/jira/browse/LENS-1265
> Project: Apache Lens
>  Issue Type: Task
>Reporter: Lavkesh Lahngir
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
> Attachments: Scheduler-bug-fixes.patch, Scheduler-bug-fixes.patch, 
> Scheduler-bug-fixes.patch
>
>




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


[jira] [Commented] (LENS-1281) Minor Licensing issue

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1281:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1281 : Fix license issue with quartz dependency (amareshwari: rev 
15cf0b577216d8bd6073391da98fbb5fc0dd01e4)
* (edit) pom.xml


> Minor Licensing issue
> -
>
> Key: LENS-1281
> URL: https://issues.apache.org/jira/browse/LENS-1281
> Project: Apache Lens
>  Issue Type: Improvement
>Reporter: Ajay Yadava
>Assignee: Ajay Yadava
> Fix For: 2.6
>
> Attachments: LENS-1281-v1.patch, LENS-1281.patch
>
>
> Quartz library is used by Lens for scheduling purposes. Quartz has a 
> dependency on c3p0 which is LGPL and not Apache License compatible. Good news 
> is we don't need it as we are not using the persistence features of quartz, 
> so it can be excluded.



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


[jira] [Commented] (LENS-1270) AlarmService should be inited through configuration

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1270:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1270 : AlarmService should be inited through configuration (amareshwari: 
rev 05533d1a094db317eccbae86fb2c59b4ef368717)
* (edit) lens-server/src/main/resources/lensserver-default.xml
* (edit) src/site/apt/admin/config.apt
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/AlarmService.java
* (edit) lens-server/src/test/resources/lens-site.xml
* (edit) lens-server/src/main/java/org/apache/lens/server/LensServices.java


> AlarmService should be inited through configuration
> ---
>
> Key: LENS-1270
> URL: https://issues.apache.org/jira/browse/LENS-1270
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1270.2.patch, LENS-1270.patch
>
>
> Right now, AlarmService is inited directly in LensServices. Instead it should 
> be loaded through configuration sothat it can be opted out, if required.



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


[jira] [Commented] (LENS-1272) Checkstyle is failing after LENS-1265

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1272:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1272 : Check-style fixes after  LENS-1265 (archanah: rev 
d37e84994042622b7e68a5c564d3cb31fed5c45f)
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java


> Checkstyle is failing after LENS-1265
> -
>
> Key: LENS-1272
> URL: https://issues.apache.org/jira/browse/LENS-1272
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Lavkesh Lahngir
>Assignee: Lavkesh Lahngir
>Priority: Blocker
> Fix For: 2.6
>
> Attachments: checkstyle-fix.patch
>
>
> {code}
> [INFO] --- maven-checkstyle-plugin:2.9.1:check (checkstyle-check) @ 
> lens-server ---
> [INFO] Starting audit...
> /home/jenkins/jenkins-slave/workspace/Lens-Commit-Java8/lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java:100:
>  'if' construct must use '{}'s.
> /home/jenkins/jenkins-slave/workspace/Lens-Commit-Java8/lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java:668:
>  Line is longer than 120 characters.
> Audit done.
> {code}



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


[jira] [Commented] (LENS-1282) getUpdatedQueryContext() call is missing from QueryExecutionServiceImpl#executeTimeoutInternal

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1282:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1282: getUpdatedQueryContext() call is missing from (amareshwari: rev 
466cee342d9657d8ca2348efbd7393c47ed0d3d0)
* (edit) 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java


> getUpdatedQueryContext() call is missing from 
> QueryExecutionServiceImpl#executeTimeoutInternal
> --
>
> Key: LENS-1282
> URL: https://issues.apache.org/jira/browse/LENS-1282
> Project: Apache Lens
>  Issue Type: Bug
>Affects Versions: 2.6
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
>Priority: Critical
> Fix For: 2.6, 2.7
>
> Attachments: lens-1282.patch
>
>
> We should call  getUpdatedQueryContext() in while loop to make sure latest 
> status is available after each "listener.wait(waitMillisPerCheck)"
> {code}
>  if (totalWaitTime > 0 && !queryCtx.getStatus().executed() && 
> !queryCtx.getStatus().finished()) {
>   log.info("Registering for query {} completion notification", 
> ctx.getQueryHandleString());
>   queryCtx.getSelectedDriver().registerForCompletionNotification(handle, 
> totalWaitTime, listener);
>   try {
> // We will wait for a few millis at a time until we reach max 
> required wait time and also check the state
> // each time we come out of the wait.
> // This is done because the registerForCompletionNotification and 
> query execution completion can happen
> // parallely especailly in case of drivers like JDBC and in that case 
> completion notification may not be
> //  received by this listener. So its better to break the wait into 
> smaller ones.
> long waitMillisPerCheck = totalWaitTime/10;
> waitMillisPerCheck = (waitMillisPerCheck > 500) ? 500 : 
> waitMillisPerCheck; // Lets keep max as 500
> long totalWaitMillisSoFar = 0;
> synchronized (listener) {
>   while (totalWaitMillisSoFar < totalWaitTime
> && !queryCtx.getStatus().executed() && 
> !queryCtx.getStatus().finished()) {
> listener.wait(waitMillisPerCheck);
> totalWaitMillisSoFar += waitMillisPerCheck;
>   }
> }
>   } catch (InterruptedException e) {
> log.info("{} query completion notification wait interrupted", 
> queryCtx.getQueryHandleString());
>   }
> }
> {code}



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


[jira] [Commented] (LENS-1336) lens/contrib is not included in modules

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1336:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1336: Add contrib(clients) module to modules section (raju.bairishetti: 
rev 0f7a1d6d91e340381c8f07f648b7d3305573c2ed)
* (edit) pom.xml
LENS-1336: lens/contrib/client/python should not be build in default 
(rajatgupta59: rev aeb2d8eac7dfef3b143d1b4039197d598b3a9a70)
* (edit) contrib/clients/python/README.md
* (edit) contrib/clients/python/pom.xml


> lens/contrib is not included in modules 
> 
>
> Key: LENS-1336
> URL: https://issues.apache.org/jira/browse/LENS-1336
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build
>Affects Versions: 2.6
>Reporter: Puneet Gupta
>Assignee: Rajat Khandelwal
>Priority: Blocker
> Fix For: 2.6, 2.7
>
> Attachments: LENS-1336.01.patch, LENS-1336.02.patch, 
> LENS-1336.2016-09-26_19:31:24.patch, LENS-1336.patch, LENS-1336.patch
>
>




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


[ANNOUNCE] Apache Lens 2.6.1 release

2016-10-25 Thread Puneet Gupta
Hi All,

The Apache Lens team is proud to announce the release of Apache Lens 2.6.1.
This is the first GA release which supports Hive 2.

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


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

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

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

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

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

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

Release notes available at
https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12333846&styleName=&projectId=12315923

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


Regards,
Puneet Gupta


[jira] [Commented] (LENS-1250) Error while initializing saved query service on server start

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1250:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1250 : Error while initializing saved query service on server start 
(archanah: rev 06c6f47b361421cad53550bae72c7a892af8f516)
* (edit) 
lens-server/src/main/java/org/apache/lens/server/query/save/SavedQueryDao.java


> Error while initializing saved query service on server start
> 
>
> Key: LENS-1250
> URL: https://issues.apache.org/jira/browse/LENS-1250
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Archana H
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1250.2016-08-02_14:55:02.patch
>
>
> Error:
> {CODE}
> java.lang.RuntimeException: Cannot initialize saved query service
> at 
> org.apache.lens.server.query.save.SavedQueryServiceImpl.init(SavedQueryServiceImpl.java:75)
>  ~[classes/:na]
> at 
> org.apache.hive.service.CompositeService.init(CompositeService.java:59) 
> ~[hive-service-2.1.3-inm-SNAPSHOT.jar:2.1.3-inm-SNAPSHOT]
> at org.apache.lens.server.LensServices.init(LensServices.java:252) 
> ~[classes/:na]
> at 
> org.apache.lens.server.LensServer.startServices(LensServer.java:117) 
> ~[classes/:na]
> at org.apache.lens.server.LensServer.(LensServer.java:84) 
> ~[classes/:na]
> at 
> org.apache.lens.server.LensServer.createLensServer(LensServer.java:73) 
> ~[classes/:na]
> at org.apache.lens.server.LensServer.main(LensServer.java:173) 
> ~[classes/:na]
> Caused by: org.apache.lens.server.api.error.LensException: Error initializing 
> saved query dao
> at 
> org.apache.lens.server.query.save.SavedQueryDao.(SavedQueryDao.java:72) 
> ~[classes/:na]
> at 
> org.apache.lens.server.query.save.SavedQueryServiceImpl.init(SavedQueryServiceImpl.java:72)
>  ~[classes/:na]
> ... 6 common frames omitted
> Caused by: org.apache.lens.server.api.error.LensException: Cannot create 
> saved query table!
> at 
> org.apache.lens.server.query.save.SavedQueryDao.createSavedQueryTableIfNotExists(SavedQueryDao.java:85)
>  ~[classes/:na]
> at 
> org.apache.lens.server.query.save.SavedQueryDao.(SavedQueryDao.java:70) 
> ~[classes/:na]
> ... 7 common frames omitted
> Caused by: java.sql.SQLException: Incorrect table definition; there can be 
> only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE 
> clause Query: CREATE TABLE IF NOT EXISTS saved_query (id int(11) NOT NULL 
> AUTO_INCREMENT,name varchar(255) NOT NULL,description varchar(255) DEFAULT 
> NULL,query longtext,params_json longtext,created_at timestamp DEFAULT 
> CURRENT_TIMESTAMP,updated_at timestamp DEFAULT CURRENT_TIMESTAMP,  PRIMARY 
> KEY (id)) Parameters: []
> at 
> org.apache.commons.dbutils.AbstractQueryRunner.rethrow(AbstractQueryRunner.java:363)
>  ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:490) 
> ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:420) 
> ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.lens.server.query.save.SavedQueryDao.createSavedQueryTableIfNotExists(SavedQueryDao.java:83)
>  ~[classes/:na]
> {CODE}



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


[jira] [Commented] (LENS-1314) Update 2.6 release documentation

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1314:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1314 : Update 2.6 release documentation (amareshwari: rev 
03595918430cf9fd3944539a7c8f26b724a3e773)
* (edit) src/site/apt/releases/download.apt
* (edit) src/site/apt/releases/release-history.apt


> Update 2.6 release documentation
> 
>
> Key: LENS-1314
> URL: https://issues.apache.org/jira/browse/LENS-1314
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: build
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.6
>
> Attachments: lens-1314.v2.patch
>
>




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


[jira] [Commented] (LENS-1337) Update Release documentation for lens 2.6.1

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1337:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1337: Update Release documentation for lens 2.6.1 (raju.bairishetti: rev 
c600c82b03d3127b3f1107e2b798e42b1a2acf0e)
* (edit) src/site/apt/releases/release-history.apt
LENS-1337 : Update docs link in release-history (amareshwari: rev 
7efc6436a2e8fbde77e1c3feb181f6aa2b989d82)
* (edit) src/site/apt/releases/release-history.apt


> Update Release documentation for lens 2.6.1
> ---
>
> Key: LENS-1337
> URL: https://issues.apache.org/jira/browse/LENS-1337
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: build
>Affects Versions: 2.6
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.6
>
> Attachments: lens-1337.patch, lens-1337.v2.patch
>
>




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


[jira] [Commented] (LENS-952) Bump up enunciate version to work with java 8

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-952:
-

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-952: Bump up enunciate version to work with java 8 (raju: rev 
be839122d897eb1c739facd77d8c7ff086ab97d6)
* (edit) pom.xml
* (edit) lens-server/enunciate.xml
* (edit) lens-server/pom.xml


> Bump up enunciate version to work with java 8
> -
>
> Key: LENS-952
> URL: https://issues.apache.org/jira/browse/LENS-952
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: build
>Reporter: Amareshwari Sriramadasu
>Assignee: Deepak Barr
> Fix For: 2.6
>
> Attachments: LENS-952.2.patch, LENS-952.3.patch
>
>
> We are depending on 1.28 version of enunciate, which does not work on java 8. 
> We should move to latest version to work fine with java8.



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


[jira] [Commented] (LENS-1338) Update current-release-line version to 2.6.1 in all poms and configs

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1338:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1338: Update current-release-line version to 2.6.1 in all poms and 
(raju.bairishetti: rev 8a71940d5a550783f4a8086d1c0b459d8caf0c6b)
* (edit) contrib/clients/python/pom.xml
* (edit) contrib/clients/python/setup.py
* (edit) contrib/clients/python/lens/client/__init__.py
* (edit) contrib/clients/pom.xml
* (edit) lens-docker/lens-test/Dockerfile
* (edit) contrib/pom.xml
* (edit) lens-docker/lens-test/lens-bootstrap.sh
LENS-1338: (incremental patch) Fix lens version in hivedriver-site.xml 
(raju.bairishetti: rev e4ac1534221e03d3be23faeb17393027c7b4f73a)
* (edit) tools/conf-pseudo-distr/server/drivers/hive/hive1/hivedriver-site.xml


> Update current-release-line version to 2.6.1 in all poms and configs
> 
>
> Key: LENS-1338
> URL: https://issues.apache.org/jira/browse/LENS-1338
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1338.2.patch, LENS-1338.patch
>
>
> This issue is to fix version numbers in current-release-line.



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


[jira] [Commented] (LENS-1278) Seeing too many instances of UDFClassloader getting created

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1278:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1278 : Fix too many instances of UDFClassLoader (amareshwari: rev 
35aba09ab0288f67634f70ad65ea41ed89322892)
* (edit) 
lens-server/src/main/java/org/apache/lens/server/session/LensSessionImpl.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/session/SessionClassLoader.java


> Seeing too many instances of UDFClassloader getting created
> ---
>
> Key: LENS-1278
> URL: https://issues.apache.org/jira/browse/LENS-1278
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
>Priority: Critical
> Fix For: 2.6
>
> Attachments: LENS-1278.2.patch, LENS-1278.patch
>
>
> We are seeing too many instances of UDFClassloader objects :
>  grep 'ClassLoader' jmap.dump 
>  1439 138144 org.apache.hadoop.hive.ql.exec.UDFClassLoader
>  1789 128808 sun.reflect.DelegatingClassLoader
>   270 25920 org.apache.lens.server.session.SessionClassLoader
> Mostly because of this - 
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java#L1794



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


[jira] [Commented] (LENS-1321) Add License message for properties files

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1321:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1321: Add License message for properties files (puneet.gupta: rev 
3c6433dc89e8c41054c4965707a7f41e3be86e0a)
* (edit) pom.xml
* (edit) lens-regression/src/main/resources/queries.properties
* (edit) lens-regression/src/main/resources/template.lens.properties
* (edit) lens-ml-lib/data/naive_bayes/ml.properties


> Add License message for properties files
> 
>
> Key: LENS-1321
> URL: https://issues.apache.org/jira/browse/LENS-1321
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build, ml, regression
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.6
>
> Attachments: lens-1321.patch
>
>
> IM1995-X0:lens puneet.gupta$ git status
> On branch current-release-line
> Your branch is up-to-date with 'origin/current-release-line'.
> nothing to commit, working directory clean
> IM1995-X0:lens puneet.gupta$ git diff apache-lens-2.5.0-beta  --summary | 
> grep create | grep -v ".java" | grep -v ".yaml" | grep -v ".py"|grep -v 
> ".xml"|grep -v "control$"|grep -v ".data"
>  create mode 100644 lens-regression/src/main/resources/queries.properties
>  create mode 100644 
> lens-regression/src/main/resources/template.lens.properties



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


[jira] [Commented] (LENS-1268) Lens build on dev enviornment is failing

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1268:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1268: Lens build on dev enviornment is failing (amareshwari: rev 
baf4e765c6ca0690686762767456514b9240b1a0)
* (edit) pom.xml


> Lens build on dev enviornment is failing 
> -
>
> Key: LENS-1268
> URL: https://issues.apache.org/jira/browse/LENS-1268
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Praveen Adlakha
>Assignee: Praveen Adlakha
> Fix For: 2.6
>
> Attachments: LENS-1268.patch
>
>
> Hi All,
> Lens build is failing in dev enviornment with error :
> {code}
> [INFO] Building Lens API for server and extensions 2.7.0-SNAPSHOT
> [INFO] 
> 
> Downloading: 
> http://repo1.maven.org/maven2/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
> Downloading: 
> https://repository.cloudera.com/artifactory/cloudera-repos/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
> Downloading: 
> https://repository.apache.org/content/groups/public/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
> Downloading: 
> http://projectlombok.org/mavenrepo/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
> Downloading: 
> http://repo.springsource.org/simple/ext-release-local/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
> [WARNING] The POM for 
> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde is missing, no 
> dependency information available
> Downloading: 
> http://repo1.maven.org/maven2/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
> Downloading: 
> https://repository.cloudera.com/artifactory/cloudera-repos/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
> Downloading: 
> https://repository.apache.org/content/groups/public/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
> Downloading: 
> http://projectlombok.org/mavenrepo/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
> Downloading: 
> http://repo.springsource.org/simple/ext-release-local/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Lens Checkstyle Rules .. SUCCESS [  1.158 
> s]
> [INFO] Lens ... SUCCESS [  4.648 
> s]
> [INFO] Lens API ... SUCCESS [ 13.168 
> s]
> [INFO] Lens API for server and extensions . FAILURE [ 13.287 
> s]
> [INFO] Lens Cube .. SKIPPED
> [INFO] Lens DB storage  SKIPPED
> [INFO] Lens Query Library . SKIPPED
> [INFO] Lens Hive Driver ... SKIPPED
> [INFO] Lens Driver for JDBC ... SKIPPED
> [INFO] Lens Elastic Search Driver . SKIPPED
> [INFO] Lens Server  SKIPPED
> [INFO] Lens client  SKIPPED
> [INFO] Lens CLI ... SKIPPED
> [INFO] Lens Examples .. SKIPPED
> [INFO] Lens Ship Jars to Distributed Cache  SKIPPED
> [INFO] Lens Distribution .. SKIPPED
> [INFO] Lens ML Lib  SKIPPED
> [INFO] Lens ML Ext Distribution ... SKIPPED
> [INFO] Lens Regression  SKIPPED
> [INFO] Lens UI  SKIPPED
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 32.630 s
> [INFO] Finished at: 2016-08-08T15:13:49+05:30
> [INFO] Final Memory: 74M/995M
> [INFO] 
> 
> [ERROR] Failed to execute goal on project lens-server-api: Could not resolve 
> dependencies for project org.apache.lens:lens-server-api

[jira] [Commented] (LENS-1245) Lens client gives null error message when a query fails.

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1245:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1245 : Fix error message in LensAPIException (amareshwari: rev 
1b0326948b43190370d9c32ac14cb521a449479d)
* (edit) 
lens-client/src/main/java/org/apache/lens/client/exceptions/LensAPIException.java


> Lens client gives null error message when a query fails.
> 
>
> Key: LENS-1245
> URL: https://issues.apache.org/jira/browse/LENS-1245
> Project: Apache Lens
>  Issue Type: Bug
>  Components: client
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1245.patch
>
>
> We are seeing LensClient throws NPE whenever there is a query failure.



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


[jira] [Commented] (LENS-1246) Lens Client throwing NPE in explainFailedAttempt

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1246:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1246 : Fix NPE in explainFailedAttempt in Lens Client (amareshwari: rev 
fbe44ff0be1ceca163a3d74310fa10b5ac5918eb)
* (edit) 
lens-client/src/main/java/org/apache/lens/client/LensClientSingletonWrapper.java


> Lens Client throwing NPE in explainFailedAttempt
> 
>
> Key: LENS-1246
> URL: https://issues.apache.org/jira/browse/LENS-1246
> Project: Apache Lens
>  Issue Type: Bug
>  Components: client, test
>Affects Versions: 2.6
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1246.2016-08-01_16:25:02.patch
>
>




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


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

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-128:
-

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1265: Scheduler Bug fixes (followup to LENS-128) (archanah: rev 
ebf018f97621eccd1ca423e1bbfdc036b6b46c2c)
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInfo.java
* (edit) lens-api/src/main/resources/scheduler-job-0.1.xsd
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerQueryEventListener.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/scheduler/TestSchedulerServiceImpl.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobState.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceRun.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/scheduler/AlarmServiceTest.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/AlarmService.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceState.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerEventListener.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/ScheduleResource.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceInfo.java
* (edit) 
lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/SchedulerService.java
LENS-1281 : Fix license issue with quartz dependency (amareshwari: rev 
15cf0b577216d8bd6073391da98fbb5fc0dd01e4)
* (edit) pom.xml
LENS-1282: getUpdatedQueryContext() call is missing from (amareshwari: rev 
466cee342d9657d8ca2348efbd7393c47ed0d3d0)
* (edit) 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java


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



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


[jira] [Commented] (LENS-1269) Time range fallback in lens examples should not give empty results

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1269:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1366 (See 
[https://builds.apache.org/job/Lens-Commit/1366/])
LENS-1269 : Time range fallback in lens examples should not give empty 
(amareshwari: rev 2748cd9c4fdf23b57c3ebd70c75d8311a6538cde)
* (edit) lens-examples/src/main/resources/sales-aggr-fact2-local3.data


> Time range fallback in lens examples should not give empty results
> --
>
> Key: LENS-1269
> URL: https://issues.apache.org/jira/browse/LENS-1269
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1269.2016-08-08_16:40:55.patch
>
>




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


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

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1197:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1197 : Update doc for api getAllFacts of a cube (amareshwari: rev 
ca19ead475e4f929a7154de4ca9c92dc034b0f2c)
* (edit) 
lens-server/src/main/java/org/apache/lens/server/metastore/MetastoreResource.java


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



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


[jira] [Commented] (LENS-1241) Fix tests failures with setup and teardown issues

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1241:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1241 : Fix tests failures with setup and teardown issues (amareshwari: rev 
8fcc1a12b652c667fb153bb0e95e4a8de4f8638a)
* (edit) 
lens-server/src/test/java/org/apache/lens/server/query/save/TestSavedQueryService.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/metrics/MetricsServiceImpl.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/session/TestSessionResource.java
* (edit) lens-server/src/test/java/org/apache/lens/server/TestServerMode.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/metrics/TestResourceMethodMetrics.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/rewrite/TestUserQueryToCubeQueryRewriter.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/scheduler/AlarmServiceTest.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/query/TestResultFormatting.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/query/TestEventService.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/user/TestUserConfigLoader.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/query/TestQueryEndEmailNotifier.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/metastore/TestMetastoreService.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/healthcheck/TestHealthChecks.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/query/TestQueryResultPurger.java


> Fix tests failures with setup and teardown issues
> -
>
> Key: LENS-1241
> URL: https://issues.apache.org/jira/browse/LENS-1241
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Sushil Mohanty
> Fix For: 2.6
>
> Attachments: LENS-1241-1.patch
>
>
> We are seeing failures like 
> https://builds.apache.org/job/PreCommit-Lens-Build/752/testReport/junit/org.apache.lens.server.query/QueryAPIErrorResponseTest/tearDown/
> Shall we move all session creation and drop; table creation, loading and drop 
> to \@beforeclass and \@afterclass  annotations?



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


[jira] [Commented] (LENS-1242) JDBCDriver cancel query is taking huge time

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1242:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1242: (incremental)JDBCDriver cancel query is taking huge time 
(amareshwari: rev 7ae4a547294e23ec0b61d89679c9137f86709fb2)
* (edit) 
lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/JDBCDriver.java


> JDBCDriver cancel query is taking huge time
> ---
>
> Key: LENS-1242
> URL: https://issues.apache.org/jira/browse/LENS-1242
> Project: Apache Lens
>  Issue Type: Bug
>  Components: driver-jdbc
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1242.incremental.patch, LENS-1242.patch
>
>
> We are seeing Cancel on JDBC is taking huge time in production.
> Here are few logs :
> {noformat}
> 28 Jul 2016 05:54:19 [1113a9e8-86cd-43eb-b5bb-ad718a7e87cd] 
> [grizzly-http-server-43] INFO  
> org.apache.lens.server.query.QueryExecutionServiceImpl - CancelQuery: 
> session: standalone="yes"?>617e95ae-397f-46ea-9b20-f472e614d673761a20c0-80b8-4406-a614-b38e21fa5b34
>  query:18a411f0-b62e-48e9-821c-f34da98fedbc
> 28 Jul 2016 05:54:19 [1113a9e8-86cd-43eb-b5bb-ad718a7e87cd] 
> [grizzly-http-server-43] INFO  org.apache.hadoop.hive.conf.HiveConf - Using 
> the default value passed in for log id: 617e95ae-397f-46ea-9b20-f472e614d673
> 28 Jul 2016 05:54:19 [1113a9e8-86cd-43eb-b5bb-ad718a7e87cd] 
> [grizzly-http-server-43] INFO  org.apache.hadoop.hive.ql.session.SessionState 
> - Updating thread name to 617e95ae-397f-46ea-9b20-f472e614d673 
> grizzly-http-server-43
> 28 Jul 2016 05:54:19 [18a411f0-b62e-48e9-821c-f34da98fedbc] 
> [617e95ae-397f-46ea-9b20-f472e614d673 grizzly-http-server-43] INFO  
> org.apache.lens.server.query.QueryExecutionServiceImpl - Updating status for 
> 18a411f0-b62e-48e9-821c-f34da98fedbc
> 28 Jul 2016 05:54:19 [18a411f0-b62e-48e9-821c-f34da98fedbc] 
> [617e95ae-397f-46ea-9b20-f472e614d673 grizzly-http-server-43] INFO  
> org.apache.lens.server.api.query.QueryContext - Updating status of 
> 18a411f0-b62e-48e9-821c-f34da98fedbc from Progress: 0.0
> 28 Jul 2016 05:54:56 [18a411f0-b62e-48e9-821c-f34da98fedbc] [StatusPoller] 
> INFO  org.apache.lens.server.query.QueryExecutionServiceImpl - Updating 
> status for 18a411f0-b62e-48e9-821c-f34da98fedbc
>  Progress: 0.0
> Status: RUNNING
> Status Message: 18a411f0-b62e-48e9-821c-f34da98fedbc is running
> Is Result Set Available: false
>  to Progress: 0.0
> Status: RUNNING
> Status Message: 18a411f0-b62e-48e9-821c-f34da98fedbc is running
> Is Result Set Available: false
> 28 Jul 2016 06:14:38 [18a411f0-b62e-48e9-821c-f34da98fedbc] 
> [617e95ae-397f-46ea-9b20-f472e614d673 grizzly-http-server-43] INFO  
> org.apache.lens.driver.jdbc.JDBCDriver - jdbc/prod Cancelled query : 
> 18a411f0-b62e-48e9-821c-f34da98fedbc
> 28 Jul 2016 06:14:38 [18a411f0-b62e-48e9-821c-f34da98fedbc] 
> [617e95ae-397f-46ea-9b20-f472e614d673 grizzly-http-server-43] INFO  
> org.apache.lens.server.query.QueryExecutionServiceImpl - Query 
> 18a411f0-b62e-48e9-821c-f34da98fedbc cancelled successfully
> 28 Jul 2016 06:14:38 [18a411f0-b62e-48e9-821c-f34da98fedbc] 
> [617e95ae-397f-46ea-9b20-f472e614d673 grizzly-http-server-43] INFO  
> org.apache.lens.server.api.query.QueryContext - Updating status of 
> 18a411f0-b62e-48e9-821c-f34da98fedbc from Progress: 0.0
> 28 Jul 2016 06:14:38 [18a411f0-b62e-48e9-821c-f34da98fedbc] 
> [617e95ae-397f-46ea-9b20-f472e614d673 grizzly-http-server-43] INFO  
> org.apache.lens.server.session.LensSessionImpl - Removing 
> 18a411f0-b62e-48e9-821c-f34da98fedbc from active queries for session 
> 617e95ae-397f-46ea-9b20-f472e614d673
> 28 Jul 2016 06:14:38 [18a411f0-b62e-48e9-821c-f34da98fedbc] 
> [617e95ae-397f-46ea-9b20-f472e614d673 grizzly-http-server-43] INFO  
> org.apache.hadoop.hive.conf.HiveConf - Using the default value passed in for 
> log id: 617e95ae-397f-46ea-9b20-f472e614d673
> 28 Jul 2016 06:14:38 [18a411f0-b62e-48e9-821c-f34da98fedbc] 
> [617e95ae-397f-46ea-9b20-f472e614d673 grizzly-http-server-43] INFO  
> org.apache.hadoop.hive.ql.session.SessionState - Resetting thread name to  
> grizzly-http-server-43
> {noformat}
> It took more than 10 minutes for cancelling from above logs.



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


[jira] [Commented] (LENS-1331) Remove protobuf dependency from lens

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1331:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1331 : Remove protobuf dependency from lens (archanah: rev 
d89a4ea39e1d08e68047a2210b713654001d1620)
* (edit) pom.xml
* (edit) lens-regression/pom.xml


> Remove protobuf dependency from lens
> 
>
> Key: LENS-1331
> URL: https://issues.apache.org/jira/browse/LENS-1331
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build
>Affects Versions: 2.6
>Reporter: Puneet Gupta
>Assignee: Archana H
>Priority: Blocker
> Fix For: 2.6
>
> Attachments: LENS-1331.patch
>
>
> protobuf is not required to be bundled 
> {noformat}
>   
> com.google.protobuf
> protobuf-java
> ${protobuf.version}
>   
> {noformat}



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


[jira] [Commented] (LENS-1265) Scheduler Bug fixes

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1265:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1265: Scheduler Bug fixes (followup to LENS-128) (archanah: rev 
ebf018f97621eccd1ca423e1bbfdc036b6b46c2c)
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerQueryEventListener.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceRun.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceState.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/scheduler/TestSchedulerServiceImpl.java
* (edit) lens-api/src/main/resources/scheduler-job-0.1.xsd
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/AlarmService.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerEventListener.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/scheduler/AlarmServiceTest.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceInfo.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInfo.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobState.java
* (edit) 
lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/SchedulerService.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/ScheduleResource.java
LENS-1272 : Check-style fixes after  LENS-1265 (archanah: rev 
d37e84994042622b7e68a5c564d3cb31fed5c45f)
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java


> Scheduler Bug fixes
> ---
>
> Key: LENS-1265
> URL: https://issues.apache.org/jira/browse/LENS-1265
> Project: Apache Lens
>  Issue Type: Task
>Reporter: Lavkesh Lahngir
>Assignee: Lavkesh Lahngir
> Fix For: 2.6
>
> Attachments: Scheduler-bug-fixes.patch, Scheduler-bug-fixes.patch, 
> Scheduler-bug-fixes.patch
>
>




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


[jira] [Commented] (LENS-1254) TestLensQueryCommands.showPersistentResultSet fails intermittently

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1254:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1254 : Fix TestLensQueryCommands.showPersistentResultSet failure 
(amareshwari: rev 68e01c2b40b15fc1f14e6071267823d77efd317c)
* (edit) lens-cli/src/test/java/org/apache/lens/cli/TestLensQueryCommands.java


> TestLensQueryCommands.showPersistentResultSet fails intermittently
> --
>
> Key: LENS-1254
> URL: https://issues.apache.org/jira/browse/LENS-1254
> Project: Apache Lens
>  Issue Type: Bug
>  Components: client, test
>Affects Versions: 2.6
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.6
>
> Attachments: lens-1254.patch
>
>
> Exception
> {noformat}
> java.lang.AssertionError: expected [true] but found [false]
>   at org.testng.Assert.fail(Assert.java:94)
>   at org.testng.Assert.failNotEquals(Assert.java:494)
>   at org.testng.Assert.assertTrue(Assert.java:42)
>   at org.testng.Assert.assertTrue(Assert.java:52)
>   at 
> org.apache.lens.cli.TestLensQueryCommands.downloadResult(TestLensQueryCommands.java:486)
>   at 
> org.apache.lens.cli.TestLensQueryCommands.showPersistentResultSet(TestLensQueryCommands.java:475)
> {noformat}
> Client Logs 
> {noformat}
> @@PERSISTENT_RESULT_TEST-
> @@ RESULT test_dim.id test_dim.name   
> Result available in memory, attaching here: 
> 1 first   
> 1 rows processed in (0) seconds.
> {noformat}



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


[jira] [Commented] (LENS-1281) Minor Licensing issue

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1281:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1281 : Fix license issue with quartz dependency (amareshwari: rev 
15cf0b577216d8bd6073391da98fbb5fc0dd01e4)
* (edit) pom.xml


> Minor Licensing issue
> -
>
> Key: LENS-1281
> URL: https://issues.apache.org/jira/browse/LENS-1281
> Project: Apache Lens
>  Issue Type: Improvement
>Reporter: Ajay Yadava
>Assignee: Ajay Yadava
> Fix For: 2.6
>
> Attachments: LENS-1281-v1.patch, LENS-1281.patch
>
>
> Quartz library is used by Lens for scheduling purposes. Quartz has a 
> dependency on c3p0 which is LGPL and not Apache License compatible. Good news 
> is we don't need it as we are not using the persistence features of quartz, 
> so it can be excluded.



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


[jira] [Commented] (LENS-1282) getUpdatedQueryContext() call is missing from QueryExecutionServiceImpl#executeTimeoutInternal

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1282:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1282: getUpdatedQueryContext() call is missing from (amareshwari: rev 
466cee342d9657d8ca2348efbd7393c47ed0d3d0)
* (edit) 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java


> getUpdatedQueryContext() call is missing from 
> QueryExecutionServiceImpl#executeTimeoutInternal
> --
>
> Key: LENS-1282
> URL: https://issues.apache.org/jira/browse/LENS-1282
> Project: Apache Lens
>  Issue Type: Bug
>Affects Versions: 2.6
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
>Priority: Critical
> Fix For: 2.6, 2.7
>
> Attachments: lens-1282.patch
>
>
> We should call  getUpdatedQueryContext() in while loop to make sure latest 
> status is available after each "listener.wait(waitMillisPerCheck)"
> {code}
>  if (totalWaitTime > 0 && !queryCtx.getStatus().executed() && 
> !queryCtx.getStatus().finished()) {
>   log.info("Registering for query {} completion notification", 
> ctx.getQueryHandleString());
>   queryCtx.getSelectedDriver().registerForCompletionNotification(handle, 
> totalWaitTime, listener);
>   try {
> // We will wait for a few millis at a time until we reach max 
> required wait time and also check the state
> // each time we come out of the wait.
> // This is done because the registerForCompletionNotification and 
> query execution completion can happen
> // parallely especailly in case of drivers like JDBC and in that case 
> completion notification may not be
> //  received by this listener. So its better to break the wait into 
> smaller ones.
> long waitMillisPerCheck = totalWaitTime/10;
> waitMillisPerCheck = (waitMillisPerCheck > 500) ? 500 : 
> waitMillisPerCheck; // Lets keep max as 500
> long totalWaitMillisSoFar = 0;
> synchronized (listener) {
>   while (totalWaitMillisSoFar < totalWaitTime
> && !queryCtx.getStatus().executed() && 
> !queryCtx.getStatus().finished()) {
> listener.wait(waitMillisPerCheck);
> totalWaitMillisSoFar += waitMillisPerCheck;
>   }
> }
>   } catch (InterruptedException e) {
> log.info("{} query completion notification wait interrupted", 
> queryCtx.getQueryHandleString());
>   }
> }
> {code}



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


[jira] [Commented] (LENS-1270) AlarmService should be inited through configuration

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1270:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1270 : AlarmService should be inited through configuration (amareshwari: 
rev 05533d1a094db317eccbae86fb2c59b4ef368717)
* (edit) lens-server/src/test/resources/lens-site.xml
* (edit) src/site/apt/admin/config.apt
* (edit) lens-server/src/main/java/org/apache/lens/server/LensServices.java
* (edit) lens-server/src/main/resources/lensserver-default.xml
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/AlarmService.java


> AlarmService should be inited through configuration
> ---
>
> Key: LENS-1270
> URL: https://issues.apache.org/jira/browse/LENS-1270
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1270.2.patch, LENS-1270.patch
>
>
> Right now, AlarmService is inited directly in LensServices. Instead it should 
> be loaded through configuration sothat it can be opted out, if required.



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


[jira] [Commented] (LENS-1272) Checkstyle is failing after LENS-1265

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1272:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1272 : Check-style fixes after  LENS-1265 (archanah: rev 
d37e84994042622b7e68a5c564d3cb31fed5c45f)
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java


> Checkstyle is failing after LENS-1265
> -
>
> Key: LENS-1272
> URL: https://issues.apache.org/jira/browse/LENS-1272
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Lavkesh Lahngir
>Assignee: Lavkesh Lahngir
>Priority: Blocker
> Fix For: 2.6
>
> Attachments: checkstyle-fix.patch
>
>
> {code}
> [INFO] --- maven-checkstyle-plugin:2.9.1:check (checkstyle-check) @ 
> lens-server ---
> [INFO] Starting audit...
> /home/jenkins/jenkins-slave/workspace/Lens-Commit-Java8/lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java:100:
>  'if' construct must use '{}'s.
> /home/jenkins/jenkins-slave/workspace/Lens-Commit-Java8/lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java:668:
>  Line is longer than 120 characters.
> Audit done.
> {code}



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


[jira] [Commented] (LENS-1250) Error while initializing saved query service on server start

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1250:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1250 : Error while initializing saved query service on server start 
(archanah: rev 06c6f47b361421cad53550bae72c7a892af8f516)
* (edit) 
lens-server/src/main/java/org/apache/lens/server/query/save/SavedQueryDao.java


> Error while initializing saved query service on server start
> 
>
> Key: LENS-1250
> URL: https://issues.apache.org/jira/browse/LENS-1250
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Archana H
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1250.2016-08-02_14:55:02.patch
>
>
> Error:
> {CODE}
> java.lang.RuntimeException: Cannot initialize saved query service
> at 
> org.apache.lens.server.query.save.SavedQueryServiceImpl.init(SavedQueryServiceImpl.java:75)
>  ~[classes/:na]
> at 
> org.apache.hive.service.CompositeService.init(CompositeService.java:59) 
> ~[hive-service-2.1.3-inm-SNAPSHOT.jar:2.1.3-inm-SNAPSHOT]
> at org.apache.lens.server.LensServices.init(LensServices.java:252) 
> ~[classes/:na]
> at 
> org.apache.lens.server.LensServer.startServices(LensServer.java:117) 
> ~[classes/:na]
> at org.apache.lens.server.LensServer.(LensServer.java:84) 
> ~[classes/:na]
> at 
> org.apache.lens.server.LensServer.createLensServer(LensServer.java:73) 
> ~[classes/:na]
> at org.apache.lens.server.LensServer.main(LensServer.java:173) 
> ~[classes/:na]
> Caused by: org.apache.lens.server.api.error.LensException: Error initializing 
> saved query dao
> at 
> org.apache.lens.server.query.save.SavedQueryDao.(SavedQueryDao.java:72) 
> ~[classes/:na]
> at 
> org.apache.lens.server.query.save.SavedQueryServiceImpl.init(SavedQueryServiceImpl.java:72)
>  ~[classes/:na]
> ... 6 common frames omitted
> Caused by: org.apache.lens.server.api.error.LensException: Cannot create 
> saved query table!
> at 
> org.apache.lens.server.query.save.SavedQueryDao.createSavedQueryTableIfNotExists(SavedQueryDao.java:85)
>  ~[classes/:na]
> at 
> org.apache.lens.server.query.save.SavedQueryDao.(SavedQueryDao.java:70) 
> ~[classes/:na]
> ... 7 common frames omitted
> Caused by: java.sql.SQLException: Incorrect table definition; there can be 
> only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE 
> clause Query: CREATE TABLE IF NOT EXISTS saved_query (id int(11) NOT NULL 
> AUTO_INCREMENT,name varchar(255) NOT NULL,description varchar(255) DEFAULT 
> NULL,query longtext,params_json longtext,created_at timestamp DEFAULT 
> CURRENT_TIMESTAMP,updated_at timestamp DEFAULT CURRENT_TIMESTAMP,  PRIMARY 
> KEY (id)) Parameters: []
> at 
> org.apache.commons.dbutils.AbstractQueryRunner.rethrow(AbstractQueryRunner.java:363)
>  ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:490) 
> ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:420) 
> ~[commons-dbutils-1.5.jar:1.5]
> at 
> org.apache.lens.server.query.save.SavedQueryDao.createSavedQueryTableIfNotExists(SavedQueryDao.java:83)
>  ~[classes/:na]
> {CODE}



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


[jira] [Commented] (LENS-1336) lens/contrib is not included in modules

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1336:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1336: Add contrib(clients) module to modules section (raju.bairishetti: 
rev 0f7a1d6d91e340381c8f07f648b7d3305573c2ed)
* (edit) pom.xml
LENS-1336: lens/contrib/client/python should not be build in default 
(rajatgupta59: rev aeb2d8eac7dfef3b143d1b4039197d598b3a9a70)
* (edit) contrib/clients/python/README.md
* (edit) contrib/clients/python/pom.xml


> lens/contrib is not included in modules 
> 
>
> Key: LENS-1336
> URL: https://issues.apache.org/jira/browse/LENS-1336
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build
>Affects Versions: 2.6
>Reporter: Puneet Gupta
>Assignee: Rajat Khandelwal
>Priority: Blocker
> Fix For: 2.6, 2.7
>
> Attachments: LENS-1336.01.patch, LENS-1336.02.patch, 
> LENS-1336.2016-09-26_19:31:24.patch, LENS-1336.patch, LENS-1336.patch
>
>




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


[jira] [Commented] (LENS-1314) Update 2.6 release documentation

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1314:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1314 : Update 2.6 release documentation (amareshwari: rev 
03595918430cf9fd3944539a7c8f26b724a3e773)
* (edit) src/site/apt/releases/release-history.apt
* (edit) src/site/apt/releases/download.apt


> Update 2.6 release documentation
> 
>
> Key: LENS-1314
> URL: https://issues.apache.org/jira/browse/LENS-1314
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: build
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.6
>
> Attachments: lens-1314.v2.patch
>
>




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


[jira] [Commented] (LENS-952) Bump up enunciate version to work with java 8

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-952:
-

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-952: Bump up enunciate version to work with java 8 (raju: rev 
be839122d897eb1c739facd77d8c7ff086ab97d6)
* (edit) lens-server/enunciate.xml
* (edit) pom.xml
* (edit) lens-server/pom.xml


> Bump up enunciate version to work with java 8
> -
>
> Key: LENS-952
> URL: https://issues.apache.org/jira/browse/LENS-952
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: build
>Reporter: Amareshwari Sriramadasu
>Assignee: Deepak Barr
> Fix For: 2.6
>
> Attachments: LENS-952.2.patch, LENS-952.3.patch
>
>
> We are depending on 1.28 version of enunciate, which does not work on java 8. 
> We should move to latest version to work fine with java8.



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


[jira] [Commented] (LENS-1337) Update Release documentation for lens 2.6.1

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1337:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1337: Update Release documentation for lens 2.6.1 (raju.bairishetti: rev 
c600c82b03d3127b3f1107e2b798e42b1a2acf0e)
* (edit) src/site/apt/releases/release-history.apt
LENS-1337 : Update docs link in release-history (amareshwari: rev 
7efc6436a2e8fbde77e1c3feb181f6aa2b989d82)
* (edit) src/site/apt/releases/release-history.apt


> Update Release documentation for lens 2.6.1
> ---
>
> Key: LENS-1337
> URL: https://issues.apache.org/jira/browse/LENS-1337
> Project: Apache Lens
>  Issue Type: Sub-task
>  Components: build
>Affects Versions: 2.6
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.6
>
> Attachments: lens-1337.patch, lens-1337.v2.patch
>
>




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


[jira] [Commented] (LENS-1338) Update current-release-line version to 2.6.1 in all poms and configs

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1338:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1338: Update current-release-line version to 2.6.1 in all poms and 
(raju.bairishetti: rev 8a71940d5a550783f4a8086d1c0b459d8caf0c6b)
* (edit) lens-docker/lens-test/Dockerfile
* (edit) contrib/clients/python/lens/client/__init__.py
* (edit) contrib/pom.xml
* (edit) contrib/clients/pom.xml
* (edit) contrib/clients/python/pom.xml
* (edit) contrib/clients/python/setup.py
* (edit) lens-docker/lens-test/lens-bootstrap.sh
LENS-1338: (incremental patch) Fix lens version in hivedriver-site.xml 
(raju.bairishetti: rev e4ac1534221e03d3be23faeb17393027c7b4f73a)
* (edit) tools/conf-pseudo-distr/server/drivers/hive/hive1/hivedriver-site.xml


> Update current-release-line version to 2.6.1 in all poms and configs
> 
>
> Key: LENS-1338
> URL: https://issues.apache.org/jira/browse/LENS-1338
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1338.2.patch, LENS-1338.patch
>
>
> This issue is to fix version numbers in current-release-line.



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


[jira] [Commented] (LENS-1321) Add License message for properties files

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1321:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1321: Add License message for properties files (puneet.gupta: rev 
3c6433dc89e8c41054c4965707a7f41e3be86e0a)
* (edit) pom.xml
* (edit) lens-regression/src/main/resources/queries.properties
* (edit) lens-regression/src/main/resources/template.lens.properties
* (edit) lens-ml-lib/data/naive_bayes/ml.properties


> Add License message for properties files
> 
>
> Key: LENS-1321
> URL: https://issues.apache.org/jira/browse/LENS-1321
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build, ml, regression
>Reporter: Puneet Gupta
>Assignee: Puneet Gupta
> Fix For: 2.6
>
> Attachments: lens-1321.patch
>
>
> IM1995-X0:lens puneet.gupta$ git status
> On branch current-release-line
> Your branch is up-to-date with 'origin/current-release-line'.
> nothing to commit, working directory clean
> IM1995-X0:lens puneet.gupta$ git diff apache-lens-2.5.0-beta  --summary | 
> grep create | grep -v ".java" | grep -v ".yaml" | grep -v ".py"|grep -v 
> ".xml"|grep -v "control$"|grep -v ".data"
>  create mode 100644 lens-regression/src/main/resources/queries.properties
>  create mode 100644 
> lens-regression/src/main/resources/template.lens.properties



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


[jira] [Commented] (LENS-1278) Seeing too many instances of UDFClassloader getting created

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1278:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1278 : Fix too many instances of UDFClassLoader (amareshwari: rev 
35aba09ab0288f67634f70ad65ea41ed89322892)
* (edit) 
lens-server/src/main/java/org/apache/lens/server/session/LensSessionImpl.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/session/SessionClassLoader.java


> Seeing too many instances of UDFClassloader getting created
> ---
>
> Key: LENS-1278
> URL: https://issues.apache.org/jira/browse/LENS-1278
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
>Priority: Critical
> Fix For: 2.6
>
> Attachments: LENS-1278.2.patch, LENS-1278.patch
>
>
> We are seeing too many instances of UDFClassloader objects :
>  grep 'ClassLoader' jmap.dump 
>  1439 138144 org.apache.hadoop.hive.ql.exec.UDFClassLoader
>  1789 128808 sun.reflect.DelegatingClassLoader
>   270 25920 org.apache.lens.server.session.SessionClassLoader
> Mostly because of this - 
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java#L1794



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


[jira] [Commented] (LENS-1245) Lens client gives null error message when a query fails.

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1245:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1245 : Fix error message in LensAPIException (amareshwari: rev 
1b0326948b43190370d9c32ac14cb521a449479d)
* (edit) 
lens-client/src/main/java/org/apache/lens/client/exceptions/LensAPIException.java


> Lens client gives null error message when a query fails.
> 
>
> Key: LENS-1245
> URL: https://issues.apache.org/jira/browse/LENS-1245
> Project: Apache Lens
>  Issue Type: Bug
>  Components: client
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1245.patch
>
>
> We are seeing LensClient throws NPE whenever there is a query failure.



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


[jira] [Commented] (LENS-1268) Lens build on dev enviornment is failing

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1268:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1268: Lens build on dev enviornment is failing (amareshwari: rev 
baf4e765c6ca0690686762767456514b9240b1a0)
* (edit) pom.xml


> Lens build on dev enviornment is failing 
> -
>
> Key: LENS-1268
> URL: https://issues.apache.org/jira/browse/LENS-1268
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Praveen Adlakha
>Assignee: Praveen Adlakha
> Fix For: 2.6
>
> Attachments: LENS-1268.patch
>
>
> Hi All,
> Lens build is failing in dev enviornment with error :
> {code}
> [INFO] Building Lens API for server and extensions 2.7.0-SNAPSHOT
> [INFO] 
> 
> Downloading: 
> http://repo1.maven.org/maven2/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
> Downloading: 
> https://repository.cloudera.com/artifactory/cloudera-repos/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
> Downloading: 
> https://repository.apache.org/content/groups/public/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
> Downloading: 
> http://projectlombok.org/mavenrepo/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
> Downloading: 
> http://repo.springsource.org/simple/ext-release-local/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
> [WARNING] The POM for 
> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde is missing, no 
> dependency information available
> Downloading: 
> http://repo1.maven.org/maven2/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
> Downloading: 
> https://repository.cloudera.com/artifactory/cloudera-repos/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
> Downloading: 
> https://repository.apache.org/content/groups/public/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
> Downloading: 
> http://projectlombok.org/mavenrepo/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
> Downloading: 
> http://repo.springsource.org/simple/ext-release-local/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Lens Checkstyle Rules .. SUCCESS [  1.158 
> s]
> [INFO] Lens ... SUCCESS [  4.648 
> s]
> [INFO] Lens API ... SUCCESS [ 13.168 
> s]
> [INFO] Lens API for server and extensions . FAILURE [ 13.287 
> s]
> [INFO] Lens Cube .. SKIPPED
> [INFO] Lens DB storage  SKIPPED
> [INFO] Lens Query Library . SKIPPED
> [INFO] Lens Hive Driver ... SKIPPED
> [INFO] Lens Driver for JDBC ... SKIPPED
> [INFO] Lens Elastic Search Driver . SKIPPED
> [INFO] Lens Server  SKIPPED
> [INFO] Lens client  SKIPPED
> [INFO] Lens CLI ... SKIPPED
> [INFO] Lens Examples .. SKIPPED
> [INFO] Lens Ship Jars to Distributed Cache  SKIPPED
> [INFO] Lens Distribution .. SKIPPED
> [INFO] Lens ML Lib  SKIPPED
> [INFO] Lens ML Ext Distribution ... SKIPPED
> [INFO] Lens Regression  SKIPPED
> [INFO] Lens UI  SKIPPED
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 32.630 s
> [INFO] Finished at: 2016-08-08T15:13:49+05:30
> [INFO] Final Memory: 74M/995M
> [INFO] 
> 
> [ERROR] Failed to execute goal on project lens-server-api: Could not resolve 
> dependencies for project org.apache.lens:lens-s

[jira] [Commented] (LENS-1246) Lens Client throwing NPE in explainFailedAttempt

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1246:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1246 : Fix NPE in explainFailedAttempt in Lens Client (amareshwari: rev 
fbe44ff0be1ceca163a3d74310fa10b5ac5918eb)
* (edit) 
lens-client/src/main/java/org/apache/lens/client/LensClientSingletonWrapper.java


> Lens Client throwing NPE in explainFailedAttempt
> 
>
> Key: LENS-1246
> URL: https://issues.apache.org/jira/browse/LENS-1246
> Project: Apache Lens
>  Issue Type: Bug
>  Components: client, test
>Affects Versions: 2.6
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1246.2016-08-01_16:25:02.patch
>
>




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


[jira] [Commented] (LENS-1269) Time range fallback in lens examples should not give empty results

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1269:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1269 : Time range fallback in lens examples should not give empty 
(amareshwari: rev 2748cd9c4fdf23b57c3ebd70c75d8311a6538cde)
* (edit) lens-examples/src/main/resources/sales-aggr-fact2-local3.data


> Time range fallback in lens examples should not give empty results
> --
>
> Key: LENS-1269
> URL: https://issues.apache.org/jira/browse/LENS-1269
> Project: Apache Lens
>  Issue Type: Bug
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-1269.2016-08-08_16:40:55.patch
>
>




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


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

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-128:
-

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #283 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/283/])
LENS-1265: Scheduler Bug fixes (followup to LENS-128) (archanah: rev 
ebf018f97621eccd1ca423e1bbfdc036b6b46c2c)
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerDAO.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerQueryEventListener.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerServiceImpl.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceRun.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceState.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/scheduler/TestSchedulerServiceImpl.java
* (edit) lens-api/src/main/resources/scheduler-job-0.1.xsd
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/AlarmService.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/SchedulerEventListener.java
* (edit) 
lens-server/src/test/java/org/apache/lens/server/scheduler/AlarmServiceTest.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInstanceInfo.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobInfo.java
* (edit) 
lens-api/src/main/java/org/apache/lens/api/scheduler/SchedulerJobState.java
* (edit) 
lens-server-api/src/main/java/org/apache/lens/server/api/scheduler/SchedulerService.java
* (edit) 
lens-server/src/main/java/org/apache/lens/server/scheduler/ScheduleResource.java
LENS-1281 : Fix license issue with quartz dependency (amareshwari: rev 
15cf0b577216d8bd6073391da98fbb5fc0dd01e4)
* (edit) pom.xml
LENS-1282: getUpdatedQueryContext() call is missing from (amareshwari: rev 
466cee342d9657d8ca2348efbd7393c47ed0d3d0)
* (edit) 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java


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



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


[jira] [Commented] (LENS-1327) Handle Data delay for scheduled jobs

2016-10-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1327:
-

Applied patch: 
[0001-data-delay.patch|https://issues.apache.org/jira/secure/attachment/12834621/0001-data-delay.patch]
 and ran command: mvn clean install -fae. Result: Success. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/1135/

> Handle Data delay for scheduled jobs
> 
>
> Key: LENS-1327
> URL: https://issues.apache.org/jira/browse/LENS-1327
> Project: Apache Lens
>  Issue Type: Sub-task
>Reporter: Lavkesh Lahngir
>Assignee: Lavkesh Lahngir
> Attachments: 0001-Data-dealy.patch, 0001-data-delay.patch, 
> data-delay.patch, data-delay.patch, data-delay.patch
>
>




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


[jira] [Commented] (LENS-1360) org.apache.lens.driver.jdbc.TestJdbcDriver#testCancelQuery failing in pre-commit

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1360:
--

UNSTABLE: Integrated in Jenkins build Lens-Commit #1365 (See 
[https://builds.apache.org/job/Lens-Commit/1365/])
LENS-1360 : org.apache.lens.driver.jdbc.TestJdbcDriver#testCancelQuery 
(sushilmohanty: rev 547a42f33caa7669fe54509e6e4dac108e904a61)
* (edit) 
lens-driver-jdbc/src/test/java/org/apache/lens/driver/jdbc/TestJdbcDriver.java
* (add) lens-driver-jdbc/src/test/resources/logback.xml
* (edit) 
lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/JDBCDriver.java


> org.apache.lens.driver.jdbc.TestJdbcDriver#testCancelQuery failing in 
> pre-commit 
> -
>
> Key: LENS-1360
> URL: https://issues.apache.org/jira/browse/LENS-1360
> Project: Apache Lens
>  Issue Type: Task
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-1360.02.patch, LENS-1360.03.patch, 
> LENS-1360.04.patch, LENS-1360.05.patch, LENS-1360.logging.patch, 
> LENS-1360.logging.patch
>
>




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


Re: Review Request 51964: LENS-317: Server side calls for updating database jars

2016-10-25 Thread Sushil Mohanty

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

(Updated Oct. 25, 2016, 10:11 a.m.)


Review request for lens.


Changes
---

Addressed review comments.


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


Repository: lens


Description
---

Server side api call to update database jar without restarting lens server. 
More details can be found in LENS-317.


Diffs (updated)
-

  lens-cli/src/main/java/org/apache/lens/cli/commands/LensDatabaseCommands.java 
c6ae02b 
  lens-client/src/main/java/org/apache/lens/client/LensClient.java e936798 
  lens-client/src/main/java/org/apache/lens/client/LensConnection.java bb15b23 
  
lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java 
3ae59c6 
  
lens-server-api/src/main/java/org/apache/lens/server/api/metastore/CubeMetastoreService.java
 28b9d22 
  
lens-server-api/src/main/java/org/apache/lens/server/api/session/SessionService.java
 20ec686 
  lens-server/pom.xml d24dc1e 
  
lens-server/src/main/java/org/apache/lens/server/metastore/CubeMetastoreServiceImpl.java
 8b10d1d 
  
lens-server/src/main/java/org/apache/lens/server/metastore/MetastoreResource.java
 9d823da 
  
lens-server/src/main/java/org/apache/lens/server/session/DatabaseResourceService.java
 511e4cf 
  
lens-server/src/main/java/org/apache/lens/server/session/HiveSessionService.java
 21e2a62 
  lens-server/src/main/java/org/apache/lens/server/session/LensSessionImpl.java 
34c901c 
  lens-server/src/main/java/org/apache/lens/server/session/SessionResource.java 
63eea63 
  lens-server/src/main/java/org/apache/lens/server/util/ScannedPaths.java 
e48eab4 
  lens-server/src/main/resources/lensserver-default.xml 8e5fe8a 
  lens-server/src/test/java/org/apache/lens/server/LensJerseyTest.java 7cccf30 
  lens-server/src/test/java/org/apache/lens/server/LensServerTestUtil.java 
67cee57 
  
lens-server/src/test/java/org/apache/lens/server/session/TestDatabaseResourceService.java
 2bc3712 
  
lens-server/src/test/java/org/apache/lens/server/session/TestDatabaseService.java
 PRE-CREATION 
  lens-server/src/test/resources/lens-site.xml d96659f 
  pom.xml 4928c1f 

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


Testing
---

mvn clean install.

[INFO] 
[INFO] Reactor Summary:
[INFO]
[INFO] Lens Checkstyle Rules . SUCCESS [3.302s]
[INFO] Lens .. SUCCESS [7.286s]
[INFO] Lens API .. SUCCESS [31.546s]
[INFO] Lens API for server and extensions  SUCCESS [25.681s]
[INFO] Lens Cube . SUCCESS [17:55.255s]
[INFO] Lens DB storage ... SUCCESS [25.650s]
[INFO] Lens Query Library  SUCCESS [21.646s]
[INFO] Lens Hive Driver .. SUCCESS [2:11.167s]
[INFO] Lens Driver for JDBC .. SUCCESS [1:03.464s]
[INFO] Lens Elastic Search Driver  SUCCESS [54.798s]
[INFO] Lens Server ... SUCCESS [18:19.588s]
[INFO] Lens client ... SUCCESS [2:02.590s]
[INFO] Lens CLI .. SUCCESS [1:54.985s]
[INFO] Lens Examples . SUCCESS [13.790s]
[INFO] Lens Ship Jars to Distributed Cache ... SUCCESS [2.061s]
[INFO] Lens Distribution . SUCCESS [24.869s]
[INFO] Lens ML Lib ... SUCCESS [1:54.426s]
[INFO] Lens ML Ext Distribution .. SUCCESS [11.053s]
[INFO] Lens Regression ... SUCCESS [20.677s]
[INFO] Lens UI ... SUCCESS [19.454s]
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 49:44.002s
[INFO] Finished at: Sat Sep 17 00:12:08 IST 2016
[INFO] Final Memory: 178M/2490M
[INFO] 


Thanks,

Sushil Mohanty



Re: Review Request 51964: LENS-317: Server side calls for updating database jars

2016-10-25 Thread Sushil Mohanty


> On Oct. 21, 2016, 1:03 p.m., Amareshwari Sriramadasu wrote:
> > lens-server-api/src/main/java/org/apache/lens/server/api/metastore/CubeMetastoreService.java,
> >  line 576
> > 
> >
> > Just a thought - Should this be part of SessionService?

Yes moved to SessionService from MetastoreService


> On Oct. 21, 2016, 1:03 p.m., Amareshwari Sriramadasu wrote:
> > lens-server/src/main/java/org/apache/lens/server/metastore/CubeMetastoreServiceImpl.java,
> >  line 751
> > 
> >
> > We shouldnt be checking for scheme starting with hdfs:// as a string. 
> > We should convert the directory as path and check if it is localfile system 
> > or not.

Didn't find any method to check whether FileSystem is local or not, instead 
used FileSystem.getScheme().


- Sushil


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


On Oct. 20, 2016, 1:24 p.m., Sushil Mohanty wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51964/
> ---
> 
> (Updated Oct. 20, 2016, 1:24 p.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: LENS-317
> https://issues.apache.org/jira/browse/LENS-317
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> Server side api call to update database jar without restarting lens server. 
> More details can be found in LENS-317.
> 
> 
> Diffs
> -
> 
>   
> lens-cli/src/main/java/org/apache/lens/cli/commands/LensDatabaseCommands.java 
> c6ae02b 
>   lens-client/src/main/java/org/apache/lens/client/LensClient.java e936798 
>   lens-client/src/main/java/org/apache/lens/client/LensConnection.java 
> bb15b23 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/LensConfConstants.java
>  8cf617b 
>   
> lens-server-api/src/main/java/org/apache/lens/server/api/metastore/CubeMetastoreService.java
>  28b9d22 
>   lens-server/pom.xml 6dea9a7 
>   
> lens-server/src/main/java/org/apache/lens/server/metastore/CubeMetastoreServiceImpl.java
>  8b10d1d 
>   
> lens-server/src/main/java/org/apache/lens/server/metastore/MetastoreResource.java
>  9d823da 
>   
> lens-server/src/main/java/org/apache/lens/server/session/DatabaseResourceService.java
>  511e4cf 
>   
> lens-server/src/main/java/org/apache/lens/server/session/LensSessionImpl.java 
> 34c901c 
>   lens-server/src/main/java/org/apache/lens/server/util/ScannedPaths.java 
> e48eab4 
>   lens-server/src/test/java/org/apache/lens/server/LensJerseyTest.java 
> 7cccf30 
>   lens-server/src/test/java/org/apache/lens/server/LensServerTestUtil.java 
> 67cee57 
>   
> lens-server/src/test/java/org/apache/lens/server/metastore/TestDatabaseService.java
>  PRE-CREATION 
>   
> lens-server/src/test/java/org/apache/lens/server/session/TestDatabaseResourceService.java
>  2bc3712 
>   lens-server/src/test/resources/lens-site.xml d96659f 
> 
> Diff: https://reviews.apache.org/r/51964/diff/
> 
> 
> Testing
> ---
> 
> mvn clean install.
> 
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Lens Checkstyle Rules . SUCCESS [3.302s]
> [INFO] Lens .. SUCCESS [7.286s]
> [INFO] Lens API .. SUCCESS [31.546s]
> [INFO] Lens API for server and extensions  SUCCESS [25.681s]
> [INFO] Lens Cube . SUCCESS 
> [17:55.255s]
> [INFO] Lens DB storage ... SUCCESS [25.650s]
> [INFO] Lens Query Library  SUCCESS [21.646s]
> [INFO] Lens Hive Driver .. SUCCESS [2:11.167s]
> [INFO] Lens Driver for JDBC .. SUCCESS [1:03.464s]
> [INFO] Lens Elastic Search Driver  SUCCESS [54.798s]
> [INFO] Lens Server ... SUCCESS 
> [18:19.588s]
> [INFO] Lens client ... SUCCESS [2:02.590s]
> [INFO] Lens CLI .. SUCCESS [1:54.985s]
> [INFO] Lens Examples . SUCCESS [13.790s]
> [INFO] Lens Ship Jars to Distributed Cache ... SUCCESS [2.061s]
> [INFO] Lens Distribution . SUCCESS [24.869s]
> [INFO] Lens ML Lib ... SUCCESS [1:54.426s]
> [INFO] Lens ML Ext Distribution .. SUCCESS [11.053s]
> [INFO] Lens Regression ... SUCCESS [20.677s]
> [INFO] Lens UI

[jira] [Commented] (LENS-1360) org.apache.lens.driver.jdbc.TestJdbcDriver#testCancelQuery failing in pre-commit

2016-10-25 Thread Hudson (JIRA)

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

Hudson commented on LENS-1360:
--

SUCCESS: Integrated in Jenkins build Lens-Commit-Java8 #282 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/282/])
LENS-1360 : org.apache.lens.driver.jdbc.TestJdbcDriver#testCancelQuery 
(sushilmohanty: rev 547a42f33caa7669fe54509e6e4dac108e904a61)
* (edit) 
lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/JDBCDriver.java
* (add) lens-driver-jdbc/src/test/resources/logback.xml
* (edit) 
lens-driver-jdbc/src/test/java/org/apache/lens/driver/jdbc/TestJdbcDriver.java


> org.apache.lens.driver.jdbc.TestJdbcDriver#testCancelQuery failing in 
> pre-commit 
> -
>
> Key: LENS-1360
> URL: https://issues.apache.org/jira/browse/LENS-1360
> Project: Apache Lens
>  Issue Type: Task
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-1360.02.patch, LENS-1360.03.patch, 
> LENS-1360.04.patch, LENS-1360.05.patch, LENS-1360.logging.patch, 
> LENS-1360.logging.patch
>
>




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


[jira] [Commented] (LENS-1327) Handle Data delay for scheduled jobs

2016-10-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1327:
-

Applied patch: 
[0001-data-delay.patch|https://issues.apache.org/jira/secure/attachment/12834621/0001-data-delay.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/1134/

> Handle Data delay for scheduled jobs
> 
>
> Key: LENS-1327
> URL: https://issues.apache.org/jira/browse/LENS-1327
> Project: Apache Lens
>  Issue Type: Sub-task
>Reporter: Lavkesh Lahngir
>Assignee: Lavkesh Lahngir
> Attachments: 0001-Data-dealy.patch, 0001-data-delay.patch, 
> data-delay.patch, data-delay.patch, data-delay.patch
>
>




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


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

2016-10-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1359:
-

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

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




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


[jira] [Commented] (LENS-1360) org.apache.lens.driver.jdbc.TestJdbcDriver#testCancelQuery failing in pre-commit

2016-10-25 Thread Sushil Mohanty (JIRA)

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

Sushil Mohanty commented on LENS-1360:
--

+1

> org.apache.lens.driver.jdbc.TestJdbcDriver#testCancelQuery failing in 
> pre-commit 
> -
>
> Key: LENS-1360
> URL: https://issues.apache.org/jira/browse/LENS-1360
> Project: Apache Lens
>  Issue Type: Task
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-1360.02.patch, LENS-1360.03.patch, 
> LENS-1360.04.patch, LENS-1360.05.patch, LENS-1360.logging.patch, 
> LENS-1360.logging.patch
>
>




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


[jira] [Commented] (LENS-1360) org.apache.lens.driver.jdbc.TestJdbcDriver#testCancelQuery failing in pre-commit

2016-10-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on LENS-1360:
---

I propose we commit the changes in LENS-1360.logging.patch, so that next 
failure we can analyze with logs.

> org.apache.lens.driver.jdbc.TestJdbcDriver#testCancelQuery failing in 
> pre-commit 
> -
>
> Key: LENS-1360
> URL: https://issues.apache.org/jira/browse/LENS-1360
> Project: Apache Lens
>  Issue Type: Task
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Attachments: LENS-1360.02.patch, LENS-1360.03.patch, 
> LENS-1360.04.patch, LENS-1360.05.patch, LENS-1360.logging.patch, 
> LENS-1360.logging.patch
>
>




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


[jira] [Created] (LENS-1369) Druid rewriter is excluding both "from" and "to" date of lens query

2016-10-25 Thread Archana H (JIRA)
Archana H created LENS-1369:
---

 Summary: Druid rewriter is excluding both "from" and "to" date of 
lens query
 Key: LENS-1369
 URL: https://issues.apache.org/jira/browse/LENS-1369
 Project: Apache Lens
  Issue Type: Bug
  Components: driver-jdbc
Reporter: Archana H
Assignee: Rajitha R






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


[jira] [Created] (LENS-1368) Having query is failing for druid driver

2016-10-25 Thread Archana H (JIRA)
Archana H created LENS-1368:
---

 Summary: Having query is failing for druid driver
 Key: LENS-1368
 URL: https://issues.apache.org/jira/browse/LENS-1368
 Project: Apache Lens
  Issue Type: Bug
Reporter: Archana H
Assignee: Rajitha R






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


[jira] [Created] (LENS-1367) Order by queries are failing for druid driver

2016-10-25 Thread Archana H (JIRA)
Archana H created LENS-1367:
---

 Summary: Order by queries are failing for druid driver 
 Key: LENS-1367
 URL: https://issues.apache.org/jira/browse/LENS-1367
 Project: Apache Lens
  Issue Type: Bug
  Components: driver-jdbc
Reporter: Archana H
Assignee: Rajitha R


10 Oct 2016 09:53:48 [d16ec217-620a-44da-8f42-55a2df1a2483] 
[lens-driver-jdbc-10] ERROR org.apache.lens.driver.jdbc.JDBCDriver - Error 
executing SQL query: d16ec217-620a-44da-8f42-55a2df1a2483 reason: Something 
broke
java.sql.SQLException: Something broke
at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:695) 
~[mysql-connector-java-6.0.2.jar:6.0.2]
at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:663) 
~[mysql-connector-java-6.0.2.jar:6.0.2]
at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:653) 
~[mysql-connector-java-6.0.2.jar:6.0.2]
at 
com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:108)
 ~[mysql-connector-java-6.0.2.jar:6.0.2]
at com.mysql.cj.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2061) 
~[mysql-connector-java-6.0.2.jar:6.0.2]
at com.mysql.cj.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2014) 
~[mysql-connector-java-6.0.2.jar:6.0.2]
at 
com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:886) 
~[mysql-connector-java-6.0.2.jar:6.0.2]
at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:785) 
~[mysql-connector-java-6.0.2.jar:6.0.2]
at 
com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:223) 
~[c3p0-0.9.5.jar:0.9.5]
at 
org.apache.lens.driver.jdbc.JDBCDriver$QueryCallable.call(JDBCDriver.java:291) 
[lens-driver-jdbc-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at 
org.apache.lens.driver.jdbc.JDBCDriver$QueryCallable.call(JDBCDriver.java:249) 
[lens-driver-jdbc-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
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]



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