Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.6.0
-
Reviewed
Description
HarFs is inited with authorityRequired=true. However, obviously har uri may contain no authority (for the underlying default file system).
Caused by: org.apache.hadoop.HadoopIllegalArgumentException: FileSystem implementation error - default port -1 is not valid
at org.apache.hadoop.fs.AbstractFileSystem.getUri(AbstractFileSystem.java:301)
at org.apache.hadoop.fs.AbstractFileSystem.<init>(AbstractFileSystem.java:261)
at org.apache.hadoop.fs.DelegateToFileSystem.<init>(DelegateToFileSystem.java:49)
at org.apache.hadoop.fs.HarFs.<init>(HarFs.java:30)
... 17 more
and the HDFS HA URI's must not have ports either.