accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1498910 - in /accumulo/trunk: examples/simple/src/main/java/org/apache/accumulo/examples/simple/helloworld/ test/src/test/java/org/apache/accumulo/test/functional/
Date Tue, 02 Jul 2013 12:50:53 GMT
Author: ecn
Date: Tue Jul  2 12:50:52 2013
New Revision: 1498910

URL: http://svn.apache.org/r1498910
Log:
ACCUMULO-1537 increase some timeouts, turn down the noise for running on the build servers

Modified:
    accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/helloworld/ReadData.java
    accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/BloomFilterIT.java
    accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/ClassLoaderIT.java
    accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/CompactionIT.java
    accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/DeleteIT.java

Modified: accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/helloworld/ReadData.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/helloworld/ReadData.java?rev=1498910&r1=1498909&r2=1498910&view=diff
==============================================================================
--- accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/helloworld/ReadData.java
(original)
+++ accumulo/trunk/examples/simple/src/main/java/org/apache/accumulo/examples/simple/helloworld/ReadData.java
Tue Jul  2 12:50:52 2013
@@ -30,6 +30,7 @@ import org.apache.accumulo.core.data.Key
 import org.apache.accumulo.core.data.Range;
 import org.apache.accumulo.core.data.Value;
 import org.apache.hadoop.io.Text;
+import org.apache.log4j.Logger;
 
 import com.beust.jcommander.Parameter;
 
@@ -38,13 +39,15 @@ import com.beust.jcommander.Parameter;
  */
 public class ReadData {
   
+  private static final Logger log = Logger.getLogger(ReadData.class);
+  
   static class Opts extends ClientOnRequiredTable {
     @Parameter(names="--startKey")
     String startKey;
     @Parameter(names="--endKey")
     String endKey;
   }
-  
+
   public static void main(String[] args) throws AccumuloException, AccumuloSecurityException,
TableNotFoundException {
     Opts opts = new Opts();
     ScannerOpts scanOpts = new ScannerOpts();
@@ -67,8 +70,8 @@ public class ReadData {
       Entry<Key,Value> e = iter.next();
       Text colf = e.getKey().getColumnFamily();
       Text colq = e.getKey().getColumnQualifier();
-      System.out.print("row: " + e.getKey().getRow() + ", colf: " + colf + ", colq: " + colq);
-      System.out.println(", value: " + e.getValue().toString());
+      log.trace("row: " + e.getKey().getRow() + ", colf: " + colf + ", colq: " + colq);
+      log.trace(", value: " + e.getValue().toString());
     }
   }
 }

Modified: accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/BloomFilterIT.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/BloomFilterIT.java?rev=1498910&r1=1498909&r2=1498910&view=diff
==============================================================================
--- accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/BloomFilterIT.java
(original)
+++ accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/BloomFilterIT.java
Tue Jul  2 12:50:52 2013
@@ -49,7 +49,7 @@ public class BloomFilterIT extends MacTe
     cfg.setDefaultMemory(500, MemoryUnit.MEGABYTE);
   }
   
-  @Test(timeout=90*1000)
+  @Test(timeout=120*1000)
   public void test() throws Exception {
     Connector c = getConnector();
     for (String table : "bt1 bt2 bt3 bt4".split(" ")) {

Modified: accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/ClassLoaderIT.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/ClassLoaderIT.java?rev=1498910&r1=1498909&r2=1498910&view=diff
==============================================================================
--- accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/ClassLoaderIT.java
(original)
+++ accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/ClassLoaderIT.java
Tue Jul  2 12:50:52 2013
@@ -61,11 +61,11 @@ public class ClassLoaderIT extends MacTe
     IteratorSetting is = new IteratorSetting(10, "TestCombiner", "org.apache.accumulo.test.functional.TestCombiner");
     Combiner.setColumns(is, Collections.singletonList(new IteratorSetting.Column("cf")));
     c.tableOperations().attachIterator("test", is, EnumSet.of(IteratorScope.scan));
-    UtilWaitThread.sleep(1000);
+    UtilWaitThread.sleep(5000);
     scanCheck(c, "TestX");
     fs.delete(jarPath, true);
     fs.copyFromLocalFile(new Path(System.getProperty("user.dir")+"/system/auto/TestCombinerY.jar"),
jarPath);
-    UtilWaitThread.sleep(3000);
+    UtilWaitThread.sleep(5000);
     scanCheck(c, "TestY");
   }
 

Modified: accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/CompactionIT.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/CompactionIT.java?rev=1498910&r1=1498909&r2=1498910&view=diff
==============================================================================
--- accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/CompactionIT.java
(original)
+++ accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/CompactionIT.java
Tue Jul  2 12:50:52 2013
@@ -54,7 +54,7 @@ public class CompactionIT extends MacTes
     cfg.setSiteConfig(map);
   }
   
-  @Test(timeout=60*1000)
+  @Test(timeout=120*1000)
   public void test() throws Exception {
     final Connector c = getConnector();
     c.tableOperations().create("test_ingest");

Modified: accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/DeleteIT.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/DeleteIT.java?rev=1498910&r1=1498909&r2=1498910&view=diff
==============================================================================
--- accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/DeleteIT.java (original)
+++ accumulo/trunk/test/src/test/java/org/apache/accumulo/test/functional/DeleteIT.java Tue
Jul  2 12:50:52 2013
@@ -29,7 +29,7 @@ import org.junit.Test;
 
 public class DeleteIT extends MacTest {
   
-  @Test(timeout=30*1000)
+  @Test(timeout=60*1000)
   public void test() throws Exception {
     Connector c = getConnector();
     VerifyIngest.Opts vopts = new VerifyIngest.Opts();



Mime
View raw message