You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "József Márton Jung (JIRA)" <ji...@apache.org> on 2015/08/03 09:38:04 UTC

[jira] [Assigned] (SAMZA-748) Coordinator URL always 127.0.0.1

     [ https://issues.apache.org/jira/browse/SAMZA-748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

József Márton Jung reassigned SAMZA-748:
----------------------------------------

    Assignee: József Márton Jung

> Coordinator URL always 127.0.0.1
> --------------------------------
>
>                 Key: SAMZA-748
>                 URL: https://issues.apache.org/jira/browse/SAMZA-748
>             Project: Samza
>          Issue Type: Bug
>          Components: container
>    Affects Versions: 0.9.0, 0.9.1
>            Reporter: Yan Fang
>            Assignee: József Márton Jung
>             Fix For: 0.10.0
>
>
> As discussed in the [mailing list|http://mail-archives.apache.org/mod_mbox/samza-dev/201507.mbox/browser], we are using  InetAddress.getLocalHost().getHostAddress() for the org.apache.samza.coordinator.server.HttpServer#getUrl. But getLocalHost() may return a loopback address, 127.0.0.1, which is not reachable by other machines. 
> This idea is to filter out the loopback address. One possible solution is [here|http://www.coderanch.com/t/491883/java/java/IP], use NetworkInterface.getNetworkInterfaces() . 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)