[jira] [Updated] (LENS-1239) Seeing org.apache.lens.server.query.* failures in some jenkins builds

2016-07-26 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1239:
--
Attachment: LENS-1239.2.patch

Have seen one more failure in local build :

org.apache.lens.server.query.TestQueryConstraints.setupTest (from TestSuite)

Error Message

Could not recover from persisted state
Stacktrace
{noformat}
java.lang.RuntimeException: Could not recover from persisted state
at 
org.apache.lens.server.api.query.DriverSelectorQueryContext.setDriverQuery(DriverSelectorQueryContext.java:175)
at 
org.apache.lens.server.api.query.AbstractQueryContext.setDriverQuery(AbstractQueryContext.java:450)
at 
org.apache.lens.server.query.QueryExecutionServiceImpl.readExternal(QueryExecutionServiceImpl.java:2843)
at 
org.apache.lens.server.LensServices.setupPersistedState(LensServices.java:337)
at org.apache.lens.server.LensServices.init(LensServices.java:270)
at 
org.apache.lens.server.LensJerseyTest.restartLensServer(LensJerseyTest.java:251)
at 
org.apache.lens.server.LensJerseyTest.restartLensServer(LensJerseyTest.java:237)
at 
org.apache.lens.server.query.TestQueryConstraints.setupTest(TestQueryConstraints.java:103)
{noformat}

{noformat}
27 Jul 2016 05:22:39 [1e2a0510-c844-4c46-9e7b-a115259b36ec] [main] ERROR 
org.apache.lens.server.LensServices - Could not recover from persisted state
java.lang.NullPointerException: null
at 
org.apache.lens.server.api.query.DriverSelectorQueryContext.setDriverQuery(DriverSelectorQueryContext.java:175)
 ~[lens-server-api-2.6.0-beta-SNAPSHOT.jar:2.6.0-beta-SNAPSHOT]
at 
org.apache.lens.server.api.query.AbstractQueryContext.setDriverQuery(AbstractQueryContext.java:450)
 ~[lens-server-api-2.6.0-beta-SNAPSHOT.jar:2.6.0-beta-SNAPSHOT]
at 
org.apache.lens.server.query.QueryExecutionServiceImpl.readExternal(QueryExecutionServiceImpl.java:2843)
 ~[classes/:na]

{noformat}
Updated patch fixed the failure.

> Seeing org.apache.lens.server.query.* failures in some jenkins builds
> -
>
> Key: LENS-1239
> URL: https://issues.apache.org/jira/browse/LENS-1239
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1239.2.patch, LENS-1239.patch
>
>
> For example https://builds.apache.org/job/PreCommit-Lens-Build/739/ has 21 
> failed tests :
> Test Result (21 failures / +20)
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainRuntimeException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainRuntimeException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainWebappException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainWebappException
> org.apache.lens.server.query.TestQueryEndEmailNotifier.testLaunchFailure
> org.apache.lens.server.query.TestQueryEndEmailNotifier.testLaunchFailure
> org.apache.lens.server.query.TestQueryService.testEstimateGauges
> org.apache.lens.server.query.TestQueryService.testEstimateGauges
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testHiveSemanticFailure
> org.apache.lens.server.query.TestQueryService.testHiveSemanticFailure
> org.apache.lens.server.query.TestQueryService.testLaunchFail
> org.apache.lens.server.query.TestQueryService.testLaunchFail
> org.apache.lens.server.query.TestQueryService.testLoadingMultipleDrivers
> org.apache.lens.server.query.TestQueryService.testMultipleLaunches
> org.apache.lens.server.query.TestQueryService.testMultipleLaunches
> org.apache.lens.server.query.TestQueryService.testPriorityOnMockQuery



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


Re: Review Request 50483: LENS-1239 : Fix test failures because of restarts in test cases

2016-07-26 Thread Rajat Khandelwal

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


Ship it!




Ship It!

- Rajat Khandelwal


