lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r904230 - /lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZkController.java
Date Thu, 28 Jan 2010 19:42:23 GMT
Author: markrmiller
Date: Thu Jan 28 19:42:23 2010
New Revision: 904230

URL: http://svn.apache.org/viewvc?rev=904230&view=rev
Log:
get rid of "playing around" register host in zk

Modified:
    lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZkController.java

Modified: lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZkController.java
URL: http://svn.apache.org/viewvc/lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZkController.java?rev=904230&r1=904229&r2=904230&view=diff
==============================================================================
--- lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZkController.java (original)
+++ lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZkController.java Thu Jan 28
19:42:23 2010
@@ -289,9 +289,6 @@
         localHost = "http://" + localHost;
       }
     }
-    if (log.isInfoEnabled()) {
-      log.info("Register host with ZooKeeper:" + localHost);
-    }
 
     return localHost;
   }
@@ -342,8 +339,6 @@
 
       if (m.matches()) {
         hostName = m.group(1);
-        // register host
-        zkClient.makePath(hostName);
       } else {
         log.error("Unrecognized host:" + localHostName);
         throw new ZooKeeperException(SolrException.ErrorCode.SERVER_ERROR,



Mime
View raw message