Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 01F77200BAC for ; Wed, 12 Oct 2016 05:21:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 00525160AF3; Wed, 12 Oct 2016 03:21:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 26735160AF7 for ; Wed, 12 Oct 2016 05:21:09 +0200 (CEST) Received: (qmail 53666 invoked by uid 500); 12 Oct 2016 03:21:09 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 53552 invoked by uid 99); 12 Oct 2016 03:21:09 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2016 03:21:09 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E360FE0902; Wed, 12 Oct 2016 03:21:08 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: elserj@apache.org To: commits@accumulo.apache.org Date: Wed, 12 Oct 2016 03:21:10 -0000 Message-Id: <3aece078508e40b9843ab51bdec72be2@git.apache.org> In-Reply-To: <7862e0ba8aa3430799a34940f0ee026e@git.apache.org> References: <7862e0ba8aa3430799a34940f0ee026e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [3/6] accumulo git commit: ACCUMULO-4431 adding INFO log for random port assignment archived-at: Wed, 12 Oct 2016 03:21:11 -0000 ACCUMULO-4431 adding INFO log for random port assignment Closes apache/accumulo#165 Signed-off-by: Josh Elser Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/c58cf643 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/c58cf643 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/c58cf643 Branch: refs/heads/master Commit: c58cf6437f6ef319e6a6aaf4fb9d6dcef90b0b19 Parents: 1221381 Author: Joe Harten Authored: Tue Oct 11 20:38:39 2016 -0400 Committer: Josh Elser Committed: Tue Oct 11 23:02:57 2016 -0400 ---------------------------------------------------------------------- .../src/main/java/org/apache/accumulo/server/rpc/TServerUtils.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/c58cf643/server/base/src/main/java/org/apache/accumulo/server/rpc/TServerUtils.java ---------------------------------------------------------------------- diff --git a/server/base/src/main/java/org/apache/accumulo/server/rpc/TServerUtils.java b/server/base/src/main/java/org/apache/accumulo/server/rpc/TServerUtils.java index 08ef944..daf5e0f 100644 --- a/server/base/src/main/java/org/apache/accumulo/server/rpc/TServerUtils.java +++ b/server/base/src/main/java/org/apache/accumulo/server/rpc/TServerUtils.java @@ -260,6 +260,7 @@ public class TServerUtils { if (address.getPort() == 0) { address = HostAndPort.fromParts(address.getHostText(), transport.getServerSocket().getLocalPort()); + log.info("Blocking Server bound on {}", address); } return new ServerAddress(server, address); @@ -372,6 +373,7 @@ public class TServerUtils { if (address.getPort() == 0) { address = HostAndPort.fromParts(address.getHostText(), transport.getServerSocket().getLocalPort()); + log.info("SSL Thread Pool Server bound on {}", address); } ThreadPoolExecutor pool = createSelfResizingThreadPool(serverName, numThreads, numSimpleTimerThreads, timeBetweenThreadChecks);