On July 27, 2016, 11:24 a.m., Amareshwari Sriramadasu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50483/
> ---
> 
> (Updated July 27, 2016, 11:24 a.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: LENS-1239
> https://issues.apache.org/jira/browse/LENS-1239
> 
> 
> Repository: lens
> 
> 
> Description
> ---
> 
> Failures are because server has come up only with hive drivers and no jdbc 
> and mock failing drivers. LensJerseyTest.getServerConf() constructs conf with 
> overwrites from subclasses. If subclasses over-write the conf - 
> TestQueryIndependenceFromSessionClose does right now, and if BeforeSuite's 
> setup picks conf from that class, we are seeing failures.
> 
> Updated the test classes with proper calls to restart with correct config.
> 
> 
> Diffs
> -
> 
>   
> lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java
>  4df2b9b 
>   lens-server/src/test/java/org/apache/lens/server/LensJerseyTest.java 
> a2e 
>   lens-server/src/test/java/org/apache/lens/server/LensServerTestUtil.java 
> b651b79 
>   lens-server/src/test/java/org/apache/lens/server/TestServerRestart.java 
> bb57614 
>   
> lens-server/src/test/java/org/apache/lens/server/query/TestDuplicateQueries.java
>  3e9ddb8 
>   
> lens-server/src/test/java/org/apache/lens/server/query/TestQueryConstraints.java
>  8be1f89 
>   
> lens-server/src/test/java/org/apache/lens/server/query/TestQueryIndependenceFromSessionClose.java
>  d723596 
>   
> lens-server/src/test/java/org/apache/lens/server/session/TestSessionResource.java
>  33791ea 
> 
> Diff: https://reviews.apache.org/r/50483/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Amareshwari Sriramadasu
> 
>



Re: Review Request 50483: LENS-1239 : Fix test failures because of restarts in test cases

2016-07-26 Thread Amareshwari Sriramadasu

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

(Updated July 27, 2016, 5:54 a.m.)


Review request for lens.


Changes
---

Have seen one more failure in local build :

org.apache.lens.server.query.TestQueryConstraints.setupTest (from TestSuite)

Error Message

Could not recover from persisted state
Stacktrace

java.lang.RuntimeException: Could not recover from persisted state
at 
org.apache.lens.server.api.query.DriverSelectorQueryContext.setDriverQuery(DriverSelectorQueryContext.java:175)
at 
org.apache.lens.server.api.query.AbstractQueryContext.setDriverQuery(AbstractQueryContext.java:450)
at 
org.apache.lens.server.query.QueryExecutionServiceImpl.readExternal(QueryExecutionServiceImpl.java:2843)
at 
org.apache.lens.server.LensServices.setupPersistedState(LensServices.java:337)
at org.apache.lens.server.LensServices.init(LensServices.java:270)
at 
org.apache.lens.server.LensJerseyTest.restartLensServer(LensJerseyTest.java:251)
at 
org.apache.lens.server.LensJerseyTest.restartLensServer(LensJerseyTest.java:237)
at 
org.apache.lens.server.query.TestQueryConstraints.setupTest(TestQueryConstraints.java:103)

27 Jul 2016 05:22:39 [1e2a0510-c844-4c46-9e7b-a115259b36ec] [main] ERROR 
org.apache.lens.server.LensServices - Could not recover from persisted state
java.lang.NullPointerException: null
at 
org.apache.lens.server.api.query.DriverSelectorQueryContext.setDriverQuery(DriverSelectorQueryContext.java:175)
 ~[lens-server-api-2.6.0-beta-SNAPSHOT.jar:2.6.0-beta-SNAPSHOT]
at 
org.apache.lens.server.api.query.AbstractQueryContext.setDriverQuery(AbstractQueryContext.java:450)
 ~[lens-server-api-2.6.0-beta-SNAPSHOT.jar:2.6.0-beta-SNAPSHOT]
at 
org.apache.lens.server.query.QueryExecutionServiceImpl.readExternal(QueryExecutionServiceImpl.java:2843)
 ~[classes/:na]

Updated patch fixed the failure.


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


Repository: lens


Description
---

Failures are because server has come up only with hive drivers and no jdbc and 
mock failing drivers. LensJerseyTest.getServerConf() constructs conf with 
overwrites from subclasses. If subclasses over-write the conf - 
TestQueryIndependenceFromSessionClose does right now, and if BeforeSuite's 
setup picks conf from that class, we are seeing failures.

Updated the test classes with proper calls to restart with correct config.


Diffs (updated)
-

  
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java
 4df2b9b 
  lens-server/src/test/java/org/apache/lens/server/LensJerseyTest.java a2e 
  lens-server/src/test/java/org/apache/lens/server/LensServerTestUtil.java 
b651b79 
  lens-server/src/test/java/org/apache/lens/server/TestServerRestart.java 
bb57614 
  
lens-server/src/test/java/org/apache/lens/server/query/TestDuplicateQueries.java
 3e9ddb8 
  
lens-server/src/test/java/org/apache/lens/server/query/TestQueryConstraints.java
 8be1f89 
  
lens-server/src/test/java/org/apache/lens/server/query/TestQueryIndependenceFromSessionClose.java
 d723596 
  
lens-server/src/test/java/org/apache/lens/server/session/TestSessionResource.java
 33791ea 

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


Testing
---


Thanks,

Amareshwari Sriramadasu



[jira] [Commented] (LENS-1239) Seeing org.apache.lens.server.query.* failures in some jenkins builds

2016-07-26 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1239:
-

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

> Seeing org.apache.lens.server.query.* failures in some jenkins builds
> -
>
> Key: LENS-1239
> URL: https://issues.apache.org/jira/browse/LENS-1239
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1239.patch
>
>
> For example https://builds.apache.org/job/PreCommit-Lens-Build/739/ has 21 
> failed tests :
> Test Result (21 failures / +20)
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainRuntimeException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainRuntimeException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainWebappException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainWebappException
> org.apache.lens.server.query.TestQueryEndEmailNotifier.testLaunchFailure
> org.apache.lens.server.query.TestQueryEndEmailNotifier.testLaunchFailure
> org.apache.lens.server.query.TestQueryService.testEstimateGauges
> org.apache.lens.server.query.TestQueryService.testEstimateGauges
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testHiveSemanticFailure
> org.apache.lens.server.query.TestQueryService.testHiveSemanticFailure
> org.apache.lens.server.query.TestQueryService.testLaunchFail
> org.apache.lens.server.query.TestQueryService.testLaunchFail
> org.apache.lens.server.query.TestQueryService.testLoadingMultipleDrivers
> org.apache.lens.server.query.TestQueryService.testMultipleLaunches
> org.apache.lens.server.query.TestQueryService.testMultipleLaunches
> org.apache.lens.server.query.TestQueryService.testPriorityOnMockQuery



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


[jira] [Updated] (LENS-1239) Seeing org.apache.lens.server.query.* failures in some jenkins builds

2016-07-26 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1239:
--
Status: Patch Available  (was: Open)

> Seeing org.apache.lens.server.query.* failures in some jenkins builds
> -
>
> Key: LENS-1239
> URL: https://issues.apache.org/jira/browse/LENS-1239
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1239.patch
>
>
> For example https://builds.apache.org/job/PreCommit-Lens-Build/739/ has 21 
> failed tests :
> Test Result (21 failures / +20)
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainRuntimeException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainRuntimeException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainWebappException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainWebappException
> org.apache.lens.server.query.TestQueryEndEmailNotifier.testLaunchFailure
> org.apache.lens.server.query.TestQueryEndEmailNotifier.testLaunchFailure
> org.apache.lens.server.query.TestQueryService.testEstimateGauges
> org.apache.lens.server.query.TestQueryService.testEstimateGauges
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testHiveSemanticFailure
> org.apache.lens.server.query.TestQueryService.testHiveSemanticFailure
> org.apache.lens.server.query.TestQueryService.testLaunchFail
> org.apache.lens.server.query.TestQueryService.testLaunchFail
> org.apache.lens.server.query.TestQueryService.testLoadingMultipleDrivers
> org.apache.lens.server.query.TestQueryService.testMultipleLaunches
> org.apache.lens.server.query.TestQueryService.testMultipleLaunches
> org.apache.lens.server.query.TestQueryService.testPriorityOnMockQuery



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


[jira] [Updated] (LENS-1239) Seeing org.apache.lens.server.query.* failures in some jenkins builds

2016-07-26 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-1239:
--
Attachment: LENS-1239.patch

Patch with changes. Review request - https://reviews.apache.org/r/50483

> Seeing org.apache.lens.server.query.* failures in some jenkins builds
> -
>
> Key: LENS-1239
> URL: https://issues.apache.org/jira/browse/LENS-1239
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-1239.patch
>
>
> For example https://builds.apache.org/job/PreCommit-Lens-Build/739/ has 21 
> failed tests :
> Test Result (21 failures / +20)
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainRuntimeException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainRuntimeException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainWebappException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainWebappException
> org.apache.lens.server.query.TestQueryEndEmailNotifier.testLaunchFailure
> org.apache.lens.server.query.TestQueryEndEmailNotifier.testLaunchFailure
> org.apache.lens.server.query.TestQueryService.testEstimateGauges
> org.apache.lens.server.query.TestQueryService.testEstimateGauges
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testHiveSemanticFailure
> org.apache.lens.server.query.TestQueryService.testHiveSemanticFailure
> org.apache.lens.server.query.TestQueryService.testLaunchFail
> org.apache.lens.server.query.TestQueryService.testLaunchFail
> org.apache.lens.server.query.TestQueryService.testLoadingMultipleDrivers
> org.apache.lens.server.query.TestQueryService.testMultipleLaunches
> org.apache.lens.server.query.TestQueryService.testMultipleLaunches
> org.apache.lens.server.query.TestQueryService.testPriorityOnMockQuery



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


Review Request 50483: Fix test failure because restarts in test cases

2016-07-26 Thread Amareshwari Sriramadasu

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

Review request for lens.


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


Repository: lens


Description
---

Failures are because server has come up only with hive drivers and no jdbc and 
mock failing drivers. LensJerseyTest.getServerConf() constructs conf with 
overwrites from subclasses. If subclasses over-write the conf - 
TestQueryIndependenceFromSessionClose does right now, and if BeforeSuite's 
setup picks conf from that class, we are seeing failures.

Updated the test classes with proper calls to restart with correct config.


Diffs
-

  lens-server/src/test/java/org/apache/lens/server/LensJerseyTest.java a2e 
  lens-server/src/test/java/org/apache/lens/server/LensServerTestUtil.java 
b651b79 
  lens-server/src/test/java/org/apache/lens/server/TestServerRestart.java 
bb57614 
  
lens-server/src/test/java/org/apache/lens/server/query/TestDuplicateQueries.java
 3e9ddb8 
  
lens-server/src/test/java/org/apache/lens/server/query/TestQueryConstraints.java
 8be1f89 
  
lens-server/src/test/java/org/apache/lens/server/query/TestQueryIndependenceFromSessionClose.java
 d723596 
  
lens-server/src/test/java/org/apache/lens/server/session/TestSessionResource.java
 33791ea 

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


Testing
---


Thanks,

Amareshwari Sriramadasu



Re: Review Request 50483: LENS-1239 : Fix test failures because of restarts in test cases

2016-07-26 Thread Amareshwari Sriramadasu

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

(Updated July 27, 2016, 5:02 a.m.)


Review request for lens.


Summary (updated)
-

LENS-1239 : Fix test failures because of restarts in test cases


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


Repository: lens


Description
---

Failures are because server has come up only with hive drivers and no jdbc and 
mock failing drivers. LensJerseyTest.getServerConf() constructs conf with 
overwrites from subclasses. If subclasses over-write the conf - 
TestQueryIndependenceFromSessionClose does right now, and if BeforeSuite's 
setup picks conf from that class, we are seeing failures.

Updated the test classes with proper calls to restart with correct config.


Diffs
-

  lens-server/src/test/java/org/apache/lens/server/LensJerseyTest.java a2e 
  lens-server/src/test/java/org/apache/lens/server/LensServerTestUtil.java 
b651b79 
  lens-server/src/test/java/org/apache/lens/server/TestServerRestart.java 
bb57614 
  
lens-server/src/test/java/org/apache/lens/server/query/TestDuplicateQueries.java
 3e9ddb8 
  
lens-server/src/test/java/org/apache/lens/server/query/TestQueryConstraints.java
 8be1f89 
  
lens-server/src/test/java/org/apache/lens/server/query/TestQueryIndependenceFromSessionClose.java
 d723596 
  
lens-server/src/test/java/org/apache/lens/server/session/TestSessionResource.java
 33791ea 

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


Testing
---


Thanks,

Amareshwari Sriramadasu



[jira] [Commented] (LENS-1239) Seeing org.apache.lens.server.query.* failures in some jenkins builds

2016-07-26 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on LENS-1239:
---

The following failure logs are helpful in debugging :

java.lang.AssertionError: expected [4] but found [2]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:370)
at org.testng.Assert.assertEquals(Assert.java:380)
at 
org.apache.lens.server.query.TestQueryService.testLoadingMultipleDrivers(TestQueryService.java:240)

