accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1624) Delete table running slow in clone integration test
Date Sat, 26 Oct 2013 00:32:32 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13805883#comment-13805883
] 

John Vines commented on ACCUMULO-1624:
--------------------------------------

Can I get some more information? I did the following and saw an increase from 7.136s to 10.429s

{code}
diff --git a/test/src/test/java/org/apache/accumulo/test/functional/CloneTestIT.java b/test/src/test/java/org/apache/accumulo/test/functional/CloneTestIT.java
index f5c392f..a563f68 100644
--- a/test/src/test/java/org/apache/accumulo/test/functional/CloneTestIT.java
+++ b/test/src/test/java/org/apache/accumulo/test/functional/CloneTestIT.java
@@ -134,10 +134,12 @@ public class CloneTestIT extends SimpleMacIT {
 
   @Test(timeout = 120 * 1000)
   public void testDeleteClone() throws Exception {
-    String[] tableNames = getTableNames(3);
+    String[] tableNames = getTableNames(5);
     String table1 = tableNames[0];
     String table2 = tableNames[1];
     String table3 = tableNames[2];
+    String table4 = tableNames[3];
+    String table5 = tableNames[4];
 
     Connector c = getConnector();
 
@@ -187,8 +189,17 @@ public class CloneTestIT extends SimpleMacIT {
 
     checkData(table2, c);
 
+    c.tableOperations().clone(table2, table4, false, props, exclude);
+    
     c.tableOperations().delete(table2);
 
+    c.tableOperations().clone(table4, table5, false, props, exclude);
+    
+    c.tableOperations().delete(table5);
+    
+    c.tableOperations().delete(table4);
+
+
   }
 
 }
{code}

> Delete table running slow in clone integration test
> ---------------------------------------------------
>
>                 Key: ACCUMULO-1624
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1624
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Keith Turner
>            Priority: Critical
>             Fix For: 1.6.0
>
>
> I added two delete table operation to CloneIT and its runtime went from a few seconds
to 30+ seconds.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message