accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [3/6] accumulo git commit: ACCUMULO-4431 adding INFO log for random port assignment
Date Wed, 12 Oct 2016 03:21:10 GMT
ACCUMULO-4431 adding INFO log for random port assignment

Closes apache/accumulo#165

Signed-off-by: Josh Elser <elserj@apache.org>


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 <jh1214@att.com>
Authored: Tue Oct 11 20:38:39 2016 -0400
Committer: Josh Elser <elserj@apache.org>
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);


Mime
View raw message