Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 42790 invoked from network); 29 Mar 2009 18:57:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Mar 2009 18:57:14 -0000 Received: (qmail 29068 invoked by uid 500); 29 Mar 2009 18:57:13 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 28986 invoked by uid 500); 29 Mar 2009 18:57:13 -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 28976 invoked by uid 99); 29 Mar 2009 18:57:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Mar 2009 18:57:13 +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; Sun, 29 Mar 2009 18:57:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6B21B234C003 for ; Sun, 29 Mar 2009 11:56:50 -0700 (PDT) Message-ID: <1065884037.1238353010423.JavaMail.jira@brutus> Date: Sun, 29 Mar 2009 11:56:50 -0700 (PDT) From: "Jonathan Gray (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-1249) Rearchitecting of server, client, API, key format, etc for 0.20 In-Reply-To: <728871099.1236620030451.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-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693602#action_12693602 ] Jonathan Gray commented on HBASE-1249: -------------------------------------- I'm a little bit confused about what you're saying. First, I don't think you or I have described any recent changes we've made in the design from the current posted docs. Namely, separation of the deletes after all the puts is not actually a good idea. Rather than separating them out and having a KV sort like (row,type,column,ts) it would be (row,column,ts,type). You end up building your delete list as you go but now you can early out in more cases. I will update the pdfs later in the week. Erik has also simplified the return codes of Get.compareTo. Regarding the DeleteFamily issue... There's some new DeleteSet object now that handles the merging of deletes and containment checking? Should be very simple for it to keep around a single, optional DeleteFamily (really just a timestamp... defaults to 0L and is checked every time, or set to null and skip it if none found (should be able to get away with an overhead of a single if == null check when no deletefamily present)... it would get set when reading a DeleteFamily and then just a single long check for each timestamp. Regarding #1 above, i don't follow why they can only set to now? The rule can and should be, you can do anything for now or anything in the past. How would setting something in the past break anything here? 2. This is what I'm proposing I guess? What's the downside? If no deletefamily, you have one line of code, a single instruction comparison. This is the least complex and seems efficient. 3. I think you're saying the entire row should be timestamp ordered here? As you know, I'm against that. :) > Rearchitecting of server, client, API, key format, etc for 0.20 > --------------------------------------------------------------- > > Key: HBASE-1249 > URL: https://issues.apache.org/jira/browse/HBASE-1249 > Project: Hadoop HBase > Issue Type: Improvement > Reporter: Jonathan Gray > Priority: Blocker > Fix For: 0.20.0 > > Attachments: HBASE-1249-Example-v1.pdf, HBASE-1249-Example-v2.pdf, HBASE-1249-GetQuery-v1.pdf, HBASE-1249-GetQuery-v2.pdf, HBASE-1249-GetQuery-v3.pdf, HBASE-1249-StoreFile-v1.pdf > > > To discuss all the new and potential issues coming out of the change in key format (HBASE-1234): zero-copy reads, client binary protocol, update of API (HBASE-880), server optimizations, etc... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.