Connection pool starvation due to GetUserList.getUserList

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Connection pool starvation due to GetUserList.getUserList

Luis Angel Vicente Sanchez
Hi,

I think there is a bug on the getUserList method when the Shiro realm is
a JdbcRealm. A connection is borrowed from the connection pool but it's
never close:

https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/rest/GetUserList.java#L241


Kind regards,

Luis Angel Vicente Sanchez
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Connection pool starvation due to GetUserList.getUserList

Park Hoon
Hi, the fix was merged and shipped in 0.7.3 (in few days) and 0.8.0


https://github.com/apache/zeppelin/pull/2567


Regard, 

On Tue, Sep 5, 2017 at 1:42 AM, Luis Angel Vicente Sanchez <[hidden email]> wrote:
Hi,

I think there is a bug on the getUserList method when the Shiro realm is
a JdbcRealm. A connection is borrowed from the connection pool but it's
never close:

https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/rest/GetUserList.java#L241


Kind regards,

Luis Angel Vicente Sanchez
[hidden email]