accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject git commit: ACCUMULO-1585 fix tracer registration in zookeeper
Date Tue, 23 Jul 2013 16:58:06 GMT
Updated Branches:
  refs/heads/master 3ed42c231 -> 689414e28


ACCUMULO-1585 fix tracer registration in zookeeper


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/689414e2
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/689414e2
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/689414e2

Branch: refs/heads/master
Commit: 689414e28500f187a0d31266deca0975a09a91b0
Parents: 3ed42c2
Author: Eric Newton <ecn@apache.org>
Authored: Tue Jul 23 12:58:16 2013 -0400
Committer: Eric Newton <ecn@apache.org>
Committed: Tue Jul 23 12:58:16 2013 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/accumulo/server/trace/TraceServer.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/689414e2/server/src/main/java/org/apache/accumulo/server/trace/TraceServer.java
----------------------------------------------------------------------
diff --git a/server/src/main/java/org/apache/accumulo/server/trace/TraceServer.java b/server/src/main/java/org/apache/accumulo/server/trace/TraceServer.java
index 520f812..025c975 100644
--- a/server/src/main/java/org/apache/accumulo/server/trace/TraceServer.java
+++ b/server/src/main/java/org/apache/accumulo/server/trace/TraceServer.java
@@ -206,7 +206,7 @@ public class TraceServer implements Watcher {
     TThreadPoolServer.Args options = new TThreadPoolServer.Args(transport);
     options.processor(new Processor<Iface>(new Receiver()));
     server = new TThreadPoolServer(options);
-    registerInZooKeeper(sock.getInetAddress() + ":" + sock.getLocalPort());
+    registerInZooKeeper(sock.getInetAddress().getHostAddress() + ":" + sock.getLocalPort());
     writer = connector.createBatchWriter(table, new BatchWriterConfig().setMaxLatency(5,
TimeUnit.SECONDS));
   }
   


Mime
View raw message