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 AA01B11B08 for ; Thu, 1 May 2014 12:39:16 +0000 (UTC) Received: (qmail 92019 invoked by uid 500); 1 May 2014 12:39:11 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 91349 invoked by uid 500); 1 May 2014 12:39:03 -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 91341 invoked by uid 99); 1 May 2014 12:39:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2014 12:39:01 +0000 X-ASF-Spam-Status: No, hits=2.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of konstt2000@gmail.com designates 74.125.82.169 as permitted sender) Received: from [74.125.82.169] (HELO mail-we0-f169.google.com) (74.125.82.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2014 12:38:55 +0000 Received: by mail-we0-f169.google.com with SMTP id u56so3096027wes.0 for ; Thu, 01 May 2014 05:38:34 -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=Vcbj93cXT/7MMmQrZQd42U+P93KrbjHUAcMgH3bYSWE=; b=SF0xdg65tVAA1318nTfGiV5ImV7CGH2DwnFnL42AAIaqvCJlyxJcRv8XLxzN9My+9P xseQu9kSFD6SzcG5SbO6k1d+bA82G6A+4qTZm2qhf8BhwwkYdmgHaHkQ63Z9243/62Tl 0gWjWz3dFen51rL/DMtzSC5RiYE2DoyndYHI632vTJBOm95fi23+P09vI9vc7ZVoH7hq 1KtSAo+eTXsQSt4Jme01Z9vJ27fF5dnoix/v+frXFeMDkhstn21B/ZIU4LKZo3eYfNk2 Cx7FlQxZyLHBvTwbPd86J6MR1OhxoNsvHs6Gnd0tm5aU6nGla25F4XQfg9bH0iOOFSrA Z5OQ== MIME-Version: 1.0 X-Received: by 10.180.211.116 with SMTP id nb20mr2069425wic.5.1398947914280; Thu, 01 May 2014 05:38:34 -0700 (PDT) Received: by 10.217.54.132 with HTTP; Thu, 1 May 2014 05:38:34 -0700 (PDT) In-Reply-To: References: Date: Thu, 1 May 2014 14:38:34 +0200 Message-ID: Subject: Error loading SHA-1 keys with load bulk From: Guillermo Ortiz To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a11c26ab47d752604f855f1fa X-Virus-Checked: Checked by ClamAV on apache.org --001a11c26ab47d752604f855f1fa Content-Type: text/plain; charset=UTF-8 I have been looking at the code in HBase, but, I don't really understand what this error happens. Why can I put in HBase those keys? 2014-04-30 17:57 GMT+02:00 Guillermo Ortiz >: > I'm using HBase with MapReduce to load a lot of data, so I have decide to > do it with bulk load. > > > I parse my keys with SHA1, but when I try to load them, I got this > exception. > > java.io.IOException: Added a key not lexically larger than previous key=\x00(6e9e59f36a7ec2ac54635b2d353e53e677839046\x01l\x00\x00\x01E\xB3>\xC9\xC7\x0E, lastkey=\x00(b313a9f1f57c8a07c81dc3221c6151cf3637506a\x01l\x00\x00\x01E\xAE\x18k\x87\x0E > at org.apache.hadoop.hbase.io.hfile.AbstractHFileWriter.checkKey(AbstractHFileWriter.java:207) > at org.apache.hadoop.hbase.io.hfile.HFileWriterV2.append(HFileWriterV2.java:324) > at org.apache.hadoop.hbase.io.hfile.HFileWriterV2.append(HFileWriterV2.java:289) > at org.apache.hadoop.hbase.regionserver.StoreFile$Writer.append(StoreFile.java:1206) > at org.apache.hadoop.hbase.mapreduce.HFileOutputFormat$1.write(HFileOutputFormat.java:168) > at org.apache.hadoop.hbase.mapreduce.HFileOutputFormat$1.write(HFileOutputFormat.java:124) > at org.apache.hadoop.mapred.ReduceTask$NewTrackingRecordWriter.write(ReduceTask.java:551) > at org.apache.hadoop.mapreduce.task.TaskInputOutputContextImpl.write(TaskInputOutputContextImpl.java:85) > > I work with HBase 0.94.6. I have been loking for if I could define any reducer, since, I have defined no one. I have read something about KeyValueSortReducer but, I don'tknow if there's something that extends TableReducer or I'm lookging for a wrong way. > > > --001a11c26ab47d752604f855f1fa--