incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [13/27] git commit: Adding todo items.
Date Mon, 29 Jul 2013 12:57:44 GMT
Adding todo items.


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

Branch: refs/heads/0.2.0-newtypesystem
Commit: e0caab9818367fa4b046362a63e8d907a657b21d
Parents: 9c34b27
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Tue Jul 23 13:43:44 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Tue Jul 23 13:43:44 2013 -0400

----------------------------------------------------------------------
 blur-core/src/main/java/org/apache/blur/manager/IndexManager.java | 2 ++
 .../main/java/org/apache/blur/thrift/BadConnectionException.java  | 3 ---
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/e0caab98/blur-core/src/main/java/org/apache/blur/manager/IndexManager.java
----------------------------------------------------------------------
diff --git a/blur-core/src/main/java/org/apache/blur/manager/IndexManager.java b/blur-core/src/main/java/org/apache/blur/manager/IndexManager.java
index b9a8b1c..b071189 100644
--- a/blur-core/src/main/java/org/apache/blur/manager/IndexManager.java
+++ b/blur-core/src/main/java/org/apache/blur/manager/IndexManager.java
@@ -199,11 +199,13 @@ public class IndexManager {
       Map<String, BlurIndex> blurIndexes = _indexServer.getIndexes(table);
       if (blurIndexes == null) {
         LOG.error("Table [{0}] not found", table);
+        //@TODO probably should make a enum for not found on this server so the controller
knows to try another server.
         throw new BException("Table [" + table + "] not found");
       }
       index = blurIndexes.get(shard);
       if (index == null) {
         LOG.error("Shard [{0}] not found in table [{1}]", shard, table);
+        //@TODO probably should make a enum for not found on this server so the controller
knows to try another server.
         throw new BException("Shard [" + shard + "] not found in table [" + table + "]");
       }
     } catch (BlurException e) {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/e0caab98/blur-thrift/src/main/java/org/apache/blur/thrift/BadConnectionException.java
----------------------------------------------------------------------
diff --git a/blur-thrift/src/main/java/org/apache/blur/thrift/BadConnectionException.java
b/blur-thrift/src/main/java/org/apache/blur/thrift/BadConnectionException.java
index efed55a..5fed2f1 100644
--- a/blur-thrift/src/main/java/org/apache/blur/thrift/BadConnectionException.java
+++ b/blur-thrift/src/main/java/org/apache/blur/thrift/BadConnectionException.java
@@ -19,9 +19,6 @@ package org.apache.blur.thrift;
 
 public class BadConnectionException extends RuntimeException {
 
-	/**
-	 * 
-	 */
 	private static final long serialVersionUID = 1L;
 
 	public BadConnectionException() {


Mime
View raw message