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 1ECDE1059C for ; Wed, 2 Oct 2013 23:12:49 +0000 (UTC) Received: (qmail 70385 invoked by uid 500); 2 Oct 2013 23:12:46 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 70331 invoked by uid 500); 2 Oct 2013 23:12:46 -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 70323 invoked by uid 99); 2 Oct 2013 23:12:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2013 23:12:46 +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.217.176 as permitted sender) Received: from [209.85.217.176] (HELO mail-lb0-f176.google.com) (209.85.217.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2013 23:12:41 +0000 Received: by mail-lb0-f176.google.com with SMTP id y6so1322937lbh.7 for ; Wed, 02 Oct 2013 16:12:20 -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=TjJO+G6m4bg6b+M+9qSzERegp00iXS7nbCKxEP2N1ks=; b=oTREdr/kOvJeMjOgYtjbjqHxjRG10QKxpoEbCeEmTVt8Hn5vEQtUtt20WHVFukd8vZ w69Fezm0eLyGDG1U67PRy3zcgVUnJX3do/Nkvxzbg0e/LetEIm7pYj1MtFRJxAFpUug/ hGv31r7m7hk4Ws7I8eqrNfzxX4aJF5ViBRxDZnh4aeJ0LSMgU41iPqJMLBFwXfKzmciN 56TYDeuoh9Fdmn0U1u4hhhhSMvkRxvh+QXD4LY/Qn0DSJ6kBYcREMvo4pVwQ3Rh+70sF R1UElxIdMQnk4ZAUe1HZBjGQ8eaq2J4ANsX+/MSomjXj/UreMsohwhxWFtHfNt3vg4De kRCA== MIME-Version: 1.0 X-Received: by 10.112.168.170 with SMTP id zx10mr4178507lbb.0.1380755540115; Wed, 02 Oct 2013 16:12:20 -0700 (PDT) Received: by 10.112.129.40 with HTTP; Wed, 2 Oct 2013 16:12:20 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 Oct 2013 16:12:20 -0700 Message-ID: Subject: Re: Batch method From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a11c23c887d877a04e7ca339b X-Virus-Checked: Checked by ClamAV on apache.org --001a11c23c887d877a04e7ca339b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable How about this method ? http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/HTable.html#= batch(java.util.List, java.lang.Object[]) On Wed, Oct 2, 2013 at 3:57 PM, Renato Marroqu=EDn Mogrovejo < renatoj.marroquin@gmail.com> wrote: > Hi Ted, > > Thank you very much for answering! But I don't think HBASE-8112 is relate= d > to my question. I saw that the signature of the method changed in order t= o > retrieve partial results. I am using HBase 0.94.10 so does this version > will work like this? > And anyway, my problem is to determine which operation failed within a > batch of operations. Is this possible? > > > Renato M. > > > 2013/10/2 Ted Yu > > > Looks like this is related: > > HBASE-8112 Deprecate HTable#batch(final List) > > > > > > On Wed, Oct 2, 2013 at 3:35 PM, Renato Marroqu=EDn Mogrovejo < > > renatoj.marroquin@gmail.com> wrote: > > > > > Hi all, > > > > > > I am using the batch method[1] and it states that I will get an array > of > > > objects containing possibly null values. So my question is if there i= s > a > > > way on knowing which operation was the one that failed from this null > > > value? Or any other way in which I could check for the failing > operation? > > > Thanks in advance. > > > > > > > > > Renato M. > > > > > > [1] > > > > > > > > > http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/HTable.htm= l#batch(java.util.List) > > > > > > --001a11c23c887d877a04e7ca339b--