[gc.PS-MarkSweep.count, gc.PS-MarkSweep.time, gc.PS-Scavenge.count, 
gc.PS-Scavenge.time, jvm.name, jvm.uptime, jvm.vendor, 
lens.MethodMetricGauge.TestQueryService-testEstimateGaugesxml-DRIVER_SELECTION, 
lens.MethodMetricGauge.TestQueryService-testEstimateGaugesxml-PARALLEL_ESTIMATE,
 
lens.MethodMetricGauge.TestQueryService-testEstimateGaugesxml-hive/hive1-CUBE_REWRITE,
 
lens.MethodMetricGauge.TestQueryService-testEstimateGaugesxml-hive/hive1-DRIVER_ESTIMATE,
 
lens.MethodMetricGauge.TestQueryService-testEstimateGaugesxml-hive/hive1-RewriteUtil-rewriteQuery,
 
lens.MethodMetricGauge.TestQueryService-testEstimateGaugesxml-hive/hive1-driverEstimate,
 
lens.MethodMetricGauge.TestQueryService-testEstimateGaugesxml-hive/hive2-CUBE_REWRITE,
 
lens.MethodMetricGauge.TestQueryService-testEstimateGaugesxml-hive/hive2-DRIVER_ESTIMATE,
 
lens.MethodMetricGauge.TestQueryService-testEstimateGaugesxml-hive/hive2-RewriteUtil-rewriteQuery,
 
lens.MethodMetricGauge.TestQueryService-testEstimateGaugesxml-hive/hive2-driverEstimate,
 memory.heap.committed, memory.heap.init, memory.heap.max, memory.heap.usage, 
memory.heap.used, memory.non-heap.committed, memory.non-heap.init, 
memory.non-heap.max, memory.non-heap.usage, memory.non-heap.used, 
memory.pools.Code-Cache.usage, memory.pools.Compressed-Class-Space.usage, 
memory.pools.Metaspace.usage, memory.pools.PS-Eden-Space.usage, 
memory.pools.PS-Old-Gen.usage, memory.pools.PS-Survivor-Space.usage, 
memory.total.committed, memory.total.init, memory.total.max, memory.total.used, 
org.apache.lens.server.api.query.QueryExecutionService.finished-queries, 
org.apache.lens.server.api.query.QueryExecutionService.launching-queries, 
org.apache.lens.server.api.query.QueryExecutionService.queued-queries, 
org.apache.lens.server.api.query.QueryExecutionService.running-queries, 
org.apache.lens.server.api.query.QueryExecutionService.waiting-queries, 
org.apache.lens.server.api.session.SessionService.active-sessions, 
threads.blocked.count, threads.count, threads.daemon.count, 
threads.deadlock.count, threads.deadlocks, threads.new.count, 
threads.runnable.count, threads.terminated.count, threads.timed_waiting.count, 
threads.waiting.count] expected [true] but found [false]


> Seeing org.apache.lens.server.query.* failures in some jenkins builds
> -
>
> Key: LENS-1239
> URL: https://issues.apache.org/jira/browse/LENS-1239
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
>
> For example https://builds.apache.org/job/PreCommit-Lens-Build/739/ has 21 
> failed tests :
> Test Result (21 failures / +20)
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainRuntimeException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainRuntimeException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainWebappException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainWebappException
> org.apache.lens.server.query.TestQueryEndEmailNotifier.testLaunchFailure
> org.apache.lens.server.query.TestQueryEndEmailNotifier.testLaunchFailure
> org.apache.lens.server.query.TestQueryService.testEstimateGauges
> org.apache.lens.server.query.TestQueryService.testEstimateGauges
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testHiveSemanticFailure
> org.apache.lens.server.query.TestQueryService.testHiveSemanticFailure
> org.apache.lens.server.query.TestQueryService.testLaunchFail
> 

[jira] [Commented] (LENS-1239) Seeing org.apache.lens.server.query.* failures in some jenkins builds

2016-07-26 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on LENS-1239:
---

