[
https://issues.apache.org/jira/browse/LENS-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15299900#comment-15299900
]
Sushil Mohanty commented on LENS-1155:
--------------------------------------
Committed myself.
> Seeing INTERNAL_SERVER_ERROR for JDBC queries due to connection unavailability
> ------------------------------------------------------------------------------
>
> Key: LENS-1155
> URL: https://issues.apache.org/jira/browse/LENS-1155
> Project: Apache Lens
> Issue Type: Bug
> Components: driver-jdbc
> Reporter: Sushil Mohanty
> Assignee: Sushil Mohanty
> Fix For: 2.6
>
> Attachments: LENS-1155-1.patch
>
>
> When users that are issuing InMemory Queries, the connection is released back
> to pool only after result set is read completely or after query is purged.
> For InMemory Queries (not persisted by lens server), the query state is
> changed to SUCCESSFUL even before connection is released.
> This causes connection pool to throw error for new queries whenever JDBC
> driver is running at almost full load.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)