[
https://issues.apache.org/jira/browse/HADOOP-4167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651162#action_12651162
]
Michael Bieniosek commented on HADOOP-4167:
-------------------------------------------
This affects emacs autosave files. When a buffer is edited, emacs
automatically creates a .#filename file which returns false when java runs an
exists() test. This means that I can't list directories where I have unsaved
emacs buffers open.
> RawLocalFileSystem.listStatus() should not throw FileNotFound exception if a
> file goes missing while the list is being computed
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-4167
> URL: https://issues.apache.org/jira/browse/HADOOP-4167
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Reporter: Amar Kamat
>
> {{RawLocalFileSystem.listStatus()}} first caches the filenames and then gets
> their statuses. Since there is no directory locking, other processes can
> delete files in between making the cached filenames invalid. Getting the
> filestatus of missing file results into {{FileNotFound}} exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.