Failures are because server has come up only with hive drivers and no jdbc and 
mock failing drivers. LensJerseyTest.getServerConf() constructs conf with 
overwrites from subclasses. If subclasses over-write the conf - 
TestQueryIndependenceFromSessionClose does right now, and if BeforeSuite's 
setup picks conf from that class, we are seeing failures.

I'm updating the test classes with proper calls to restart with correct config. 
Will put up a review request with changes.

cc [~prongs] [~puneet884] [~lavkesh] 

> Seeing org.apache.lens.server.query.* failures in some jenkins builds
> -
>
> Key: LENS-1239
> URL: https://issues.apache.org/jira/browse/LENS-1239
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
>
> For example https://builds.apache.org/job/PreCommit-Lens-Build/739/ has 21 
> failed tests :
> Test Result (21 failures / +20)
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainRuntimeException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainRuntimeException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainWebappException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainWebappException
> org.apache.lens.server.query.TestQueryEndEmailNotifier.testLaunchFailure
> org.apache.lens.server.query.TestQueryEndEmailNotifier.testLaunchFailure
> org.apache.lens.server.query.TestQueryService.testEstimateGauges
> org.apache.lens.server.query.TestQueryService.testEstimateGauges
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testHiveSemanticFailure
> org.apache.lens.server.query.TestQueryService.testHiveSemanticFailure
> org.apache.lens.server.query.TestQueryService.testLaunchFail
> org.apache.lens.server.query.TestQueryService.testLaunchFail
> org.apache.lens.server.query.TestQueryService.testLoadingMultipleDrivers
> org.apache.lens.server.query.TestQueryService.testMultipleLaunches
> org.apache.lens.server.query.TestQueryService.testMultipleLaunches
> org.apache.lens.server.query.TestQueryService.testPriorityOnMockQuery



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


[jira] [Created] (LENS-1238) Saved query validation is failing for Number datatype parameters

2016-07-26 Thread Archana H (JIRA)
Archana H created LENS-1238:
---

 Summary: Saved query validation is failing for Number datatype 
parameters
 Key: LENS-1238
 URL: https://issues.apache.org/jira/browse/LENS-1238
 Project: Apache Lens
  Issue Type: Bug
Reporter: Archana H


Query : cube select id, name from sample_db_dim where id = :value

