Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6957

Return bindAdrress directly rather than get it from ServerSocketChannel in Listener's getAddress() method

    XMLWordPrintableJSON

Details

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

      Attachments

        1. HADOOP-6957.patch
          0.5 kB
          Jeff Zhang

        Activity

          People

            Unassigned Unassigned
            zjffdu Jeff Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: