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 2016/06/07 09:20:42 UTC
Review Request 48327: LENS-1170: Queries stuck in EXECUTED state on
restart
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48327/
-----------------------------------------------------------
Review request for lens.
Bugs: LENS-1170
https://issues.apache.org/jira/browse/LENS-1170
Repository: lens
Description
-------
Queries in executed state can get stuck in that state on restart. Since formatting happens with an event and event handler might exit without formatting the result. Then on restart, the state will be read back as EXECUTED and result formatting will never happen for this query.
Diffs
-----
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java 8fe02aa728493bcdfb0afbc2a6533b496d4a89e4
Diff: https://reviews.apache.org/r/48327/diff/
Testing
-------
Thanks,
Rajat Khandelwal
Re: Review Request 48327: LENS-1170: Queries stuck in EXECUTED state
on restart
Posted by Amareshwari Sriramadasu <am...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48327/#review136587
-----------------------------------------------------------
Ship it!
Ship It!
- Amareshwari Sriramadasu
On June 7, 2016, 9:20 a.m., Rajat Khandelwal wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/48327/
> -----------------------------------------------------------
>
> (Updated June 7, 2016, 9:20 a.m.)
>
>
> Review request for lens.
>
>
> Bugs: LENS-1170
> https://issues.apache.org/jira/browse/LENS-1170
>
>
> Repository: lens
>
>
> Description
> -------
>
> Queries in executed state can get stuck in that state on restart. Since formatting happens with an event and event handler might exit without formatting the result. Then on restart, the state will be read back as EXECUTED and result formatting will never happen for this query.
>
>
> Diffs
> -----
>
> lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java 8fe02aa728493bcdfb0afbc2a6533b496d4a89e4
>
> Diff: https://reviews.apache.org/r/48327/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Rajat Khandelwal
>
>