{CODE}
931 > POST 
http://192.168.138.184:/lensapi/queryapi/savedqueries?sessionid=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22+standalone%3D%22yes%22%3F%3E%3ClensSessionHandle%3E%3CpublicId%3Ed75f7b20-d198-40f8-a250-37e1eb04f2af%3C%2FpublicId%3E%3CsecretId%3E72adf78c-5135-41c8-a5f1-6e1c3e20f96e%3C%2FsecretId%3E%3C%2FlensSessionHandle%3E
931 > accept: application/xml
931 > connection: keep-alive
931 > content-length: 248
931 > content-type: application/json
931 > host: 192.168.138.184:
931 > user-agent: Jersey/2.22.1 (HttpUrlConnection 1.8.0_91)
{"savedQuery":{"id":0,"name":"query1","description":"abc","query":"cube select 
id, name from sample_db_dim where id = 
:value","parameters":[{"name":"value","displayName":"param","defaultValue":["1"],"dataType":"NUMBER","collectionType":"SINGLE"}]}}

26 Jul 2016 17:01:35 [b17122e5-2c47-4795-885f-bb73174e29a9] 
[grizzly-http-server-2] INFO  org.apache.lens.server.LensServer.request - 931 * 
Server responded with a response on thread grizzly-http-server-2
931 < 400
931 < Content-Type: application/xml
XML invalid: Encountered while resolving with sample values { cube select id, 
name from sample_db_dim where id = 9223372036854775807 }
{CODE}




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


[jira] [Created] (LENS-1237) Saved query validation is failing for MULTIPLE collection type parameters

2016-07-26 Thread Archana H (JIRA)
Archana H created LENS-1237:
---

 Summary: Saved query validation is failing for MULTIPLE collection 
type parameters
 Key: LENS-1237
 URL: https://issues.apache.org/jira/browse/LENS-1237
 Project: Apache Lens
  Issue Type: Bug
Reporter: Archana H


Query : cube select id,name from sample_dim where name in :values

XML invalid: Encountered while resolving with sample values { cube select 
id,name from sample_dim where name in ('sample_string_val','sample_string_val')


{CODE}
894 > POST 
http://192.168.138.184:/lensapi/queryapi/savedqueries?sessionid=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22+standalone%3D%22yes%22%3F%3E%3ClensSessionHandle%3E%3CpublicId%3Ead79add0-3a59-4b67-be33-cdd5d07516fe%3C%2FpublicId%3E%3CsecretId%3E38d2eea7-cd28-4af6-bf58-dc8a617e38d4%3C%2FsecretId%3E%3C%2FlensSessionHandle%3E
894 > accept: application/xml
894 > connection: keep-alive
894 > content-length: 264
894 > content-type: application/json
894 > host: 192.168.138.184:
894 > user-agent: Jersey/2.22.1 (HttpUrlConnection 1.8.0_91)
{"savedQuery":{"id":0,"name":"query1","description":"abc","query":"cube select 
id,name from sample_dim where name in 
:values","parameters":[{"name":"values","displayName":"param","defaultValue":["first","second"],"dataType":"STRING","collectionType":"MULTIPLE"}]}}

26 Jul 2016 16:33:52 [0f6fb5d8-6a59-46eb-8023-91a4ef205a88] 
[grizzly-http-server-9] INFO  org.apache.lens.server.LensServer.request - 894 * 
Server responded with a response on thread grizzly-http-server-9
894 < 400
894 < Content-Type: application/xml
XML invalid: Encountered while resolving with sample values { cube select 
id,name from sample_dim where name in ('sample_string_val','sample_string_val') 
}
{CODE}



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


[jira] [Created] (LENS-1236) List saved queries lists all user's saved queries

2016-07-26 Thread Archana H (JIRA)
Archana H created LENS-1236:
---

 Summary: List saved queries lists all user's saved queries
 Key: LENS-1236
 URL: https://issues.apache.org/jira/browse/LENS-1236
 Project: Apache Lens
  Issue Type: Improvement
Reporter: Archana H


"GET" request on "/queryapi/savedqueries" is giving list of saved queries of 
all users, instead it would be better to list only requested user queries. 



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


[jira] [Commented] (LENS-996) Improvements in filters of query list api

2016-07-26 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-996:


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

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch, 
> LENS-996.08.patch, LENS-996.09.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


[jira] [Commented] (LENS-996) Improvements in filters of query list api

2016-07-26 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-996:
---

Taking patch from reviewboard and attaching

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch, 
> LENS-996.08.patch, LENS-996.09.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


[jira] [Updated] (LENS-996) Improvements in filters of query list api

2016-07-26 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal updated LENS-996:
--
Attachment: LENS-996.09.patch

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch, 
> LENS-996.08.patch, LENS-996.09.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


[jira] [Updated] (LENS-996) Improvements in filters of query list api

2016-07-26 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal updated LENS-996:
--
Status: Patch Available  (was: In Progress)

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch, 
> LENS-996.08.patch, LENS-996.09.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


Re: Review Request 50133: LENS-996: Improvements in filters of query list api

2016-07-26 Thread Rajat Khandelwal

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

(Updated July 26, 2016, 6:42 p.m.)


Review request for lens.


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


Repository: lens


Description
---

1. fromDate and endDate should also take human readable dates. 
DateUtil.resolveDate can be used. 
2. the status filter should be case-insensitive. 
3. (maybe) the user filter and status filter can take multiple comma separated 
values and return the union in the result.


Diffs (updated)
-

  lens-cli/src/main/java/org/apache/lens/cli/commands/LensQueryCommands.java 
af05951393e5e433fd644f20a9c23f7ba3507947 
  lens-cli/src/test/java/org/apache/lens/cli/TestLensQueryCommands.java 
0bf2a6687537b36b7987be27ad7be80d1b289f13 
  lens-client/src/main/java/org/apache/lens/client/LensClient.java 
d3ec97d6e8ac506952d1aa5e29ad0fb2c8f8f917 
  lens-client/src/main/java/org/apache/lens/client/LensStatement.java 
3cae7175229503bb90abadb7a3048b353b82e36d 
  lens-cube/src/main/java/org/apache/lens/cube/metadata/DateUtil.java 
b82cd95b5633b91e03cf1df8ac2602cb7798099a 
  lens-cube/src/test/java/org/apache/lens/cube/metadata/TestDateUtil.java 
7e239f33dccd237c9bee3732931309bb8ea62753 
  
lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryExecutionService.java
 4f4d4aa60923ab0a50a478347d26238571b692c1 
  lens-server/src/main/java/org/apache/lens/server/query/LensServerDAO.java 
1d6125c4eebb99ab3d2e392de69768deaf3b8e44 
  
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java
 4df2b9bcf22de230e8600930bcd212a6a583c249 
  
lens-server/src/main/java/org/apache/lens/server/query/QueryServiceResource.java
 803bbe3db982dc74ba2a1bdba94fc68879dcd351 
  lens-server/src/main/java/org/apache/lens/server/util/UtilityMethods.java 
42d9fe0b5470318ae60dc3137113774ad383e743 
  lens-server/src/test/java/org/apache/lens/server/query/TestLensDAO.java 
7679a068161f2d072b1f6e96d0e96109e3bd6bc9 
  lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java 
e8aa223b76b96d402ea27fd6cc2f43e52ff8199c 

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


Testing
---


Thanks,

Rajat Khandelwal



[jira] [Updated] (LENS-996) Improvements in filters of query list api

2016-07-26 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal updated LENS-996:
--
Status: Open  (was: Patch Available)

Cancelling for resubmission

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch, 
> LENS-996.08.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


[jira] [Work started] (LENS-996) Improvements in filters of query list api

2016-07-26 Thread Rajat Khandelwal (JIRA)

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

Work on LENS-996 started by Rajat Khandelwal.
-
> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch, 
> LENS-996.08.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


[jira] [Commented] (LENS-1199) NPE while closing session

2016-07-26 Thread Hudson (JIRA)

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

Hudson commented on LENS-1199:
--

FAILURE: Integrated in Lens-Commit #1304 (See 
[https://builds.apache.org/job/Lens-Commit/1304/])
LENS-1199: NPE while closing session (rajatgupta59: rev 
0debd08ca27e993990e55ce04fda795a487604bf)
* 
lens-server/src/test/java/org/apache/lens/server/session/TestSessionResource.java
* lens-server/src/main/java/org/apache/lens/server/BaseLensService.java


> NPE while closing session
> -
>
> Key: LENS-1199
> URL: https://issues.apache.org/jira/browse/LENS-1199
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Raju Bairishetti
> Fix For: 2.6
>
> Attachments: LENS-1199.patch
>
>
> Close session fails with 500.
> Seeing the following in server logs :
> {noformat}
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] INFO  
> org.apache.lens.server.BaseLensService - Closed session  encoding="UTF-8" 
> standalone="yes"?>e319efea-fd05-401a-91c9-c94ee8409dcf76942b08-b549-430f-834b-ae39514c6a91
>  for anonymous user
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] ERROR 
> org.apache.lens.server.LensRequestListener - Encountered HTTP exception
> org.glassfish.jersey.server.internal.process.MappableException: 
> java.lang.NullPointerException
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.mapTargetToRuntimeEx(AbstractJavaResourceMethodDispatcher.java:179)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.access$200(AbstractJavaResourceMethodDispatcher.java:72)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:149)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) 
> ~[jersey-server-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
>  [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
> [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
>  [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)
>  [jersey-container-grizzly2-http-2.22.1.jar:na]
> at 
> org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224) 
> [grizzly-http-server-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at 

[jira] [Commented] (LENS-1199) NPE while closing session

2016-07-26 Thread Hudson (JIRA)

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

Hudson commented on LENS-1199:
--

FAILURE: Integrated in Lens-Commit-Java8 #216 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/216/])
LENS-1199: NPE while closing session (rajatgupta59: rev 
0debd08ca27e993990e55ce04fda795a487604bf)
* 
lens-server/src/test/java/org/apache/lens/server/session/TestSessionResource.java
* lens-server/src/main/java/org/apache/lens/server/BaseLensService.java


> NPE while closing session
> -
>
> Key: LENS-1199
> URL: https://issues.apache.org/jira/browse/LENS-1199
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Raju Bairishetti
> Fix For: 2.6
>
> Attachments: LENS-1199.patch
>
>
> Close session fails with 500.
> Seeing the following in server logs :
> {noformat}
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] INFO  
> org.apache.lens.server.BaseLensService - Closed session  encoding="UTF-8" 
> standalone="yes"?>e319efea-fd05-401a-91c9-c94ee8409dcf76942b08-b549-430f-834b-ae39514c6a91
>  for anonymous user
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] ERROR 
> org.apache.lens.server.LensRequestListener - Encountered HTTP exception
> org.glassfish.jersey.server.internal.process.MappableException: 
> java.lang.NullPointerException
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.mapTargetToRuntimeEx(AbstractJavaResourceMethodDispatcher.java:179)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.access$200(AbstractJavaResourceMethodDispatcher.java:72)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:149)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) 
> ~[jersey-server-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
>  [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
> [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
>  [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)
>  [jersey-container-grizzly2-http-2.22.1.jar:na]
> at 
> org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224) 
> [grizzly-http-server-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at 

[jira] [Updated] (LENS-1199) NPE while closing session

2016-07-26 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal updated LENS-1199:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> NPE while closing session
> -
>
> Key: LENS-1199
> URL: https://issues.apache.org/jira/browse/LENS-1199
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Raju Bairishetti
> Fix For: 2.6
>
> Attachments: LENS-1199.patch
>
>
> Close session fails with 500.
> Seeing the following in server logs :
> {noformat}
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] INFO  
> org.apache.lens.server.BaseLensService - Closed session  encoding="UTF-8" 
> standalone="yes"?>e319efea-fd05-401a-91c9-c94ee8409dcf76942b08-b549-430f-834b-ae39514c6a91
>  for anonymous user
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] ERROR 
> org.apache.lens.server.LensRequestListener - Encountered HTTP exception
> org.glassfish.jersey.server.internal.process.MappableException: 
> java.lang.NullPointerException
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.mapTargetToRuntimeEx(AbstractJavaResourceMethodDispatcher.java:179)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.access$200(AbstractJavaResourceMethodDispatcher.java:72)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:149)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) 
> ~[jersey-server-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
>  [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
> [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
>  [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)
>  [jersey-container-grizzly2-http-2.22.1.jar:na]
> at 
> org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224) 
> [grizzly-http-server-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66]
> Caused by: java.lang.NullPointerException: null
> at 
> org.apache.lens.server.BaseLensService.decrementSessionCountForUser(BaseLensService.java:329)
>  ~[classes/:na]
> at 
> org.apache.lens.server.BaseLensService.closeSession(BaseLensService.java:307) 
> 

[jira] [Commented] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-26 Thread Hudson (JIRA)

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

Hudson commented on LENS-955:
-

UNSTABLE: Integrated in Lens-Commit-Java8 #215 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/215/])
LENS-955 : Fix test failure TestQueryEndEmailNotifier.testLaunchFailure 
(amareshwari: rev 1924bbb018cbb4aa7cf8c0b2cf11376a053e3b9d)
* 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java


> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-955.patch, test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Commented] (LENS-1199) NPE while closing session

2016-07-26 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1199:


Committed. Thanks [~raju.bairishetti]

> NPE while closing session
> -
>
> Key: LENS-1199
> URL: https://issues.apache.org/jira/browse/LENS-1199
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Raju Bairishetti
> Fix For: 2.6
>
> Attachments: LENS-1199.patch
>
>
> Close session fails with 500.
> Seeing the following in server logs :
> {noformat}
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] INFO  
> org.apache.lens.server.BaseLensService - Closed session  encoding="UTF-8" 
> standalone="yes"?>e319efea-fd05-401a-91c9-c94ee8409dcf76942b08-b549-430f-834b-ae39514c6a91
>  for anonymous user
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] ERROR 
> org.apache.lens.server.LensRequestListener - Encountered HTTP exception
> org.glassfish.jersey.server.internal.process.MappableException: 
> java.lang.NullPointerException
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.mapTargetToRuntimeEx(AbstractJavaResourceMethodDispatcher.java:179)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.access$200(AbstractJavaResourceMethodDispatcher.java:72)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:149)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) 
> ~[jersey-server-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
>  [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
> [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
>  [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)
>  [jersey-container-grizzly2-http-2.22.1.jar:na]
> at 
> org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224) 
> [grizzly-http-server-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66]
> Caused by: java.lang.NullPointerException: null
> at 
> org.apache.lens.server.BaseLensService.decrementSessionCountForUser(BaseLensService.java:329)
>  ~[classes/:na]
> at 
> org.apache.lens.server.BaseLensService.closeSession(BaseLensService.java:307) 

[jira] [Created] (LENS-1235) Intermittent Test Failure TestCubeRewriter.testMaxCoveringFact

2016-07-26 Thread Puneet Gupta (JIRA)
Puneet Gupta created LENS-1235:
--

 Summary: Intermittent Test Failure 
TestCubeRewriter.testMaxCoveringFact
 Key: LENS-1235
 URL: https://issues.apache.org/jira/browse/LENS-1235
 Project: Apache Lens
  Issue Type: Bug
Reporter: Puneet Gupta


Regression

org.apache.lens.cube.parse.TestCubeRewriter.testMaxCoveringFact (from TestSuite)

Failing for the past 1 build (Since Unstable#722 )
Took 15 ms.
Error Message

expected [true] but found [false]
Stacktrace

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.cube.parse.TestCubeRewriter.testMaxCoveringFact(TestCubeRewriter.java:163)
Standard Output

Configuring TestNG with: TestNG652Configurator
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.



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


[jira] [Created] (LENS-1234) Intermittent Test Failure TestEventService.testSesionHandleEvent

2016-07-26 Thread Puneet Gupta (JIRA)
Puneet Gupta created LENS-1234:
--

 Summary: Intermittent Test Failure 
TestEventService.testSesionHandleEvent 
 Key: LENS-1234
 URL: https://issues.apache.org/jira/browse/LENS-1234
 Project: Apache Lens
  Issue Type: Bug
Reporter: Puneet Gupta


Failed

org.apache.lens.server.query.TestEventService.testSesionHandleEvent (from 
TestSuite)

Failing for the past 1 build (Since Unstable#736 )
Took 9 ms.
Error Message

expected [true] but found [false]
Stacktrace

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.server.query.TestEventService.testSesionHandleEvent(TestEventService.java:379)
Standard Output

26 Jul 2016 06:21:05 [5605c2b6-82ce-4d18-8a1f-bbd6e34fd514] 
[LogStatisticsStore_AsyncThread-1] INFO  
org.apache.lens.server.stats.event.query.QueryExecutionStatistics - 
{"eventTime":1469514065970,"submissionTime":0,"startTime":0,"endTime":0,"eventId":"queryExecutionStatistics"}
26 Jul 2016 06:21:05 [logid] [main] INFO  
org.apache.lens.server.query.TestEventService - Sending session opened  event: 
SessionOpened(super=SessionEvent(sessionHandle=7161bdbb-e78e-44b8-8bce-eaf03cd33b92b8cb4af7-fe48-470a-89da-124dde5ea26d,
 id=9d0274a6-12e7-4c2d-bcb3-f8cf332ed4af), user=user)
26 Jul 2016 06:21:05 [logid] [main] INFO  
org.apache.lens.server.query.TestEventService - Sending session restored event: 
SessionRestored(super=SessionEvent(sessionHandle=7161bdbb-e78e-44b8-8bce-eaf03cd33b92b8cb4af7-fe48-470a-89da-124dde5ea26d,
 id=4b43c5aa-fdf3-49a5-b3bf-29c33f44e628))
26 Jul 2016 06:21:05 [5605c2b6-82ce-4d18-8a1f-bbd6e34fd514] 
[GenericEventListener_AsyncThread-1] INFO  
org.apache.lens.server.query.TestEventService - LensEvent: TEST_EVENT
26 Jul 2016 06:21:05 [5605c2b6-82ce-4d18-8a1f-bbd6e34fd514] 
[GenericEventListener_AsyncThread-1] INFO  
org.apache.lens.server.query.TestEventService - LensEvent: 
56eef420-08f9-4aa1-9c00-55e105772b3c
26 Jul 2016 06:21:05 [5605c2b6-82ce-4d18-8a1f-bbd6e34fd514] 
[GenericEventListener_AsyncThread-1] INFO  
org.apache.lens.server.query.TestEventService - LensEvent: 
queryExecutionStatistics
26 Jul 2016 06:21:05 [fdb6b23f-a94e-4591-a4ee-e1f83ce144d2] 
[Event_Service_Thread-10] INFO  org.apache.lens.server.query.TestEventService - 
Session opened: SessionOpened(super=SessionEvent(sessionHandle=7161bdbb-e78e-44b8-8bce-eaf03cd33b92b8cb4af7-fe48-470a-89da-124dde5ea26d,
 id=9d0274a6-12e7-4c2d-bcb3-f8cf332ed4af), user=user)
26 Jul 2016 06:21:05 [fdb6b23f-a94e-4591-a4ee-e1f83ce144d2] 
[Event_Service_Thread-10] INFO  org.apache.lens.server.query.TestEventService - 
Session restored: SessionRestored(super=SessionEvent(sessionHandle=7161bdbb-e78e-44b8-8bce-eaf03cd33b92b8cb4af7-fe48-470a-89da-124dde5ea26d,
 id=4b43c5aa-fdf3-49a5-b3bf-29c33f44e628))
26 Jul 2016 06:21:05 [5605c2b6-82ce-4d18-8a1f-bbd6e34fd514] 
[GenericEventListener_AsyncThread-1] INFO  
org.apache.lens.server.query.TestEventService - LensEvent: 
9d0274a6-12e7-4c2d-bcb3-f8cf332ed4af
26 Jul 2016 06:21:05 [5605c2b6-82ce-4d18-8a1f-bbd6e34fd514] 
[GenericEventListener_AsyncThread-1] INFO  
org.apache.lens.server.query.TestEventService - LensEvent: 
4b43c5aa-fdf3-49a5-b3bf-29c33f44e628



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


[jira] [Commented] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-26 Thread Hudson (JIRA)

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

Hudson commented on LENS-955:
-

FAILURE: Integrated in Lens-Commit #1303 (See 
[https://builds.apache.org/job/Lens-Commit/1303/])
LENS-955 : Fix test failure TestQueryEndEmailNotifier.testLaunchFailure 
(amareshwari: rev 1924bbb018cbb4aa7cf8c0b2cf11376a053e3b9d)
* 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java


> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-955.patch, test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Updated] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-26 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-955:
-
Resolution: Fixed
Status: Resolved  (was: Patch Available)

Committed.

> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-955.patch, test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Commented] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-26 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-955:


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

> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-955.patch, test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Commented] (LENS-1178) lens-cli tests broken in master

2016-07-26 Thread Rajat Khandelwal (JIRA)

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

Rajat Khandelwal commented on LENS-1178:


Generally doesn't fail on jenkins. But while running from IDE, almost always 
fails. Pasting from IDE log:


{noformat}


@@ RESULT test_dim.id   test_dim.name   
Result available in memory, attaching here: 

1   first   
1 rows processed in (0) seconds.


java.lang.AssertionError: expected [true] but found [false]
Expected :true
Actual   :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:485)
at 
org.apache.lens.cli.TestLensQueryCommands.showPersistentResultSet(TestLensQueryCommands.java:474)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at 
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1198)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1123)
at org.testng.TestNG.run(TestNG.java:1031)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:122)


