accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1502582 - in /accumulo/branches/1.4/test/system/auto/simple: bulk.py compaction.py
Date Fri, 12 Jul 2013 15:07:31 GMT
Author: ecn
Date: Fri Jul 12 15:07:31 2013
New Revision: 1502582

URL: http://svn.apache.org/r1502582
Log:
ACCUMULO-1563 committing Jonathan Hsieh's patch to prevent the test from writing to /

Modified:
    accumulo/branches/1.4/test/system/auto/simple/bulk.py
    accumulo/branches/1.4/test/system/auto/simple/compaction.py

Modified: accumulo/branches/1.4/test/system/auto/simple/bulk.py
URL: http://svn.apache.org/viewvc/accumulo/branches/1.4/test/system/auto/simple/bulk.py?rev=1502582&r1=1502581&r2=1502582&view=diff
==============================================================================
--- accumulo/branches/1.4/test/system/auto/simple/bulk.py (original)
+++ accumulo/branches/1.4/test/system/auto/simple/bulk.py Fri Jul 12 15:07:31 2013
@@ -42,13 +42,13 @@ class SimpleBulkTest(TestUtilsMixin, uni
             self.masterHost(),
             'org.apache.accumulo.server.test.BulkImportDirectory',
             [ROOT, ROOT_PASSWORD,
-             'test_ingest', '/testmf', '/testmfFail'])
+             'test_ingest', 'testmf', 'testmfFail'])
         self.wait(handle)
         self.assert_(handle.returncode == 0)
         
 
     def createMapFiles(self):
-        args = '-mapFile /testmf/mf%02d -timestamp 1 -size 50 -random 56 %1d %ld 1'
+        args = '-mapFile testmf/mf%02d -timestamp 1 -size 50 -random 56 %1d %ld 1'
         log.info('creating map files')
         handles = []
         for i in range(COUNT):
@@ -73,9 +73,9 @@ class SimpleBulkTest(TestUtilsMixin, uni
 
         # initialize the database
         self.createTable('test_ingest')
-        self.execute(self.masterHost(), 'hadoop dfs -rmr /testmf'.split())
-        self.execute(self.masterHost(), 'hadoop dfs -rmr /testmfFail'.split())
-        self.execute(self.masterHost(), 'hadoop dfs -mkdir /testmfFail'.split())
+        self.execute(self.masterHost(), 'hadoop dfs -rmr testmf'.split())
+        self.execute(self.masterHost(), 'hadoop dfs -rmr testmfFail'.split())
+        self.execute(self.masterHost(), 'hadoop dfs -mkdir testmfFail'.split())
 
         # insert some data
         self.createMapFiles()

Modified: accumulo/branches/1.4/test/system/auto/simple/compaction.py
URL: http://svn.apache.org/viewvc/accumulo/branches/1.4/test/system/auto/simple/compaction.py?rev=1502582&r1=1502581&r2=1502582&view=diff
==============================================================================
--- accumulo/branches/1.4/test/system/auto/simple/compaction.py (original)
+++ accumulo/branches/1.4/test/system/auto/simple/compaction.py Fri Jul 12 15:07:31 2013
@@ -52,8 +52,8 @@ class CompactionTest(SimpleBulkTest):
 
         # initialize the database
         self.createTable('test_ingest')
-        self.execute(self.masterHost(), 'hadoop dfs -rmr /testmf'.split())
-        self.execute(self.masterHost(), 'hadoop dfs -rmr /testmfFail'.split())
+        self.execute(self.masterHost(), 'hadoop dfs -rmr testmf'.split())
+        self.execute(self.masterHost(), 'hadoop dfs -rmr testmfFail'.split())
 
         # insert some data
         self.createMapFiles(self.masterHost())



Mime
View raw message