Description
RawLocalFileSystem currently implements some file creation operations as a sequence of 2 syscalls: create the file, followed by setting its permissions. If creation succeeds, but then setting permission causes an exception to be thrown, then there is no attempt to close the previously opened file, resulting in a file descriptor leak.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-11321 copyToLocal cannot save a file to an SMB share unless the user has Full Control permissions.
- Closed