hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1138572 - /hbase/trunk/src/test/java/org/apache/hadoop/hbase/util/TestFSTableDescriptors.java
Date Wed, 22 Jun 2011 18:30:24 GMT
Author: stack
Date: Wed Jun 22 18:30:24 2011
New Revision: 1138572

URL: http://svn.apache.org/viewvc?rev=1138572&view=rev
Log:
Add debug to failing test

Modified:
    hbase/trunk/src/test/java/org/apache/hadoop/hbase/util/TestFSTableDescriptors.java

Modified: hbase/trunk/src/test/java/org/apache/hadoop/hbase/util/TestFSTableDescriptors.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/util/TestFSTableDescriptors.java?rev=1138572&r1=1138571&r2=1138572&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/util/TestFSTableDescriptors.java (original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/util/TestFSTableDescriptors.java Wed
Jun 22 18:30:24 2011
@@ -87,7 +87,7 @@ public class TestFSTableDescriptors {
       @Override
       public HTableDescriptor get(byte[] tablename)
           throws TableExistsException, FileNotFoundException, IOException {
-        System.out.println(Bytes.toString(tablename));
+        System.out.println(Bytes.toString(tablename) + ", cachehits=" + this.cachehits);
         return super.get(tablename);
       }
     };
@@ -103,7 +103,7 @@ public class TestFSTableDescriptors {
       htd.addFamily(new HColumnDescriptor("" + i));
       FSUtils.updateHTableDescriptor(fs, rootdir, htd);
     }
-    Thread.sleep(1000);
+    Thread.sleep(2000);
     for (int i = 0; i < count; i++) {
       assertTrue(htds.get(Bytes.toBytes(name + i)) !=  null);
     }



Mime
View raw message