ACCUMULO-1563 committing Jonathan Hsieh's patch to prevent the test from writing to /
git-svn-id: https://svn.apache.org/repos/asf/accumulo/branches/1.4@1502582 13f79535-47bb-0310-9956-ffa450edef68 Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/8113ca67 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/8113ca67 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/8113ca67 Branch: refs/heads/master Commit: 8113ca679bd3dab38cb224cab609e1980f5d0614 Parents: e6fe91a Author: Eric C. Newton <[email protected]> Authored: Fri Jul 12 15:07:31 2013 +0000 Committer: Eric C. Newton <[email protected]> Committed: Fri Jul 12 15:07:31 2013 +0000 ---------------------------------------------------------------------- test/system/auto/simple/bulk.py | 10 +++++----- test/system/auto/simple/compaction.py | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/8113ca67/test/system/auto/simple/bulk.py ---------------------------------------------------------------------- diff --git a/test/system/auto/simple/bulk.py b/test/system/auto/simple/bulk.py index 7c53f46..079eafc 100755 --- a/test/system/auto/simple/bulk.py +++ b/test/system/auto/simple/bulk.py @@ -42,13 +42,13 @@ class SimpleBulkTest(TestUtilsMixin, unittest.TestCase): 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, unittest.TestCase): # 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() http://git-wip-us.apache.org/repos/asf/accumulo/blob/8113ca67/test/system/auto/simple/compaction.py ---------------------------------------------------------------------- diff --git a/test/system/auto/simple/compaction.py b/test/system/auto/simple/compaction.py index ad16f1c..51eb84c 100755 --- a/test/system/auto/simple/compaction.py +++ b/test/system/auto/simple/compaction.py @@ -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())
