Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Not A Problem
-
2.2.0
-
None
-
None
Description
This seems to be a rare race condition where we have a sequence of events like this:
1. org.apache.hadoop.shell.Ls calls DFS#getFileStatus on directory D.
2. someone deletes or moves directory D
3. org.apache.hadoop.shell.Ls calls PathData#getDirectoryContents(D), which calls DFS#listStatus(D). This throws FileNotFoundException.
4. ls command terminates with FNF