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 108D99175 for ; Tue, 31 Jan 2012 20:54:09 +0000 (UTC) Received: (qmail 90464 invoked by uid 500); 31 Jan 2012 20:54:07 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 90383 invoked by uid 500); 31 Jan 2012 20:54:06 -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 90375 invoked by uid 99); 31 Jan 2012 20:54:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 20:54:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of saint.ack@gmail.com designates 209.85.214.169 as permitted sender) Received: from [209.85.214.169] (HELO mail-tul01m020-f169.google.com) (209.85.214.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 20:54:00 +0000 Received: by obbta7 with SMTP id ta7so579962obb.14 for ; Tue, 31 Jan 2012 12:53:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=r6NdCEW5pZs1oC9UY+9LzUNl3Taz/XsHan+1FvI1uAk=; b=kLDHG/AyK8vIPJ4RQqIPR3zngOFYsGbzT1AcE87OThZT9A6whvOgXWyNziZHMYfBGm v+imiR+pPGoTpsLjSHm0+K9tvYBjAdYQQ05ZXgjoWruld9AwbwsKtWNN8own4OrbeqIN zfii/w525MY51QSXiwrFWimOOh1PLtaJXseh4= MIME-Version: 1.0 Received: by 10.182.76.135 with SMTP id k7mr36609777obw.62.1328043219627; Tue, 31 Jan 2012 12:53:39 -0800 (PST) Sender: saint.ack@gmail.com Received: by 10.182.7.101 with HTTP; Tue, 31 Jan 2012 12:53:39 -0800 (PST) In-Reply-To: <1fa0f7fa.19787.1352e98c4e8.Coremail.laozhenghit@126.com> References: <1fa0f7fa.19787.1352e98c4e8.Coremail.laozhenghit@126.com> Date: Tue, 31 Jan 2012 12:53:39 -0800 X-Google-Sender-Auth: PEZ6Pf5FI9j68oakLCntnmemXHE Message-ID: Subject: Re: the scan and row count lost many rows on my side From: Stack To: user@hbase.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2012/1/30 =E9=83=91=E5=BB=BA=E9=94=8B : > hello, this is my case: > my Hbase run on single machine and store data to local file system, not H= dfs > I have put lots of documents to a table in Hbase database > As screenshot attached, there are many regions with start key and end key > like "CN xxxxxxxxx A" and "CN xxxxxxx U" > But when i try to get the total number of rows of this table by command > "count" in Hbase shell, i got a number too small-49158, i think it should= be > 10 times more than that.=C2=A0and the keys printed out are all like "CN x= xxxxxx > B" > I also wrote some code use Scan to iterate the whole table, get the resul= t > same as shell > And if i try to get value of "CN xxxxxxx A", the shell can return value. > strange > I put so many data in it but i can't retrieve all of them now! > Please help me, thanks very much! > > No guarantees when you run using local filesystem; local filesystem does not implement sync. Did your server crash during upload process? St.Ack