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 6F8EA113AA for ; Mon, 19 May 2014 22:13:30 +0000 (UTC) Received: (qmail 74736 invoked by uid 500); 19 May 2014 22:13:28 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 74676 invoked by uid 500); 19 May 2014 22:13:28 -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 74668 invoked by uid 99); 19 May 2014 22:13:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 May 2014 22:13:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.160.173 as permitted sender) Received: from [209.85.160.173] (HELO mail-yk0-f173.google.com) (209.85.160.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 May 2014 22:13:24 +0000 Received: by mail-yk0-f173.google.com with SMTP id 142so5016513ykq.4 for ; Mon, 19 May 2014 15:13:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=L8hENGL0Q0nT8jvMDia6O6XhfLs3loAzYufv/J4GJbw=; b=DsGGwx9tTNTToMY+i3znm6Y7mq7uXYMRnxBXaIpPmQ+uC2XBMb0WKfEHvsT+ZMciGu MfzVjxc1kNF80JsMurArYqGiDawbhiV4/e+EMtcbaolKKMuzxD1hxwBq3o6mJOR2LFyH TztRmeKERxI73x2z7JL9HCFeFBSugeS7X+p2y6qmPzsYsMxPlSo4AyV7luzCWdQllyJI 84SN0xuLnZL78aUsjr5GcWpLRdzbk5rCo40XPBRt/lEMXnO9Aijtex73YV+aR8G+5fW8 PXrdCLBjcQgXqwXuzyESPfhO4UG7Xq3D++ZjMiYZ9twHECfZSW79hm2Du/qwYHTRicq5 shnw== MIME-Version: 1.0 X-Received: by 10.236.159.67 with SMTP id r43mr57427443yhk.50.1400537583583; Mon, 19 May 2014 15:13:03 -0700 (PDT) Received: by 10.170.37.144 with HTTP; Mon, 19 May 2014 15:13:03 -0700 (PDT) In-Reply-To: References: Date: Mon, 19 May 2014 15:13:03 -0700 Message-ID: Subject: Re: Intermittent TableInputFormat error From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=20cf30434c642a243804f9c811b9 X-Virus-Checked: Checked by ClamAV on apache.org --20cf30434c642a243804f9c811b9 Content-Type: text/plain; charset=UTF-8 Looking at the exception message, bytes field of the KeyValue had 0 length. Among the places in KeyValue where bytes field is assigned, I find this around line 2419 (trunk code): // TODO: perhaps some sanity check is needed here. byte [] bytes = new byte[Bytes.toInt(intBytes)]; If bytes has 0 length at time of KeyValue, we should report / bail out early. Cheers On Mon, May 19, 2014 at 2:52 PM, Jim Klucar wrote: > Ted, > > Here are the mapper Exceptions. The first thing the mapper does is try to > create an "EventKey" object and emit it with the value. Code snippet is in > pastebin. > > http://pastebin.com/yNyBxsx3 > > One thing we're doing that may be different is that we're continuously > bulk-loading data into HBase. > > > > > On Thu, May 15, 2014 at 11:19 AM, Jim Klucar wrote: > > > Hello, > > > > We are running map/reduce over HBase 0.96.2-hadoop1 with TableInputFormat > > and get an intermittent error that we can't track down. It shows up in > > different jobs and we can reprocess the same data with no problems. Our > > theory is that HBase may be migrating a region to a different server > while > > the scanner is reading it. Perhaps there is some setting we can enable to > > prevent this? > > > > Here's the stack trace we get: > > http://pastebin.com/Wh3ZBC0J > > > > Any insight is appreciated, let me know if you would like me to gather > any > > other log data. > > > > Thanks, > > Jim > > > > > > > > > > > > > > > --20cf30434c642a243804f9c811b9--