Sanitizes (removes ?
s and *
s) and converts string full path to Hadoop FS and Path, e.g.
Sanitizes (removes ?
s and *
s) and converts string full path to Hadoop FS and Path, e.g.
s3://mybucket1/path/to/file
-> S3 FS + path/to/file
/path/on/hdfs/to/file
-> local HDFS + /path/on/hdfs/to/file
Note, that non-local HDFS paths are not supported in this method, e.g. hdfs://nameservice123:8020/path/on/hdfs/too.
path to convert to FS and relative path
FS + relative path