Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 153C1186F6 for ; Thu, 8 Oct 2015 15:07:27 +0000 (UTC) Received: (qmail 59430 invoked by uid 500); 8 Oct 2015 15:07:27 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 59384 invoked by uid 500); 8 Oct 2015 15:07:26 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 59361 invoked by uid 99); 8 Oct 2015 15:07:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Oct 2015 15:07:26 +0000 Date: Thu, 8 Oct 2015 15:07:26 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-4019) thrift proxy no longer listening on all interfaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-4019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Tubbs updated ACCUMULO-4019: ---------------------------------------- Fix Version/s: 1.8.0 > thrift proxy no longer listening on all interfaces > -------------------------------------------------- > > Key: ACCUMULO-4019 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4019 > Project: Accumulo > Issue Type: Bug > Components: proxy > Affects Versions: 1.7.0 > Reporter: Adam Fuchs > Assignee: Adam Fuchs > Fix For: 1.7.1, 1.8.0 > > Time Spent: 20m > Remaining Estimate: 0h > > 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: > {code} > - TServer server = createProxyServer(AccumuloProxy.class, ProxyServer.class, port, protoFactoryClass, opts.prop); > - server.serve(); > + HostAndPort address = HostAndPort.fromParts(InetAddress.getLocalHost().getCanonicalHostName(), port); > + ServerAddress server = createProxyServer(address, protoFactory, opts.prop); > {code} > 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?: > {code} > HostAndPort address = HostAndPort.fromParts("::", port); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)