????????????????????????????????????????????1.11.0????????hdfs????checkpoint??checkpoint????3??????
?????????? ????day ?? id ????groupby
????????????????????????????7????????????????????????????????????????????watermark??????????????
tConfig.setIdleStateRetentionTime(Time.minutes(1440), Time.minutes(1440+10))
------------------ ???????? ------------------
??????:
"user-zh"
<[email protected]>;
????????: 2020??8??3??(??????) ????1:50
??????: "user-zh"<[email protected]>;
????: 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>
18??????????????
<http://apache-flink.147419.n8.nabble.com/file/t793/9.png>
checkpoints??????
<http://apache-flink.147419.n8.nabble.com/file/t793/conf.png>
hdfs??????????
<http://apache-flink.147419.n8.nabble.com/file/t793/hdfs.png>
??????????????????
<http://apache-flink.147419.n8.nabble.com/file/t793/checkpoinsts1.png>
Congxian Qiu wrote
> Hi ??????
> ???????????????? checkpoint ????????????????????
checkpoint size ??????????????????????????????????????
> checkpoint ???????????? hdfs ?? ls ???? checkpoint ????????????
>
??????????????????????????????????????????????????????state
??????????????????????????
>
> Best,
> Congxian
>
>
> ?????? <
> 384939718@
>> ??2020??7??30?????? ????10:43??????
>
>> ??????
>>
>> flink1.11.1??????????????????????????backend????????????20??????????
>> ??????????????????????????????????????????????????????????????
>> StateBackend backend =new
>>
>>
RocksDBStateBackend("hdfs:///checkpoints-data/"+yamlReader.getValueByKey("jobName").toString()+"/",false);
>> StateBackend backend =new
>>
>>
FsStateBackend("hdfs:///checkpoints-data/"+yamlReader.getValueByKey("jobName").toString()+"/",false);
>>
>>
>> ????????????????RocksDBStateBackend??????????????????????????????
>> RocksDBStateBackend??
>>
&lt;http://apache-flink.147419.n8.nabble.com/file/t793/444.png&gt;
>> FsStateBackend??
>>
&lt;http://apache-flink.147419.n8.nabble.com/file/t793/555.png&gt;
>>
>>
>>
>>
>> --
>> Sent from: http://apache-flink.147419.n8.nabble.com/
>>
--
Sent from: http://apache-flink.147419.n8.nabble.com/