Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE17A1050C for ; Thu, 2 Jan 2014 17:47:06 +0000 (UTC) Received: (qmail 55152 invoked by uid 500); 2 Jan 2014 17:42:48 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 55050 invoked by uid 500); 2 Jan 2014 17:42:43 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 54828 invoked by uid 99); 2 Jan 2014 17:42:23 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jan 2014 17:42:23 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id AE405914016; Thu, 2 Jan 2014 17:42:23 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ecn@apache.org To: commits@accumulo.apache.org Date: Thu, 02 Jan 2014 17:42:23 -0000 Message-Id: <489f02b3085144eaa0e035f587e30443@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [01/12] git commit: ACCUMULO-2116 Examples functional test should run from outside of ACCUMULO_HOME. Updated Branches: refs/heads/master a1eb475ed -> 6da318b8a ACCUMULO-2116 Examples functional test should run from outside of ACCUMULO_HOME. Signed-off-by: Christopher Tubbs Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/1ad1151a Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/1ad1151a Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/1ad1151a Branch: refs/heads/master Commit: 1ad1151ab0ae2c57ff998cf563cbe6a019994724 Parents: d605ebb Author: Sean Busbey Authored: Tue Dec 31 15:30:48 2013 -0600 Committer: Christopher Tubbs Committed: Tue Dec 31 17:28:43 2013 -0500 ---------------------------------------------------------------------- test/system/auto/simple/examples.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/1ad1151a/test/system/auto/simple/examples.py ---------------------------------------------------------------------- diff --git a/test/system/auto/simple/examples.py b/test/system/auto/simple/examples.py index bed321f..f05e58f 100755 --- a/test/system/auto/simple/examples.py +++ b/test/system/auto/simple/examples.py @@ -124,8 +124,8 @@ class Examples(TestUtilsMixin, unittest.TestCase): self.comment("Creating a sharded index of the accumulo java files") self.ashell('createtable shard\ncreatetable doc2term\nquit\n') self.execute('/bin/sh', '-c', - 'find src -name "*.java" | xargs ./bin/accumulo org.apache.accumulo.examples.simple.shard.Index %s %s shard %s %s 30' % - (INSTANCE_NAME, ZOOKEEPERS, ROOT, ROOT_PASSWORD)) + 'find %s/src -name "*.java" | xargs %s/bin/accumulo org.apache.accumulo.examples.simple.shard.Index %s %s shard %s %s 30' % + (ACCUMULO_HOME, ACCUMULO_HOME, INSTANCE_NAME, ZOOKEEPERS, ROOT, ROOT_PASSWORD)) self.execute(self.accumulo_sh(), 'org.apache.accumulo.examples.simple.shard.Query', INSTANCE_NAME, ZOOKEEPERS, 'shard', ROOT, ROOT_PASSWORD, 'foo', 'bar')