Redundant deprecation warnings in hadoop logs
---------------------------------------------
Key: HADOOP-4034
URL: https://issues.apache.org/jira/browse/HADOOP-4034
Project: Hadoop Core
Issue Type: Bug
Components: fs
Affects Versions: 0.18.0
Reporter: Yoram Kulbak
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.