Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.6.0-incubating
-
None
-
None
Description
Calling Location#delete(), without recursive parameter will not delete the files if there are files within the specified Location.
However, with LocalLocation, the method simply returns false.
With HDFSLocation, the method throws an exception.
It seems that the behavior of both Location implementations should be consistent.
Attached is a stacktrace from a program that utilizes Location, and in the stack trace, the exception can be seen due to the call to HDFSLocation#delete.