hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1196636 - /hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java
Date Wed, 02 Nov 2011 15:37:20 GMT
Author: stack
Date: Wed Nov  2 15:37:19 2011
New Revision: 1196636

URL: http://svn.apache.org/viewvc?rev=1196636&view=rev
Log:
HBASE-4724 TestAdmin hangs randomly in trunk

Modified:
    hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java

Modified: hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java?rev=1196636&r1=1196635&r2=1196636&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java (original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java Wed Nov  2 15:37:19
2011
@@ -678,7 +678,6 @@ public class TestAdmin {
         for (int i = 0; i < rowCounts[index]; i++) {
           byte[] k = Bytes.toBytes(i);
           Put put = new Put(k);
-          put.setWriteToWAL(false);
           put.add(familyNames[index], new byte[0], k);
           table.put(put);
         }
@@ -1312,7 +1311,6 @@ public class TestAdmin {
         .toBytes(tableName));
     for (int i = 1; i <= 256; i++) { // 256 writes should cause 8 log rolls
       Put put = new Put(Bytes.toBytes("row" + String.format("%1$04d", i)));
-      put.setWriteToWAL(false);
       put.add(HConstants.CATALOG_FAMILY, null, value);
       table.put(put);
       if (i % 32 == 0) {



Mime
View raw message