Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.18.0
-
None
-
None
Description
Warnings in the form of
"org.apache.hadoop.fs.FileSystem - "localhost:57367" is a deprecated filesystem name. Use "hdfs://localhost:57367/" instead."
are frequently emitted into the hadoop log. The problem is that the frequency of these warnings floods the logs and makes it difficult to discover real issues.
A short investigation reveals that while FileSystem.getFileSysName(URI) returns the file system name without the hdfs:// scheme part, the method FileSystem.fixName(String) complains about it and appends the hdfs:// back.