accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Fuchs (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-4019) thrift proxy no longer listening on all interfaces
Date Mon, 05 Oct 2015 22:26:28 GMT
Adam Fuchs created ACCUMULO-4019:

             Summary: thrift proxy no longer listening on all interfaces
                 Key: ACCUMULO-4019
             Project: Accumulo
          Issue Type: Bug
          Components: proxy
    Affects Versions: 1.7.0
            Reporter: Adam Fuchs

In updating the thrift proxy to use HostAndPort-style configuration, we changed the behavior
from listening on all interfaces to only listening on the canonical host name interface. This
broke the proxy for some users:

-    TServer server = createProxyServer(AccumuloProxy.class, ProxyServer.class, port, protoFactoryClass,
-    server.serve();
+    HostAndPort address = HostAndPort.fromParts(InetAddress.getLocalHost().getCanonicalHostName(),
+    ServerAddress server = createProxyServer(address, protoFactory, opts.prop);

Does anybody know what prompted this change? To fix this, I think we should hardcode it to
listen to all interfaces. Would the correct way of doing that be to use the following address?:
HostAndPort address = HostAndPort.fromParts("::", port);

This message was sent by Atlassian JIRA

View raw message