[
https://issues.apache.org/jira/browse/LENS-973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15167020#comment-15167020
]
Puneet Gupta edited comment on LENS-973 at 2/25/16 10:06 AM:
-------------------------------------------------------------
This happens when
1. At least one query is running on hive driver
2. The corresponding lens session through which the query was submitted has
been closed
3. driver.max.concurrent.launched.queries.per.queue is set for hive driver
4. Server is restarted
Then on restart "QueryContext.getQueue()" returns null which causes
MaxConcurrentDriverQueriesConstraint.canLaunchWithQueueConstraint to throw
NullPointerException and no new queries can be launched on hive
was (Author: puneet884):
This happens when
1. At least one query is running on hive driver
2. The corresponding lens session through which the query was submitted has
been closed
3. driver.max.concurrent.launched.queries.per.queue is set for hive driver
4. Server is restarted
Then on restart
"org.apache.lens.server.api.query.AbstractQueryContext.getQueue()" returns null
which causes MaxConcurrentDriverQueriesConstraint.canLaunchWithQueueConstraint
to throw NullPointerException and no new queries can be launched
> On Server restart not able to launch new queries on hive if queue constraint
> driver.max.concurrent.launched.queries.per.queue is enabled
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: LENS-973
> URL: https://issues.apache.org/jira/browse/LENS-973
> Project: Apache Lens
> Issue Type: Bug
> Reporter: Puneet Gupta
> Assignee: Puneet Gupta
> Priority: Critical
>
> {noformat}
> org.apache.lens.server.query.QueryExecutionServiceImpl - Error launching
> query: 94487ed0-b 881-4949-9421-5344dcd3baf4
> 12041 java.lang.NullPointerException: null
> 12042 at
> org.apache.lens.server.api.query.constraint.MaxConcurrentDriverQueriesConstraint.canLaunchWithQueueConstraint(MaxConcurrentDriverQueriesConstraint.java:64)
> ~[lens -server-api-2.5.3-inm.jar:2.5.3-inm]
> 12043 at
> org.apache.lens.server.api.query.constraint.MaxConcurrentDriverQueriesConstraint.allowsLaunchOf(MaxConcurrentDriverQueriesConstraint.j
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)