Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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.