-
Notifications
You must be signed in to change notification settings - Fork 9.2k
YARN-11916. FileSystemTimelineReaderImpl vulnerable to race conditions #8164
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
YARN-11916. FileSystemTimelineReaderImpl vulnerable to race conditions #8164
Conversation
Move the class. It was never public API. added the test artifact at test scope to yarn-client for its tests.
cnauroth
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1. Thank you @steveloughran . I flagged a minor nitpick on some comment text. Feel free to fix that when you commit. (No need for second review IMO.)
| * To implement an atomic append it reads all the data in the original file, | ||
| * writes that to a temporary file, appends the new | ||
| * data there and renames that temporary file to the original path. | ||
| * This is makes the update operation slower and slower the longer an application runs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: remove the word "is."
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
Hexiaoqiao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. +1 from my side. I am curious if anyone enable it on prod environment?
#8164) Move the class. It was never public API. added the test artifact at test scope to yarn-client for its tests.
#8164) Move the class. It was never public API. added the test artifact at test scope to yarn-client for its tests.
apache#8164) Move the class. It was never public API. added the test artifact at test scope to yarn-client for its tests.
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?