Description
In Hadoop, Path object is used to represent both local and remote (for example DFS) paths. In some scenarios, Path's path is passed on directly to the operating system shell. As seen in MAPREDUCE-4321, the path returned from the Path object is not necessary a valid shell path. By providing Path#toFile() and Path(File), we will provide means by which people can do the right thing if they follow certain rules. However, as noted in comments for MAPREDUCE-4321, this does not provide any guaranties that someone won't unknowingly do it wrong in the future, but it is still a step forward.
Attachments
Issue Links
- is part of
-
HADOOP-8645 Stabilize branch-1-win
- Resolved