incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [1/2] git commit: Removing dead code.
Date Wed, 12 Aug 2015 15:29:57 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/master 8c5ce2a91 -> 9028b285f


Removing dead code.


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

Branch: refs/heads/master
Commit: 279b1066b7c73b6a0dc486c13d4af07e0c89b8f4
Parents: 8c5ce2a
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Wed Aug 12 11:11:11 2015 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Wed Aug 12 11:11:11 2015 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/blur/server/ShardContext.java  | 12 ------------
 1 file changed, 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/279b1066/blur-core/src/main/java/org/apache/blur/server/ShardContext.java
----------------------------------------------------------------------
diff --git a/blur-core/src/main/java/org/apache/blur/server/ShardContext.java b/blur-core/src/main/java/org/apache/blur/server/ShardContext.java
index 50448f9..d362833 100644
--- a/blur-core/src/main/java/org/apache/blur/server/ShardContext.java
+++ b/blur-core/src/main/java/org/apache/blur/server/ShardContext.java
@@ -18,16 +18,13 @@ package org.apache.blur.server;
  */
 import java.io.IOException;
 
-import org.apache.blur.store.hdfs.HdfsDirectory;
 import org.apache.blur.utils.ShardUtil;
 import org.apache.hadoop.fs.Path;
-import org.apache.lucene.store.Directory;
 
 public class ShardContext {
 
   private String shard;
   private Path hdfsDirPath;
-  private Directory directory;
   private TableContext tableContext;
 
   public TableContext getTableContext() {
@@ -42,14 +39,6 @@ public class ShardContext {
 
   }
 
-  public Directory getDirectory() {
-    return directory;
-  }
-
-  public void setDirectory(Directory directory) {
-    this.directory = directory;
-  }
-
   public Path getHdfsDirPath() {
     return hdfsDirPath;
   }
@@ -72,7 +61,6 @@ public class ShardContext {
     shardContext.tableContext = tableContext;
     shardContext.hdfsDirPath = new Path(tableContext.getTablePath(), shard);
     shardContext.shard = shard;
-    shardContext.directory = new HdfsDirectory(tableContext.getConfiguration(), shardContext.hdfsDirPath);
     return shardContext;
   }
 


Mime
View raw message