Author: markrmiller
Date: Fri Jan  1 17:35:00 2010
New Revision: 895038

URL: http://svn.apache.org/viewvc?rev=895038&view=rev
Log:
fix host bug

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

Modified: 
lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZooKeeperController.java
URL: 
http://svn.apache.org/viewvc/lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZooKeeperController.java?rev=895038&r1=895037&r2=895038&view=diff
==============================================================================
--- 
lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZooKeeperController.java
 (original)
+++ 
lucene/solr/branches/cloud/src/java/org/apache/solr/cloud/ZooKeeperController.java
 Fri Jan  1 17:35:00 2010
@@ -331,7 +331,7 @@
    */
   public void registerShard(SolrCore core) {
     String coreName = core.getCoreDescriptor().getName();
-    String shardUrl = zooKeeperHost + ":" + hostPort + "/" + hostContext + "/"
+    String shardUrl = zooKeeperHostName + ":" + hostPort + "/" + hostContext + 
"/"
         + coreName;
 
     // nocommit:


Reply via email to