-
Notifications
You must be signed in to change notification settings - Fork 9.2k
YARN-10884: Handle empty owners to parse log files #3318
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
Conversation
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
Thanks @swathic95 for the patch.
FileStatus fileStat = mock(FileStatus.class);
|
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
PrabhuJoseph
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.
Thanks @swathic95 for the patch. LGTM, +1
* YARN 10884 : Parse log files which has empty owner * Removing the whitespace * Added a test case for null user * Fixed indentations * Fixed the indentation for test cases Co-authored-by: Swathi C <cswathi@microsoft.com>
Description of PR
Wasb FileSystem sets owner as empty during append operation.
ATS1.5 fails to read such files with below error
The owner information is used only when the ACL is enabled and not used when ACL is disabled.
Hence, making the owner
anonymous, only when the ACL is disabled so that the append operation is successful.How was this patch tested?
The patch was tested in a device which uses wasb storage and made sure that the exception is not seen post patching.
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?