[ https://issues.apache.org/jira/browse/HADOOP-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer resolved HADOOP-4034. -------------------------------------- Resolution: Fixed > Redundant deprecation warnings in hadoop logs > --------------------------------------------- > > Key: HADOOP-4034 > URL: https://issues.apache.org/jira/browse/HADOOP-4034 > Project: Hadoop Common > 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 was sent by Atlassian JIRA (v6.2#6252)