[
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)