Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@locus.apache.org Received: (qmail 14422 invoked from network); 7 Jan 2009 20:33:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jan 2009 20:33:55 -0000 Received: (qmail 67860 invoked by uid 500); 7 Jan 2009 20:33:53 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 67845 invoked by uid 500); 7 Jan 2009 20:33:53 -0000 Mailing-List: contact hbase-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-user@hadoop.apache.org Delivered-To: mailing list hbase-user@hadoop.apache.org Received: (qmail 67834 invoked by uid 99); 7 Jan 2009 20:33:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 12:33:53 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of timrobertson100@gmail.com designates 209.85.217.10 as permitted sender) Received: from [209.85.217.10] (HELO mail-gx0-f10.google.com) (209.85.217.10) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 20:33:46 +0000 Received: by gxk3 with SMTP id 3so2098204gxk.5 for ; Wed, 07 Jan 2009 12:33:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=3gYU3fh69g5ODwB+mrTzqUoVi4EdmAmy4oYHAQOlo94=; b=jiJjzwLFcgAkcafnVIPLiiSSsHqPfyhYPPY8X0Jl7cu3l8fGUtfgvGdT3taRd/hBnr i9+xT8wSf0tscoMJcCTwJZjkTb+NP14qC2AShZFk+gRA0eB+D1UqqkfGxJmwvzRzYY9x 9dTecRK1hhLmVM43xR1lNRbfvxDv2fEOlgO8U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=UUMrF7FWj2wSA0P+wpwp2lc8Niln1rqxhTyaGMDdGR9incO7uHttqdYOaZ6NNsZ63D DDqc1NAftzn+utUJCkmvNWjaFTsac5cpaMMIWbvH6rVwUBxUtCSE5sFoT6BM6rN3xvyi 4QWRuONYuByJtZGZNlmHVgOebGlmBTVIykQzQ= Received: by 10.142.234.16 with SMTP id g16mr9805023wfh.107.1231360404617; Wed, 07 Jan 2009 12:33:24 -0800 (PST) Received: by 10.142.188.8 with HTTP; Wed, 7 Jan 2009 12:33:24 -0800 (PST) Message-ID: <32120a6a0901071233r729e8381j8748016a30444e96@mail.gmail.com> Date: Wed, 7 Jan 2009 21:33:24 +0100 From: "tim robertson" To: hbase-user@hadoop.apache.org Subject: UnknownScannerException MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi all, Doing some concurrent tests with the following operations running on a single table: - mass insert into family1 - scanner running parsing records from family1, and updating same row into family2 - lucene index built from family2 I am seeing occasionally the following exception (not reproducible reliably): Exception in thread "main" java.lang.RuntimeException: org.apache.hadoop.hbase.UnknownScannerException: org.apache.hadoop.hbase.UnknownScannerException: Name: -6847297385504321434 at org.apache.hadoop.hbase.regionserver.HRegionServer.next(HRegionServer.java:1077) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.hbase.ipc.HbaseRPC$Server.call(HbaseRPC.java:554) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:888) at org.apache.hadoop.hbase.client.HTable$ClientScanner$1.hasNext(HTable.java:1195) at com.ibiodiversity.index.parse.OccurrenceParser.run(OccurrenceParser.java:29) at com.ibiodiversity.index.parse.OccurrenceParser.main(OccurrenceParser.java:52) Just running on laptop right now and a small table (1,000,000 rows) as a first test - here is the scanner loop that is dying: HTable table = new HTable("occurrence"); Scanner scanner = table.getScanner(new String[]{"unparsed:latitude", "unparsed:longitude"}); for (RowResult result : scanner) { BatchUpdate batchUpdate = new BatchUpdate(result.getRow()); Cell latitude = result.get("unparsed:latitude".getBytes()); Cell longitude = result.get("unparsed:longitude".getBytes()); batchUpdate.put("parsedGeospatial:latitude", parse(latitude.getValue())); batchUpdate.put("parsedGeospatial:longitude", parse(longitude.getValue())); table.commit(batchUpdate); } Am I abusing HBase running on the laptop (just in development...)? Thanks, Tim