Return-Path: X-Original-To: apmail-incubator-bigtop-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-bigtop-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5183FC7A7 for ; Thu, 17 May 2012 17:42:06 +0000 (UTC) Received: (qmail 18049 invoked by uid 500); 17 May 2012 17:42:06 -0000 Delivered-To: apmail-incubator-bigtop-commits-archive@incubator.apache.org Received: (qmail 17943 invoked by uid 500); 17 May 2012 17:42:04 -0000 Mailing-List: contact bigtop-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bigtop-dev@incubator.apache.org Delivered-To: mailing list bigtop-commits@incubator.apache.org Received: (qmail 17936 invoked by uid 99); 17 May 2012 17:42:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2012 17:42:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2012 17:42:03 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 11A0823889B3; Thu, 17 May 2012 17:41:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1339738 - /incubator/bigtop/trunk/bigtop-tests/test-artifacts/hbase/src/main/groovy/org/apache/bigtop/itest/hbase/system/TestLoadAndVerify.java Date: Thu, 17 May 2012 17:41:42 -0000 To: bigtop-commits@incubator.apache.org From: rvs@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120517174143.11A0823889B3@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rvs Date: Thu May 17 17:41:42 2012 New Revision: 1339738 URL: http://svn.apache.org/viewvc?rev=1339738&view=rev Log: BIGTOP-589. TestLoadAndVerify's HBase scanner caching setting too high (Jonathan Hsieh via rvs) Modified: incubator/bigtop/trunk/bigtop-tests/test-artifacts/hbase/src/main/groovy/org/apache/bigtop/itest/hbase/system/TestLoadAndVerify.java Modified: incubator/bigtop/trunk/bigtop-tests/test-artifacts/hbase/src/main/groovy/org/apache/bigtop/itest/hbase/system/TestLoadAndVerify.java URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-tests/test-artifacts/hbase/src/main/groovy/org/apache/bigtop/itest/hbase/system/TestLoadAndVerify.java?rev=1339738&r1=1339737&r2=1339738&view=diff ============================================================================== --- incubator/bigtop/trunk/bigtop-tests/test-artifacts/hbase/src/main/groovy/org/apache/bigtop/itest/hbase/system/TestLoadAndVerify.java (original) +++ incubator/bigtop/trunk/bigtop-tests/test-artifacts/hbase/src/main/groovy/org/apache/bigtop/itest/hbase/system/TestLoadAndVerify.java Thu May 17 17:41:42 2012 @@ -77,7 +77,7 @@ public class TestLoadAndVerify extends private static final int NUM_TASKS = 200; private static final int NUM_REDUCE_TASKS = 35; - private static final int SCANNER_CACHING = 5000; + private static final int SCANNER_CACHING = 500; private enum Counters { ROWS_WRITTEN, @@ -282,6 +282,7 @@ public class TestLoadAndVerify extends TableMapReduceUtil.initTableMapperJob( htd.getNameAsString(), scan, VerifyMapper.class, BytesWritable.class, BytesWritable.class, job); + int scannerCaching = conf.getInt("verify.scannercaching", SCANNER_CACHING); TableMapReduceUtil.setScannerCaching(job, SCANNER_CACHING); job.setReducerClass(VerifyReducer.class); @@ -339,7 +340,7 @@ public class TestLoadAndVerify extends System.err.println(" -Dloadmapper.num_to_write= Number of rows per mapper (default 100,000 per mapper)"); System.err.println(" -Dloadmapper.deleteAfter= Delete after a successful verify (default true)"); System.err.println(" -Dloadmapper.numPresplits= Number of presplit regions to start with (default 40)"); - + System.err.println(" -Dverify.scannercaching= Number hbase scanner caching rows to read (default 50)"); } public int run(String argv[]) throws Exception {