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 4EA8CE953 for ; Sun, 10 Feb 2013 02:17:52 +0000 (UTC) Received: (qmail 84759 invoked by uid 500); 10 Feb 2013 02:17:50 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 84707 invoked by uid 500); 10 Feb 2013 02:17:50 -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 84698 invoked by uid 99); 10 Feb 2013 02:17:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Feb 2013 02:17:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.139.213.146] (HELO nm6-vm0.bullet.mail.bf1.yahoo.com) (98.139.213.146) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 10 Feb 2013 02:17:40 +0000 Received: from [98.139.215.143] by nm6.bullet.mail.bf1.yahoo.com with NNFMP; 10 Feb 2013 02:17:19 -0000 Received: from [98.139.212.233] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 10 Feb 2013 02:17:19 -0000 Received: from [127.0.0.1] by omp1042.mail.bf1.yahoo.com with NNFMP; 10 Feb 2013 02:17:19 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 359635.25937.bm@omp1042.mail.bf1.yahoo.com Received: (qmail 33397 invoked by uid 60001); 10 Feb 2013 02:17:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1360462639; bh=xFnM1yKe+FEy5V3D1y+jWBatwMDmmDLCC+sSCHe5gQU=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=YNSv2/SmP3FmNHie0CuB92Qp2TtFhMnph/sCRQxAdEZqKEXBV+0NzdYZGeuub7BUjxqByvOXBq9CJqjHgDBx5eziE9ratgn3lnWhbuab6x890BskmXgixQrU47QPD6UJEabx//zTUF4K/eh4ZffEYtw79SKVH2OUgkKnxGOZPhU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ghqDg2r1y50HS7osKYLNoNYjmiqlf67ORkkZ8lQ7HC43M74Ed+oLOAFG0VBQmwg8kzL+CnBn6itGeAKBv04xAPS7z1eN/C0hUsGR8uoH1J68sHA/Un1khU+EJXgSLGSAeVBrSb3BVKeUEru/nY/Admgopeyde40mDdPL6Bz2mO4=; X-YMail-OSG: 5CAITzMVM1n3HUawfD.w0YYGn3r8hibVqvKw_uOji0u3LkA g.oJTzHWEjP05Q02zMMHUJ_5iAqDg41hMvvfUX9y.H8Op9n5tn7F68TTRt0T uFV3r8v6F7TszuYDnaN5YGaTVUCxTDohv8gUj_HzpyEO4Kesgl1QZSy90Ttc nSI.YGyOTake6eHYHomFrf_qOWDjpkMlw_qmNwi1.fm2PFDYOUzgvydDWT3h azO5Y6p4iuaUCOVcw8PYCsj.hBXWmAMujpagcRKm8T5yN9M7P8inbnekHHiw bh9dbtrO6KfTGL0sWnAMpAGKeqM70n8bdVcKuTWGhFWHAeRMjzFBgZQxZ1r0 sNX.NMQVQIzKW2A7YU8Udsm1GZqeoYHW5DFakzqih0ZaLEROq5BDZBbGiAuF Q3w1CueHoDvY1wopUmsPIIaY5yxAheXL8C6DjxhL.SmXG3ncEc76pjzDGUlW 6gzquHAocfCYUiKjEvJV9oHljKQe1m6XZm6n095mP3RIGlmq7.Wn0RiLBfjy ej03YvHNuuh0cl2c- Received: from [107.3.190.75] by web140605.mail.bf1.yahoo.com via HTTP; Sat, 09 Feb 2013 18:17:19 PST X-Rocket-MIMEInfo: 001.001,SG1tLi4uIENhbiB5b3Ugc2hvdyB1cyB0aGUgZXhhY3QgY29tbWFuZHMgeW91IGV4ZWN1dGVkPwoKQW5kIGp1c3QgdG8gcnVsZSBvdXQgdGhlIG9idmlvdXM6CjEuIFRoZXJlIHdlcmUgbm8gd3JpdGVzIHdoaWxlIHlvdSBkaWQgdGhlIHJvdyBjb3VudD8KMi4gSW4gdGhlIFJvd0NvdW50IE0vUiBjYXNlIHlvdSBzcGVjaWZpZWQgbmVpdGhlciBhIHJhbmdlIG5vciBhbnkgY29sdW1ucz8KCgpEbyB5b3UgYWx3YXlzIGdldCB0aGUgZXhhY3Qgc2FtZSBudW1iZXJzIGluIGJvdGggY2FzZXM_IE9yIGRvIHRoZXkgdmEBMAEBAQE- X-RocketYMMF: lhofhansl X-Mailer: YahooMailWebService/0.8.132.503 References: Message-ID: <1360462639.27693.YahooMailNeo@web140605.mail.bf1.yahoo.com> Date: Sat, 9 Feb 2013 18:17:19 -0800 (PST) From: lars hofhansl Reply-To: lars hofhansl Subject: Re: Inconsistent row count between mapreduce and shell count To: "user@hbase.apache.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hmm... Can you show us the exact commands you executed?=0A=0AAnd just to ru= le out the obvious:=0A1. There were no writes while you did the row count?= =0A2. In the RowCount M/R case you specified neither a range nor any column= s?=0A=0A=0ADo you always get the exact same numbers in both cases? Or do th= ey vary?=0A=0AThanks.=0A=0A-- Lars=0A=0A=0A----- Original Message -----=0AF= rom: kiran chitturi =0ATo: user =0ACc: =0ASent: Saturday, February 9, 2013 4:49 PM=0ASubject: Re: In= consistent row count between mapreduce and shell count=0A=0AYes. I just cou= nted the number of regions in '=0Ahttp://machine1:60010/table.jsp?name=3Ddo= cuments' and the count is 53 which=0Ais equal to the number of complete tas= ks in hadoop.=0A=0A=0AThanks,=0AKiran.=0A=0A=0AOn Sat, Feb 9, 2013 at 7:43 = PM, Ted Yu wrote:=0A=0A> Apart from the 5 killed task= s, was the number of successful tasks equal to=0A> the number of regions in= your table ?=0A>=0A> Thanks=0A>=0A> On Sat, Feb 9, 2013 at 4:14 PM, kiran = chitturi >wrote:=0A>=0A> > Hi!=0A> >=0A> > I= am using Hbase 0.94.1 version over a distributed cluster of 20 nodes.=0A> = >=0A> > When i execute hbase count over a table in a shell, i got the count= of=0A> > 2152416 rows.=0A> >=0A> > When i did the same thing using the row= counter mapreduce, i got the value=0A> > as below=0A> >=0A> > org.apache.ha= doop.hbase.mapreduce.RowCounter$RowCounterMapper$Counters=0A> > 13/02/10 00= :05:06 INFO mapred.JobClient:=A0 =A0 ROWS=3D1389991=0A> >=0A> > Same thing= happened when i used pig to count or do operations. There is=0A> > inconsi= stency between both the results.=0A> >=0A> > During the mapreduce, i have n= oticed that there are 5 tasks that are=0A> > killed. When i tried to trace = back to the tasktracker logs of the node it=0A> > shows similar to below lo= g.=0A> >=0A> > 2013-02-09_23:58:58.40665 13/02/09 23:58:58 INFO mapred.Task= Tracker: JVM=0A> > with ID: jvm_201302090035_0015_m_1905604998 given task:= =0A> > attempt_201302090035_0015_m_000012_1=0A> > 2013-02-09_23:59:03.57016= 13/02/09 23:59:03 INFO mapred.TaskTracker:=0A> > Received KillTaskAction f= or task: attempt_201302090035_0015_m_000012_1=0A> > 2013-02-09_23:59:03.570= 34 13/02/09 23:59:03 INFO mapred.TaskTracker:=0A> About=0A> > to purge task= : attempt_201302090035_0015_m_000012_1=0A> > 2013-02-09_23:59:03.61003 13/0= 2/09 23:59:03 INFO util.ProcessTree:=0A> Killing=0A> > process group9745 wi= th signal TERM. Exit code 0=0A> >=0A> > I have also tried to run the tool '= hbck' but it shows no inconsistencies.=0A> >=0A> > Can you please suggest m= e why there is inconsistency and how can i=0A> correct=0A> > it ?=0A> >=0A>= > Thanks,=0A> > --=0A> > Kiran Chitturi=0A> >=0A>=0A=0A=0A=0A-- =0AKiran C= hitturi=0A