usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject [1/2] incubator-usergrid git commit: Added more descriptive error message
Date Wed, 18 Mar 2015 17:07:41 GMT
Repository: incubator-usergrid
Updated Branches:
  refs/heads/two-dot-o aa044cf76 -> eb0c689da


Added more descriptive error message


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/3a47cf37
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/3a47cf37
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/3a47cf37

Branch: refs/heads/two-dot-o
Commit: 3a47cf376b5c88734ab7111b2b504bab9e4cd5c5
Parents: e6fb121
Author: Todd Nine <tnine@apigee.com>
Authored: Wed Mar 18 11:05:42 2015 -0600
Committer: Todd Nine <tnine@apigee.com>
Committed: Wed Mar 18 11:05:42 2015 -0600

----------------------------------------------------------------------
 .../apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/3a47cf37/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java
b/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java
index cecd297..1838eec 100644
--- a/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java
+++ b/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java
@@ -293,7 +293,7 @@ public class EsEntityIndexImpl implements AliasedEntityIndex {
             final boolean isAcknowledged = result.isAcknowledged();
 
             if(!isAcknowledged){
-                throw new RuntimeException( "Unable to add aliases to the new index " + indexSuffix
);
+                throw new RuntimeException( "Unable to add aliases to the new index.  Elasticsearch
did not acknowledge to the alias change for index '" + indexSuffix + "'");
             }
 
         }


Mime
View raw message