[jira] Created: (NUTCH-76) NDFS DataNode advertises localhost as it's address

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (NUTCH-76) NDFS DataNode advertises localhost as it's address

Cristian Vat (Jira)
NDFS DataNode advertises localhost as it's address
--------------------------------------------------

         Key: NUTCH-76
         URL: http://issues.apache.org/jira/browse/NUTCH-76
     Project: Nutch
        Type: Bug
 Environment: Linux
    Reporter: Peter Sandström
 Attachments: ndfs-datanode-fix.patch



--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (NUTCH-76) NDFS DataNode advertises localhost as it's address

Cristian Vat (Jira)
     [ http://issues.apache.org/jira/browse/NUTCH-76?page=all ]

Peter Sandström updated NUTCH-76:
---------------------------------

    Attachment: ndfs-datanode-fix.patch

fixes the problem by connecting to the NameNode and using the address that the local socket is bound to instead of calling getLocalHost(), beware that this makes machineName in the DataNode constructor unused.

> NDFS DataNode advertises localhost as it's address
> --------------------------------------------------
>
>          Key: NUTCH-76
>          URL: http://issues.apache.org/jira/browse/NUTCH-76
>      Project: Nutch
>         Type: Bug
>  Environment: Linux
>     Reporter: Peter Sandström
>  Attachments: ndfs-datanode-fix.patch
>


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira