incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject git commit: Trying to fix broken test.
Date Fri, 10 Apr 2015 12:06:29 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/master 049e5728f -> 3a03fd402


Trying to fix broken test.


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

Branch: refs/heads/master
Commit: 3a03fd4022d9de80ddcec56d19080a6180e42d9a
Parents: 049e572
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Fri Apr 10 08:06:14 2015 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Fri Apr 10 08:06:14 2015 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/blur/thrift/BlurShardServer.java    | 2 +-
 blur-hive/src/test/java/org/apache/blur/hive/BlurSerDeTest.java  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3a03fd40/blur-core/src/main/java/org/apache/blur/thrift/BlurShardServer.java
----------------------------------------------------------------------
diff --git a/blur-core/src/main/java/org/apache/blur/thrift/BlurShardServer.java b/blur-core/src/main/java/org/apache/blur/thrift/BlurShardServer.java
index d0772b4..d0e8cfc 100644
--- a/blur-core/src/main/java/org/apache/blur/thrift/BlurShardServer.java
+++ b/blur-core/src/main/java/org/apache/blur/thrift/BlurShardServer.java
@@ -722,7 +722,7 @@ public class BlurShardServer extends TableAdmin implements Iface {
       List<String> tableListByCluster = tableListByCluster(_cluster);
       List<String> writableTables = new ArrayList<String>();
       for (String table :tableListByCluster) {
-        if (_clusterStatus.isReadOnly(true, _cluster, table)) {
+        if (!_clusterStatus.isReadOnly(true, _cluster, table)) {
           writableTables.add(table);
         }
       }

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3a03fd40/blur-hive/src/test/java/org/apache/blur/hive/BlurSerDeTest.java
----------------------------------------------------------------------
diff --git a/blur-hive/src/test/java/org/apache/blur/hive/BlurSerDeTest.java b/blur-hive/src/test/java/org/apache/blur/hive/BlurSerDeTest.java
index 8f37db3..aea485f 100644
--- a/blur-hive/src/test/java/org/apache/blur/hive/BlurSerDeTest.java
+++ b/blur-hive/src/test/java/org/apache/blur/hive/BlurSerDeTest.java
@@ -82,7 +82,7 @@ public class BlurSerDeTest {
   private static final String TEST = "test";
   private static final File TMPDIR = new File(System.getProperty("blur.tmp.dir", "./target/tmp_BlurSerDeTest"));
   private static MiniCluster miniCluster;
-  private static boolean externalProcesses = true;
+  private static boolean externalProcesses = false;
 
   @BeforeClass
   public static void startCluster() throws IOException {
@@ -291,7 +291,7 @@ public class BlurSerDeTest {
     generateData(tableDir, totalRecords);
 
     run(connection, "select * from loadtable");
-    run(connection, "set " + BlurSerDe.BLUR_BLOCKING_APPLY + " = true");
+    run(connection, "set " + BlurSerDe.BLUR_BLOCKING_APPLY + "=true");
     run(connection, "insert into table testtable select * from loadtable");
     miniCluster.stopMrMiniCluster();
     connection.close();


Mime
View raw message