You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "John Vines (Created) (JIRA)" <ji...@apache.org> on 2011/12/14 18:21:30 UTC
[jira] [Created] (ACCUMULO-220) Provide mechanism for services to
define which IP address to use
Provide mechanism for services to define which IP address to use
----------------------------------------------------------------
Key: ACCUMULO-220
URL: https://issues.apache.org/jira/browse/ACCUMULO-220
Project: Accumulo
Issue Type: New Feature
Components: gc, logger, master, monitor, tserver
Reporter: John Vines
Assignee: Eric Newton
Currently the services depend on INetAddress.getLocalHost().getHostAddress() to determine a nodes IP Address. This works well, unless your running a node which spans different networks. This can create undesirable network traversal, depending on how your network is setup. We do not want to complicate things by increasing the work to get running, but we should see about providing an optional setting to have services attempt to identify as a user specified IP before defaulting to getHostAddress().
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ACCUMULO-220) Update mechanism for services to
define which IP address to use
Posted by "John Vines (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACCUMULO-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Vines updated ACCUMULO-220:
--------------------------------
Description: I have strong reason to believe that the mechanism we have in place for grabbing the IP address for a hostname does not work for hostnames defined in the hosts file. That is, I believe it will only hit against DNS for doing the name->IP lookup for the provided server name. This needs to be tested and, if validated, updated to check both DNS and the hosts file. (was: Currently the services depend on INetAddress.getLocalHost().getHostAddress() to determine a nodes IP Address. This works well, unless your running a node which spans different networks. This can create undesirable network traversal, depending on how your network is setup. We do not want to complicate things by increasing the work to get running, but we should see about providing an optional setting to have services attempt to identify as a user specified IP before defaulting to getHostAddress().)
Summary: Update mechanism for services to define which IP address to use (was: Provide mechanism for services to define which IP address to use)
> Update mechanism for services to define which IP address to use
> ---------------------------------------------------------------
>
> Key: ACCUMULO-220
> URL: https://issues.apache.org/jira/browse/ACCUMULO-220
> Project: Accumulo
> Issue Type: New Feature
> Components: gc, logger, master, monitor, tserver
> Reporter: John Vines
> Assignee: Eric Newton
> Labels: connection, network
>
> I have strong reason to believe that the mechanism we have in place for grabbing the IP address for a hostname does not work for hostnames defined in the hosts file. That is, I believe it will only hit against DNS for doing the name->IP lookup for the provided server name. This needs to be tested and, if validated, updated to check both DNS and the hosts file.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira