[
https://issues.apache.org/jira/browse/HADOOP-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589791#action_12589791
]
Tsz Wo (Nicholas), SZE commented on HADOOP-3251:
------------------------------------------------
Here is a stack trace showing how the warning message was generated.
{noformat}
$ ./bin/hadoop jar build/hadoop-0.18.0-dev-examples.jar wordcount input o/1
08/04/16 16:43:39 WARN fs.FileSystem: "hostname:9000" is a deprecated
filesystem name. Use "hdfs://hostname:9000/" instead.
java.lang.Exception
at org.apache.hadoop.fs.FileSystem.fixName(FileSystem.java:165)
at org.apache.hadoop.fs.FileSystem.getNamed(FileSystem.java:152)
at org.apache.hadoop.mapred.JobClient.getFs(JobClient.java:437)
at
org.apache.hadoop.mapred.JobClient.configureCommandLineOptions(JobClient.java:543)
at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:700)
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:973)
at org.apache.hadoop.examples.WordCount.run(WordCount.java:149)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.examples.WordCount.main(WordCount.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.hadoop.util.RunJar.main(RunJar.java:155)
at org.apache.hadoop.mapred.JobShell.run(JobShell.java:194)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
at org.apache.hadoop.mapred.JobShell.main(JobShell.java:220)
{noformat}
> 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.