[
https://issues.apache.org/jira/browse/HADOOP-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinod Kumar Vavilapalli updated HADOOP-2936:
--------------------------------------------
Attachment: HADOOP-2936
Attaching a patch. This prepends "hdfs://" to fs.default.name in the
hadoop-site.xml generated both on client and server sides. Also verified that
the hdfs://host:port format generated works with Hadoop 0.16 too.
With this patch, client commands no longer print the deprecation message. All,
except hadoop jar command which is still doing the same despite changing the
fs.default.name to use this URI format. This might be because there are other
places in hadoop which are still using the deprecated host:port format instead
of the URI format. Another place where I've seen this is hadoop logs pointing
to NameNode initialization time.
The same format fs.default.name is now being generated by HOD not only on JT,
TT and client side, but *also* on NN and DN, which seems to work fine, but is
that ok, Mahadev?
> HOD should generate hdfs://host:port on the client side configs.
> ----------------------------------------------------------------
>
> Key: HADOOP-2936
> URL: https://issues.apache.org/jira/browse/HADOOP-2936
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/hod
> Reporter: Mahadev konar
> Assignee: Hemanth Yamijala
> Fix For: 0.17.0
>
> Attachments: HADOOP-2936
>
>
> with Hadoop-1967, if the fs.default.name is just host:port it prints out
> warnings when hadoop shell commands are run. Hod should change this to
> hdfs://host:port so that users do not see these warnings...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.