Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.3.1
-
None
-
None
Description
Root cause of SPARK-34298.
If you have a Path (/something) and call suffix on it.
new Path("/something").suffix("else")
you see an error because the path doesn't have a parent
Exception in thread "main" java.lang.IllegalArgumentException: Can not create a Path from an empty string
at org.apache.hadoop.fs.Path.checkPathArg(Path.java:168)[....]
at org.apache.hadoop.fs.Path.suffix(Path.java:446)
Attachments
Issue Links
- is depended upon by
-
SPARK-34298 SaveMode.Overwrite not usable when using s3a root paths
- Open