lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r1537981 - /lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/cloud/OverseerCollectionProcessor.java
Date Fri, 01 Nov 2013 16:38:13 GMT
Author: noble
Date: Fri Nov  1 16:38:13 2013
New Revision: 1537981

URL: http://svn.apache.org/r1537981
Log:
SOLR-5311, invalid error message

Modified:
    lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/cloud/OverseerCollectionProcessor.java

Modified: lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/cloud/OverseerCollectionProcessor.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/cloud/OverseerCollectionProcessor.java?rev=1537981&r1=1537980&r2=1537981&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/cloud/OverseerCollectionProcessor.java
(original)
+++ lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/cloud/OverseerCollectionProcessor.java
Fri Nov  1 16:38:13 2013
@@ -273,7 +273,8 @@ public class OverseerCollectionProcessor
     }
     Replica replica = slice.getReplica(replicaName);
     if(replica == null){
-      throw new SolrException(ErrorCode.BAD_REQUEST, "Invalid shard name : "+shard+" in collection
: "+ collectionName);
+      throw new SolrException(ErrorCode.BAD_REQUEST, "Invalid replica : " + replicaName +
" in shard/collection : "
+          + shard + "/"+ collectionName);
     }
 
     String baseUrl = replica.getStr(ZkStateReader.BASE_URL_PROP);



Mime
View raw message