[
https://issues.apache.org/jira/browse/HADOOP-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628469#action_12628469
]
Doug Cutting commented on HADOOP-4034:
--------------------------------------
> while FileSystem.getFileSysName(URI) returns the file system name without the
> hdfs:// scheme part
FileSystem#getName() is deprecated. We should remove calls to it rather than
change it.
> 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
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.