Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 76939 invoked from network); 19 Sep 2009 00:18:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Sep 2009 00:18:43 -0000 Received: (qmail 40343 invoked by uid 500); 19 Sep 2009 00:18:40 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 40315 invoked by uid 500); 19 Sep 2009 00:18:40 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 40267 invoked by uid 99); 19 Sep 2009 00:18:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Sep 2009 00:18:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Sep 2009 00:18:37 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 01E99234C044 for ; Fri, 18 Sep 2009 17:18:16 -0700 (PDT) Message-ID: <1165480444.1253319495993.JavaMail.jira@brutus> Date: Fri, 18 Sep 2009 17:18:15 -0700 (PDT) From: "Erik Holstad (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-1845) Discussion issue for multi calls, MultiDelete, MultiGet and MultiPut In-Reply-To: <408073606.1253116317719.JavaMail.jira@brutus> 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-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757553#action_12757553 ] Erik Holstad commented on HBASE-1845: ------------------------------------- @Stack Deprecating sounds good to me, will have the old calls use this new one behind the scenes if we decide to use this. I would say that checking if the list is sorted will probably go pretty fast, usually, since it breaks at the first occurrence of an unsorted element, but I'm open to remove it, would like to do some timing test to see if it is worth it or not before making the decision. Will add the check for one element Like the name Results, but not really liking Rows but it is not a big deal to me either. Think that batch is kinda ok. The reason that Row needs to be writable is the same as for Filter. Will make it WritableComparable, so that will lead to Gets, Puts and Deletes just implement Row. Not sure that this is good though, to hide those inside Row? As the code is written now, you can mix and match all of the types into one batch, but I need to do more testing on this and we might need to extend the compare code to include something more than row. Yeah, I guess that it what that means, Not really sure what would be the best alternative here and if we are looking to make HTable thread safe? I have done some test for recovery, that are not in the patch, but those required modifying the actual code, but will try to figure something out so we can put it in a unit test. > Discussion issue for multi calls, MultiDelete, MultiGet and MultiPut > -------------------------------------------------------------------- > > Key: HBASE-1845 > URL: https://issues.apache.org/jira/browse/HBASE-1845 > Project: Hadoop HBase > Issue Type: New Feature > Reporter: Erik Holstad > Fix For: 0.21.0 > > Attachments: batch.patch, multi-v1.patch > > > I've started to create a general interface for doing these batch/multi calls and would like to get some input and thoughts about how we should handle this and what the protocol should > look like. > First naive patch, coming soon. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.