Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1268D8095 for ; Mon, 22 Aug 2011 11:55:52 +0000 (UTC) Received: (qmail 8216 invoked by uid 500); 22 Aug 2011 11:54:11 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 74453 invoked by uid 500); 22 Aug 2011 11:52:08 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 53828 invoked by uid 99); 22 Aug 2011 11:50:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2011 11:50:25 +0000 X-ASF-Spam-Status: No, hits=-2000.9 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2011 11:50:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 334B7CA6D1 for ; Mon, 22 Aug 2011 10:05:29 +0000 (UTC) Date: Mon, 22 Aug 2011 10:05:29 +0000 (UTC) From: "ramkrishna.s.vasudevan (JIRA)" To: issues@hbase.apache.org Message-ID: <1350240627.675.1314007529206.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1775242191.50084.1313694329302.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (HBASE-4225) NoSuchColumnFamilyException in multi doesn't say which family is bad MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-4225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ramkrishna.s.vasudevan reassigned HBASE-4225: --------------------------------------------- Assignee: ramkrishna.s.vasudevan > NoSuchColumnFamilyException in multi doesn't say which family is bad > -------------------------------------------------------------------- > > Key: HBASE-4225 > URL: https://issues.apache.org/jira/browse/HBASE-4225 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.90.4 > Reporter: Jean-Daniel Cryans > Assignee: ramkrishna.s.vasudevan > Priority: Critical > Fix For: 0.90.5 > > > It's kind of a dumb one, in HRegion.doMiniBatchPut we do: > {code} > LOG.warn("No such column family in batch put", nscf); > batchOp.retCodes[lastIndexExclusive] = OperationStatusCode.BAD_FAMILY; > {code} > So we lose the family here, all we know is there's a bad one, that's what's in HRS.multi: > {code} > } else if (code == OperationStatusCode.BAD_FAMILY) { > result = new NoSuchColumnFamilyException(); > {code} > We can't just throw the exception like that, we need to say which one is bad even if it requires testing all passed MultiActions. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira