New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FLINK-11107] Avoid memory stateBackend to create arbitrary folders under HA path when no checkpoint path configured #7281
Conversation
@StephanEwen , since you have left annotations below:
However, I'm wondering whether this keeps the same behavior as before. For Flink-1.3, (JobManager) Backend + HA mode = only create |
BTW, If we do not create UUID directories for memory state-backend in this situation, job could still restore from high-availability storage. The only difference is the information of |
@Myasuka thank you for your contribution. the problem you want to solve looks the same as FLINK-10346 |
@klion26 Hmm, I think it's not the same thing, even you could clean up checkpoint directories after job finished/failed in time, you cannot avoid running jobs to create so many directories (one operator with one memory state-backend, and one state-backend would create an unique directory). If several really big jobs are running, which created too many sub-directories under HA storage directory, new submitted job might also cannot create those new sub-directories. |
Since Flink-1.8 is about to release, @StephanEwen @StefanRRichter could anyone take a look at this problem? As you can see However, |
0131937
to
d4cdf3e
Compare
…lders under HA path when no checkpoint path configured This closes apache#7281.
…lders under HA path when no checkpoint path configured This closes apache#7281.
I look at the error of CI, find the following ERROR: |
…lders under HA path when no checkpoint path configured
d4cdf3e
to
5256e77
Compare
@sunjincheng121 Thanks for your reminder, I have already updated the code base. |
cc @aljoscha |
I think it's good to now remove this (supposed) legacy behaviour. Even more so when it causes problems with arbitrary directories being created on TMs. 👍 |
…olders under HA path when no checkpoint path configured This closes apache#7281.
…olders under HA path when no checkpoint path configured This closes apache#7281.
…olders under HA path when no checkpoint path configured This closes apache#7281.
What is the purpose of the change
Brief change log
Verifying this change
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (no)Documentation