Return bindAdrress directly rather than get it from ServerSocketChannel in
Listener's getAddress() method
---------------------------------------------------------------------------------------------------------
Key: HADOOP-6957
URL: https://issues.apache.org/jira/browse/HADOOP-6957
Project: Hadoop Common
Issue Type: Improvement
Components: ipc
Reporter: Jeff Zhang
Priority: Minor
I am trying to make Pseudo-Distributed hadoop can been accessed by outside, I
change the fs.default.name to 0.0.0.0.:9000 , but still failed. Finally I found
that the problem is caused by the Listener's getAddress() in Server.java. It
return Inet6Address format (hdfs://0:0:0:0:0:0:0:0:9000) rather than
Inet4Address, I write a blog for the details
(http://zjffdu.appspot.com/?p=17001)
And since the class member "address" is binded to "ServerSocketChannel", then
it will be easier to return the address directly rather than get it from
ServerSocketChannel.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.