incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [2/3] git commit: Fixed ZookeeperClusterStatus, mostly import problems.
Date Thu, 18 Oct 2012 02:14:21 GMT
Fixed ZookeeperClusterStatus, mostly import problems.


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

Branch: refs/heads/lucene-4.0.0
Commit: 60db0cf3ec96569d72544296bf25efceaa8deaee
Parents: 4d81f46
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Wed Oct 17 22:10:28 2012 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Wed Oct 17 22:10:28 2012 -0400

----------------------------------------------------------------------
 .../clusterstatus/ZookeeperClusterStatus.java      |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/60db0cf3/src/blur-core/src/main/java/org/apache/blur/manager/clusterstatus/ZookeeperClusterStatus.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/manager/clusterstatus/ZookeeperClusterStatus.java
b/src/blur-core/src/main/java/org/apache/blur/manager/clusterstatus/ZookeeperClusterStatus.java
index 81ea5f4..0c595f4 100644
--- a/src/blur-core/src/main/java/org/apache/blur/manager/clusterstatus/ZookeeperClusterStatus.java
+++ b/src/blur-core/src/main/java/org/apache/blur/manager/clusterstatus/ZookeeperClusterStatus.java
@@ -40,13 +40,13 @@ import org.apache.blur.thrift.generated.ColumnPreCache;
 import org.apache.blur.thrift.generated.TableDescriptor;
 import org.apache.blur.utils.BlurUtil;
 import org.apache.blur.zookeeper.WatchChildren;
+import org.apache.blur.zookeeper.WatchChildren.OnChange;
 import org.apache.blur.zookeeper.WatchNodeData;
 import org.apache.blur.zookeeper.WatchNodeExistance;
 import org.apache.blur.zookeeper.ZkUtils;
-import org.apache.blur.zookeeper.WatchChildren.OnChange;
 import org.apache.hadoop.io.compress.CompressionCodec;
-import org.apache.hadoop.io.compress.DeflateCodec;
-import org.apache.lucene.search.Similarity;
+import org.apache.hadoop.io.compress.DefaultCodec;
+import org.apache.lucene.search.similarities.Similarity;
 import org.apache.thrift.TBase;
 import org.apache.thrift.TException;
 import org.apache.thrift.protocol.TJSONProtocol;
@@ -59,7 +59,6 @@ import org.apache.zookeeper.ZooDefs.Ids;
 import org.apache.zookeeper.ZooKeeper;
 import org.apache.zookeeper.data.Stat;
 
-
 public class ZookeeperClusterStatus extends ClusterStatus {
 
   private static final Log LOG = LogFactory.getLog(ZookeeperClusterStatus.class);
@@ -671,7 +670,7 @@ public class ZookeeperClusterStatus extends ClusterStatus {
     try {
       checkIfOpen();
       if (tableDescriptor.getCompressionClass() == null) {
-        tableDescriptor.setCompressionClass(DeflateCodec.class.getName());
+        tableDescriptor.setCompressionClass(DefaultCodec.class.getName());
       }
       if (tableDescriptor.getSimilarityClass() == null) {
         tableDescriptor.setSimilarityClass(FairSimilarity.class.getName());


Mime
View raw message