{noformat}

> lens-cli tests broken in master
> ---
>
> Key: LENS-1178
> URL: https://issues.apache.org/jira/browse/LENS-1178
> Project: Apache Lens
>  Issue Type: Bug
>Affects Versions: 2.6
>Reporter: Rajat Khandelwal
>Assignee: Puneet Gupta
> Fix For: 2.6
>
>
> https://builds.apache.org/job/PreCommit-Lens-Build/555/



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


[jira] [Commented] (LENS-1232) Update server stop to take thread dump always

2016-07-26 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1232:
-

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

> Update server stop to take thread dump always
> -
>
> Key: LENS-1232
> URL: https://issues.apache.org/jira/browse/LENS-1232
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: build
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
>Priority: Minor
> Fix For: 2.6
>
> Attachments: LENS-1232.patch
>
>




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


[jira] [Commented] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-26 Thread Puneet Gupta (JIRA)

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

Puneet Gupta commented on LENS-955:
---

+1 for the patch. Submit operation should be synchronizes and query launch 
should not be attempted while submit has still not finished

> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-955.patch, test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Comment Edited] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-26 Thread Puneet Gupta (JIRA)

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

Puneet Gupta edited comment on LENS-955 at 7/26/16 6:53 AM:


+1 for the patch. Submit operation should be synchronized and query launch 
should not be attempted while submit has still not finished


