You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ec...@apache.org on 2013/07/12 17:07:31 UTC

svn commit: r1502582 - in /accumulo/branches/1.4/test/system/auto/simple: bulk.py compaction.py

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())