You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2014/12/03 19:36:12 UTC
[jira] [Created] (HADOOP-11349) RawLocalFileSystem leaks file
descriptor while creating a file if creat succeeds but chmod fails.
Chris Nauroth created HADOOP-11349:
--------------------------------------
Summary: RawLocalFileSystem leaks file descriptor while creating a file if creat succeeds but chmod fails.
Key: HADOOP-11349
URL: https://issues.apache.org/jira/browse/HADOOP-11349
Project: Hadoop Common
Issue Type: Bug
Components: fs
Affects Versions: 2.6.0
Reporter: Chris Nauroth
{{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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)