[
https://issues.apache.org/jira/browse/HADOOP-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589792#action_12589792
]
Arun C Murthy commented on HADOOP-3251:
---------------------------------------
This particular problem seems to stem from the fact that
JobTracker.getFileSystemName returns the value of FileSystem.getName which is
defined by the DistributedFileSystem as:
{code:title=DistributedFileSystem.java|borderStyle=solid}
/** @deprecated */
public String getName() { return uri.getAuthority(); }
{code}
The simple fix for now is to reimplement JobTracker.getFileSystemName as:
{code:title=JobTracker.java|borderStyle=solid}
/**
* Grab the local fs name
*/
public synchronized String getFilesystemName() throws IOException {
if (fs == null) {
throw new IllegalStateException("FileSystem object not available yet");
}
return fs.getUri().toString();
}
{code}
> WARN message on command line when a hadoop jar command is executed
> ------------------------------------------------------------------
>
> Key: HADOOP-3251
> URL: https://issues.apache.org/jira/browse/HADOOP-3251
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.17.0
> Reporter: Mukund Madhugiri
> Assignee: Arun C Murthy
> Priority: Blocker
> Fix For: 0.17.0
>
>
> When a job is run, a WARN message is given on the command line. This does not
> affect the cluster functionality, but is bad user experience. Hence, marking
> this a blocker for 0.17.0
> The message is:
> 08/04/14 20:53:46 WARN fs.FileSystem: "namenode:59440" is a deprecated
> filesystem name. Use "hdfs://namenode:59440/" instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.