Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1650CD264 for ; Thu, 11 Oct 2012 20:37:08 +0000 (UTC) Received: (qmail 74840 invoked by uid 500); 11 Oct 2012 20:37:05 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 74769 invoked by uid 500); 11 Oct 2012 20:37:05 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 74735 invoked by uid 99); 11 Oct 2012 20:37:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 20:37:05 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.223.169] (HELO mail-ie0-f169.google.com) (209.85.223.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 20:37:00 +0000 Received: by mail-ie0-f169.google.com with SMTP id 10so4598327ied.14 for ; Thu, 11 Oct 2012 13:36:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=vogayYWU+JMGpguTgxVLUCWjZxJPMauwkMzkMMFukFk=; b=QfvZv+gP6X48jFhIQTczjrWCgRQXyrgMWjpNa2SbKfDlqhspJ44Hx9FZ2d6slIiBp0 5o34G0s1MPYI3tBJneATmb1eFp6L9SmNZX5K2DvqYP3mUsG/ViWJ1f8NAMGzXuXZMejy 9p+PuPXZose5vCCSKusywn1GVJuypV+5K+0iQHISt4uzDR/D2fJGYaZWxyuXyRg6LQzA xeturk/L5ZlkJMY2/0gKX3PN1kS9/tTrLqif9af7zAkMxL5icEQEaaIttj20Zl9FGZOn Fv/znUUtXx6CCrKAeT/PmSlwu4NU/HvaJNJmegpiP919wXmsRRqBtDLJgY4N5I0xdQU5 bbcg== Received: by 10.50.47.129 with SMTP id d1mr217079ign.45.1349987799564; Thu, 11 Oct 2012 13:36:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.145.41 with HTTP; Thu, 11 Oct 2012 13:36:19 -0700 (PDT) In-Reply-To: References: From: Jean-Marc Spaggiari Date: Thu, 11 Oct 2012 16:36:19 -0400 Message-ID: Subject: Re: NoSuchColumnFamilyException with rowcounter To: user@hbase.apache.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQlzN8KiwuYyU4Cym1Q/JRuMtYFiuhuMLvAePojL+CJBiACh+Yvm+rgdpVxEpS8kRE7rYEN6 X-Virus-Checked: Checked by ClamAV on apache.org Hi J-D, I have about 20M rows over 25 regions on 6 nodes. So that mean I should see something like 6 tasks or even 25, right? And not just 2? Keys are 128 byte long. Value is 1 byte. I tried also to update mapreduce.tasktracker.map.tasks.maximum but this is "the number of map tasks that should be launched on each node, not the number of nodes to be used for each map task.", so there was no changes, as expected. JM 2012/10/11 Jean-Daniel Cryans : > On Thu, Oct 11, 2012 at 1:20 PM, Jean-Marc Spaggiari > wrote: >> I'm now using thsi command line and it's working fine (except for the >> number of tasks). >> HADOOP_CLASSPATH=`/home/hbase/hbase-0.94.0/bin/hbase >> classpath`:`/home/hadoop/hadoop-1.0.3/bin/hadoop classpath` >> /home/hadoop/hadoop-1.0.3/bin/hadoop jar >> /home/hbase/hbase-0.94.0/hbase-0.94.1.jar rowcounter >> -Dhbase.client.scanner.caching=100 -Dmapred.map.tasks=6 >> -Dmapred.map.tasks.speculative.execution=false work_proposed >> >> I simply don't know if the -D parameters are taken into consideration >> since I get the same results (numbers of tasks, time of exec, etc.) >> with and without them. > > Using a higher caching value won't do much good if you don't have a > lot of rows. Since you didn't include any data like that in your > email, I won't guess how much 100 would help your case. > > The number of map tasks when mapping an HBase table will be the number > of regions you have in that table. Unfortunately you can't change it > unless you write your own input format for HBase. > > J-D