You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Paul Lam <pa...@gmail.com> on 2020/07/15 05:13:56 UTC
How to debug window states
Hi,
Since currently State Processor doesn’t support window states, what’s the recommended way to debug window states?
The background is that I have a SQL job whose states, mainly window aggregation operator states, keep increasing steadily.
The things I’ve checked:
- Outputs are as expected.
- Keys amount are capped.
- Watermarks are good, no lags.
- No back pressure.
If I can directly read the states to find out what’s accountable for the state size growth, that would be very intuitional and time-saving.
Best,
Paul Lam
Re: How to debug window states
Posted by Congxian Qiu <qc...@gmail.com>.
Hi
There is an issue[1] wants to provide an easy way to read/bootstrap window
state using the state processor API, but the PR was closed currently.
[1] https://issues.apache.org/jira/browse/FLINK-13095
Best,
Congxian
Paul Lam <pa...@gmail.com> 于2020年7月15日周三 下午4:21写道:
> It turns out to be a bug of StateTTL [1]. But I’m still interested in
> debugging window states.
>
> Any suggestions are appreciated. Thanks!
>
> 1. https://issues.apache.org/jira/browse/FLINK-16581
>
> Best,
> Paul Lam
>
> 2020年7月15日 13:13,Paul Lam <pa...@gmail.com> 写道:
>
> Hi,
>
> Since currently State Processor doesn’t support window states, what’s the
> recommended way to debug window states?
>
> The background is that I have a SQL job whose states, mainly window
> aggregation operator states, keep increasing steadily.
>
> The things I’ve checked:
> - Outputs are as expected.
> - Keys amount are capped.
> - Watermarks are good, no lags.
> - No back pressure.
>
> If I can directly read the states to find out what’s accountable for the
> state size growth, that would be very intuitional and time-saving.
>
> Best,
> Paul Lam
>
>
>
Re: How to debug window states
Posted by Paul Lam <pa...@gmail.com>.
It turns out to be a bug of StateTTL [1]. But I’m still interested in debugging window states.
Any suggestions are appreciated. Thanks!
1. https://issues.apache.org/jira/browse/FLINK-16581 <https://issues.apache.org/jira/browse/FLINK-16581>
Best,
Paul Lam
> 2020年7月15日 13:13,Paul Lam <pa...@gmail.com> 写道:
>
> Hi,
>
> Since currently State Processor doesn’t support window states, what’s the recommended way to debug window states?
>
> The background is that I have a SQL job whose states, mainly window aggregation operator states, keep increasing steadily.
>
> The things I’ve checked:
> - Outputs are as expected.
> - Keys amount are capped.
> - Watermarks are good, no lags.
> - No back pressure.
>
> If I can directly read the states to find out what’s accountable for the state size growth, that would be very intuitional and time-saving.
>
> Best,
> Paul Lam
>