????????????????FsStateBackend ??????????????5????????????????????checkpoint??????????????300ms????????????????????????????????????
??????????????????????1440minute??????????????????????????????????????????????????????5????
????????checkpoint shared ????????????????????????????group
by??key??????????????????????????????????????????????????????????????
????5????????????????
------------------ ???????? ------------------
??????:
"user-zh"
<[email protected]>;
????????: 2020??8??3??(??????) ????5:50
??????: "user-zh"<[email protected]>;
????: Re: flink1.10.1/1.11.1 ????sql ????group ?? ???????? ??????
????????????
Hi
?????? checkpoint ?? interval ???????????????????????????? shared
??????????????????????????????????????????
Checkpointed Data Size ????????????[1]???????????? checkpoint
???????????????????? checkpoint
????????????????????????????????????
[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.11/zh/ops/state/state_backends.html#%E5%A2%9E%E9%87%8F%E5%BF%AB%E7%85%A7
Best,
Congxian
op <[email protected]> ??2020??8??3?????? ????2:18??????
> &nbsp; &nbsp;
>
????????????????????????????????????????????1.11.0????????hdfs????checkpoint??checkpoint????3??????
> ?????????? ????day ?? id ????groupby
>
????????????????????????????7????????????????????????????????????????????watermark??????????????
> tConfig.setIdleStateRetentionTime(Time.minutes(1440),
> Time.minutes(1440+10))
>
>
>
>
> ------------------&nbsp;????????&nbsp;------------------
> ??????:
>
"user-zh"
>
<
> [email protected]&gt;;
> ????????:&nbsp;2020??8??3??(??????) ????1:50
> ??????:&nbsp;"user-zh"<[email protected]&gt;;
>
> ????:&nbsp;Re: flink1.10.1/1.11.1 ????sql ????group ?? ???????? ??????
????????????
>
>
>
> hi????????
> ??????????????????????????????????
> 1????????????????3000????????????????????????????????????????????????
> 2??checkpoint??interval????????5??
> 3??????????????????????????????
> 4??????????????1??????on-yarn????
>
> ????????????????????
> <http://apache-flink.147419.n8.nabble.com/file/t793/6.png&gt;
>
> 18??????????????
> <http://apache-flink.147419.n8.nabble.com/file/t793/9.png&gt;
>
> checkpoints??????
> <http://apache-flink.147419.n8.nabble.com/file/t793/conf.png&gt;
>
> hdfs??????????
> <http://apache-flink.147419.n8.nabble.com/file/t793/hdfs.png&gt;
>
> ??????????????????
>
<http://apache-flink.147419.n8.nabble.com/file/t793/checkpoinsts1.png&gt;
>
>
> Congxian Qiu wrote
> &gt; Hi&nbsp;&nbsp; ??????
> &gt;&nbsp;&nbsp;&nbsp;&nbsp; ????????????????
checkpoint ???????????????????? checkpoint
> size ??????????????????????????????????????
> &gt; checkpoint ???????????? hdfs ?? ls ???? checkpoint ????????????
> &gt;&nbsp;&nbsp;&nbsp;&nbsp;
??????????????????????????????????????????????????????state
??????????????????????????
> &gt;
> &gt; Best,
> &gt; Congxian
> &gt;
> &gt;
> &gt; ?????? <
>
> &gt; 384939718@
>
> &gt;&gt; ??2020??7??30?????? ????10:43??????
> &gt;
> &gt;&gt; ??????
> &gt;&gt;
> &gt;&gt;
flink1.11.1??????????????????????????backend????????????20??????????
> &gt;&gt;
??????????????????????????????????????????????????????????????
> &gt;&gt; StateBackend backend =new
> &gt;&gt;
> &gt;&gt;
>
RocksDBStateBackend("hdfs:///checkpoints-data/"+yamlReader.getValueByKey("jobName").toString()+"/",false);
> &gt;&gt; StateBackend backend =new
> &gt;&gt;
> &gt;&gt;
>
FsStateBackend("hdfs:///checkpoints-data/"+yamlReader.getValueByKey("jobName").toString()+"/",false);
> &gt;&gt;
> &gt;&gt;
> &gt;&gt;
????????????????RocksDBStateBackend??????????????????????????????
> &gt;&gt; RocksDBStateBackend??
> &gt;&gt; &amp;lt;
> http://apache-flink.147419.n8.nabble.com/file/t793/444.png&amp;gt;
> &gt;&gt; FsStateBackend??
> &gt;&gt; &amp;lt;
> http://apache-flink.147419.n8.nabble.com/file/t793/555.png&amp;gt;
> &gt;&gt;
> &gt;&gt;
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; --
> &gt;&gt; Sent from: http://apache-flink.147419.n8.nabble.com/
> &gt;&gt;
>
>
>
>
>
> --
> Sent from: http://apache-flink.147419.n8.nabble.com/