You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jeff Zhang (JIRA)" <ji...@apache.org> on 2010/09/18 14:34:32 UTC

[jira] Created: (HADOOP-6957) Return bindAdrress directly rather than get it from ServerSocketChannel in Listener's getAddress() method

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.


[jira] Updated: (HADOOP-6957) Return bindAdrress directly rather than get it from ServerSocketChannel in Listener's getAddress() method

Posted by "Jeff Zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Zhang updated HADOOP-6957:
-------------------------------

    Attachment: HADOOP-6957.patch

> 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
>         Attachments: HADOOP-6957.patch
>
>
> 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.