was (Author: puneet884):
+1 for the patch. Submit operation should be synchronizes and query launch 
should not be attempted while submit has still not finished

> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-955.patch, test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Commented] (LENS-996) Improvements in filters of query list api

2016-07-26 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-996:


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

> Improvements in filters of query list api
> -
>
> Key: LENS-996
> URL: https://issues.apache.org/jira/browse/LENS-996
> Project: Apache Lens
>  Issue Type: Improvement
>  Components: server
>Reporter: Rajat Khandelwal
>Assignee: Rajat Khandelwal
> Fix For: 2.6
>
> Attachments: LENS-996.04.patch, LENS-996.06.patch, LENS-996.07.patch, 
> LENS-996.08.patch
>
>
> 1. fromDate and endDate should also take human readable dates. 
> DateUtil.resolveDate can be used. 
> 2. the status filter should be case-insensitive. 
> 3. (maybe) the user filter and status filter can take multiple comma 
> separated values and return the union in the result. 



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


[jira] [Commented] (LENS-1199) NPE while closing session

2016-07-26 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-1199:
-

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

> NPE while closing session
> -
>
> Key: LENS-1199
> URL: https://issues.apache.org/jira/browse/LENS-1199
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server
>Affects Versions: 2.6
>Reporter: Amareshwari Sriramadasu
>Assignee: Raju Bairishetti
> Fix For: 2.6
>
> Attachments: LENS-1199.patch
>
>
> Close session fails with 500.
> Seeing the following in server logs :
> {noformat}
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] INFO  
> org.apache.lens.server.BaseLensService - Closed session  encoding="UTF-8" 
> standalone="yes"?>e319efea-fd05-401a-91c9-c94ee8409dcf76942b08-b549-430f-834b-ae39514c6a91
>  for anonymous user
> 23 Jun 2016 05:55:01 [9217270f-8cf1-43dd-add4-64d604bebb65] 
> [e319efea-fd05-401a-91c9-c94ee8409dcf grizzly-http-server-1] ERROR 
> org.apache.lens.server.LensRequestListener - Encountered HTTP exception
> org.glassfish.jersey.server.internal.process.MappableException: 
> java.lang.NullPointerException
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.mapTargetToRuntimeEx(AbstractJavaResourceMethodDispatcher.java:179)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.access$200(AbstractJavaResourceMethodDispatcher.java:72)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:149)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
>  ~[jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) 
> ~[jersey-server-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
> [jersey-common-2.22.1.jar:na]
> at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
> [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
>  [jersey-common-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
> [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
>  [jersey-server-2.22.1.jar:na]
> at 
> org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)
>  [jersey-container-grizzly2-http-2.22.1.jar:na]
> at 
> org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224) 
> [grizzly-http-server-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
>  [grizzly-framework-2.3.23.jar:2.3.23]
> at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66]
> Caused by: java.lang.NullPointerException: null
> at 
> 

[jira] [Commented] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-26 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-955:


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

> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-955.patch, test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Commented] (LENS-930) .TestBetweenTimeRangeWriter.testConsecutiveDayParts fails sometimes

2016-07-26 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on LENS-930:
--

[~prongs] Seems issue is because of some DateUtil math missing a second. Please 
check.

> .TestBetweenTimeRangeWriter.testConsecutiveDayParts fails sometimes
> ---
>
> Key: LENS-930
> URL: https://issues.apache.org/jira/browse/LENS-930
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Amareshwari Sriramadasu
>Assignee: Rajat Khandelwal
> Fix For: 2.7
>
>
> Test failed here - 
> https://builds.apache.org/job/Lens-Commit/org.apache.lens$lens-cube/1172/testReport/junit/org.apache.lens.cube.parse/TestBetweenTimeRangeWriter/testConsecutiveDayParts/
> org.apache.lens.cube.parse.TestBetweenTimeRangeWriter.testConsecutiveDayParts 
> (from TestSuite)
> Failing for the past 1 build (Since Unstable#1172 )
> Took 5 ms.
> Error Message
> expected [ (test.dt BETWEEN '2016-01-19 12:22:16' AND '2016-01-21 12:22:16') 
> ] but found [ (test.dt BETWEEN '2016-01-19 12:22:16' AND '2016-01-21 
> 12:22:15') ]
> Stacktrace
> java.lang.AssertionError: expected [ (test.dt BETWEEN '2016-01-19 12:22:16' 
> AND '2016-01-21 12:22:16') ] but found [ (test.dt BETWEEN '2016-01-19 
> 12:22:16' AND '2016-01-21 12:22:15') ]
>   at org.testng.Assert.fail(Assert.java:94)
>   at org.testng.Assert.failNotEquals(Assert.java:494)
>   at org.testng.Assert.assertEquals(Assert.java:123)
>   at org.testng.Assert.assertEquals(Assert.java:176)
>   at org.testng.Assert.assertEquals(Assert.java:186)
>   at 
> org.apache.lens.cube.parse.TestBetweenTimeRangeWriter.validateConsecutive(TestBetweenTimeRangeWriter.java:57)



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


[jira] [Updated] (LENS-930) .TestBetweenTimeRangeWriter.testConsecutiveDayParts fails sometimes

2016-07-26 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated LENS-930:
-
Assignee: Rajat Khandelwal

> .TestBetweenTimeRangeWriter.testConsecutiveDayParts fails sometimes
> ---
>
> Key: LENS-930
> URL: https://issues.apache.org/jira/browse/LENS-930
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Amareshwari Sriramadasu
>Assignee: Rajat Khandelwal
> Fix For: 2.7
>
>
> Test failed here - 
> https://builds.apache.org/job/Lens-Commit/org.apache.lens$lens-cube/1172/testReport/junit/org.apache.lens.cube.parse/TestBetweenTimeRangeWriter/testConsecutiveDayParts/
> org.apache.lens.cube.parse.TestBetweenTimeRangeWriter.testConsecutiveDayParts 
> (from TestSuite)
> Failing for the past 1 build (Since Unstable#1172 )
> Took 5 ms.
> Error Message
> expected [ (test.dt BETWEEN '2016-01-19 12:22:16' AND '2016-01-21 12:22:16') 
> ] but found [ (test.dt BETWEEN '2016-01-19 12:22:16' AND '2016-01-21 
> 12:22:15') ]
> Stacktrace
> java.lang.AssertionError: expected [ (test.dt BETWEEN '2016-01-19 12:22:16' 
> AND '2016-01-21 12:22:16') ] but found [ (test.dt BETWEEN '2016-01-19 
> 12:22:16' AND '2016-01-21 12:22:15') ]
>   at org.testng.Assert.fail(Assert.java:94)
>   at org.testng.Assert.failNotEquals(Assert.java:494)
>   at org.testng.Assert.assertEquals(Assert.java:123)
>   at org.testng.Assert.assertEquals(Assert.java:176)
>   at org.testng.Assert.assertEquals(Assert.java:186)
>   at 
> org.apache.lens.cube.parse.TestBetweenTimeRangeWriter.validateConsecutive(TestBetweenTimeRangeWriter.java:57)



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


[jira] [Commented] (LENS-930) .TestBetweenTimeRangeWriter.testConsecutiveDayParts fails sometimes

2016-07-26 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on LENS-930:
--

Seeing one more failure of this - 
https://builds.apache.org/job/PreCommit-Lens-Build/735/testReport/junit/org.apache.lens.cube.parse/TestBetweenTimeRangeWriter/testConsecutiveDayParts/

Error Message

expected [ (test.dt BETWEEN '2016-07-24 05:10:48' AND '2016-07-26 05:10:48') ] 
but found [ (test.dt BETWEEN '2016-07-24 05:10:48' AND '2016-07-26 05:10:47') ]
Stacktrace

java.lang.AssertionError: expected [ (test.dt BETWEEN '2016-07-24 05:10:48' AND 
'2016-07-26 05:10:48') ] but found [ (test.dt BETWEEN '2016-07-24 05:10:48' AND 
'2016-07-26 05:10:47') ]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176)
at org.testng.Assert.assertEquals(Assert.java:186)
at 
org.apache.lens.cube.parse.TestBetweenTimeRangeWriter.validateConsecutive(TestBetweenTimeRangeWriter.java:57)

> .TestBetweenTimeRangeWriter.testConsecutiveDayParts fails sometimes
> ---
>
> Key: LENS-930
> URL: https://issues.apache.org/jira/browse/LENS-930
> Project: Apache Lens
>  Issue Type: Bug
>  Components: cube
>Reporter: Amareshwari Sriramadasu
> Fix For: 2.7
>
>
> Test failed here - 
> https://builds.apache.org/job/Lens-Commit/org.apache.lens$lens-cube/1172/testReport/junit/org.apache.lens.cube.parse/TestBetweenTimeRangeWriter/testConsecutiveDayParts/
> org.apache.lens.cube.parse.TestBetweenTimeRangeWriter.testConsecutiveDayParts 
> (from TestSuite)
> Failing for the past 1 build (Since Unstable#1172 )
> Took 5 ms.
> Error Message
> expected [ (test.dt BETWEEN '2016-01-19 12:22:16' AND '2016-01-21 12:22:16') 
> ] but found [ (test.dt BETWEEN '2016-01-19 12:22:16' AND '2016-01-21 
> 12:22:15') ]
> Stacktrace
> java.lang.AssertionError: expected [ (test.dt BETWEEN '2016-01-19 12:22:16' 
> AND '2016-01-21 12:22:16') ] but found [ (test.dt BETWEEN '2016-01-19 
> 12:22:16' AND '2016-01-21 12:22:15') ]
>   at org.testng.Assert.fail(Assert.java:94)
>   at org.testng.Assert.failNotEquals(Assert.java:494)
>   at org.testng.Assert.assertEquals(Assert.java:123)
>   at org.testng.Assert.assertEquals(Assert.java:176)
>   at org.testng.Assert.assertEquals(Assert.java:186)
>   at 
> org.apache.lens.cube.parse.TestBetweenTimeRangeWriter.validateConsecutive(TestBetweenTimeRangeWriter.java:57)



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