Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- duplicates
-
HADOOP-7015 RawLocalFileSystem#listStatus does not deal with a directory whose entries are changing ( e.g. in a multi-thread or multi-process environment)
- Closed
- is depended upon by
-
HADOOP-3245 Provide ability to persist running jobs (extend HADOOP-1876)
- Closed