You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by Rajat Khandelwal <ra...@gmail.com> on 2017/08/28 10:46:25 UTC

Review Request 61936: LENS-1465: Sync queries blocking threads

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

Review request for lens.


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


Repository: lens


Description
-------

Sync queries taking more time than timeout are blocking threads due to a deadlock. Each sync query is blocking one thread from jdbc execution pool and one thread from query completion pool.


Diffs
-----

  lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryContext.java 466fb25992dd3aa89813fe0bbd6aa65bead4d375 


Diff: https://reviews.apache.org/r/61936/diff/1/


Testing
-------


Thanks,

Rajat Khandelwal


Re: Review Request 61936: LENS-1465: Sync queries blocking threads

Posted by Puneet Gupta <pu...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/61936/#review183914
-----------------------------------------------------------


Ship it!




Ship It!

- Puneet Gupta


On Aug. 28, 2017, 10:46 a.m., Rajat Khandelwal wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61936/
> -----------------------------------------------------------
> 
> (Updated Aug. 28, 2017, 10:46 a.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: LENS-1465
>     https://issues.apache.org/jira/browse/LENS-1465
> 
> 
> Repository: lens
> 
> 
> Description
> -------
> 
> Sync queries taking more time than timeout are blocking threads due to a deadlock. Each sync query is blocking one thread from jdbc execution pool and one thread from query completion pool.
> 
> 
> Diffs
> -----
> 
>   lens-server-api/src/main/java/org/apache/lens/server/api/query/QueryContext.java 466fb25992dd3aa89813fe0bbd6aa65bead4d375 
> 
> 
> Diff: https://reviews.apache.org/r/61936/diff/1/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Rajat Khandelwal
> 
>