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 8B1B81011A for ; Wed, 19 Feb 2014 16:12:14 +0000 (UTC) Received: (qmail 16999 invoked by uid 500); 19 Feb 2014 16:12:07 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 16873 invoked by uid 500); 19 Feb 2014 16:12:06 -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 16747 invoked by uid 99); 19 Feb 2014 16:12:04 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Feb 2014 16:12:04 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 1D8848C39BF; Wed, 19 Feb 2014 16:12:04 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bhavanki@apache.org To: commits@accumulo.apache.org Date: Wed, 19 Feb 2014 16:12:08 -0000 Message-Id: <3adcfbffecb9425da474656d2f066ea4@git.apache.org> In-Reply-To: <868c9bb556c14e85be29fd301e9ff8bf@git.apache.org> References: <868c9bb556c14e85be29fd301e9ff8bf@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [05/10] git commit: Merge branch '1.4.5-SNAPSHOT' into 1.5.1-SNAPSHOT Merge branch '1.4.5-SNAPSHOT' into 1.5.1-SNAPSHOT Conflicts: test/system/auto/README Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/f6c268e5 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/f6c268e5 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/f6c268e5 Branch: refs/heads/1.6.0-SNAPSHOT Commit: f6c268e56b6428fbf9bb4da347ffe9406f2d8044 Parents: 8828328 ac18b56 Author: Bill Havanki Authored: Wed Feb 19 11:11:06 2014 -0500 Committer: Bill Havanki Committed: Wed Feb 19 11:11:06 2014 -0500 ---------------------------------------------------------------------- test/system/auto/README | 94 ++++++++++++++++++++++++++++++-------------- 1 file changed, 65 insertions(+), 29 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/f6c268e5/test/system/auto/README ---------------------------------------------------------------------- diff --cc test/system/auto/README index 7d18e8b,45ed158..41f6159 --- a/test/system/auto/README +++ b/test/system/auto/README @@@ -53,6 -63,32 +63,32 @@@ cluster at your disposal, you can run t $ python test/system/auto/run.py -l > tests $ hadoop fs -put tests /user/hadoop/tests - $ ./bin/accumulo org.apache.accumulo.test.functional.RunTests --tests /user/hadoop/tests --output /user/hadoop/results - $ ./bin/accumulo org.apache.accumulo.server.test.functional.RunTests \ - /user/hadoop/tests /user/hadoop/results ++ $ ./bin/accumulo org.apache.accumulo.test.functional.RunTests --tests \ ++ /user/hadoop/tests --output /user/hadoop/results + + The example above runs every test. You can trim the tests file to include + only the tests you wish to run. + + In some clusters, the user under which MR jobs run is different from the user + under which Accumulo is installed, and this can cause failures running the + tests. Various configuration and permission changes can be made to help the + tests run, including the following: + + * Opening up directory and file permissions on each cluster node so that the MR + user has the same read/write privileges as the Accumulo user. Adding the MR + user to a shared group is one easy way to accomplish this. Access is required + to the Accumulo installation, log, write-ahead log, and configuration + directories. + * Creating a user directory in HDFS, named after and owned by the MR user, + e.g., /user/mruser. + * Setting the ZOOKEEPER_HOME and HADOOP_CONF_DIR environment variables for the + MR user. These can be set using the mapred.child.env property in + mapred-site.xml, e.g.: + + + mapred.child.env + ZOOKEEPER_HOME=/path/to/zookeeper,HADOOP_CONF_DIR=/path/to/hadoop/conf + - + Each functional test is run by a mapper, and so you can check the mapper logs + to see any error messages tests produce.