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 7CC429BA0 for ; Tue, 11 Oct 2011 17:51:36 +0000 (UTC) Received: (qmail 44494 invoked by uid 500); 11 Oct 2011 17:51:36 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 44461 invoked by uid 500); 11 Oct 2011 17:51:36 -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 44453 invoked by uid 99); 11 Oct 2011 17:51:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2011 17:51:36 +0000 X-ASF-Spam-Status: No, hits=-2000.5 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; Tue, 11 Oct 2011 17:51:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 328E2303E18 for ; Tue, 11 Oct 2011 17:51:12 +0000 (UTC) Date: Tue, 11 Oct 2011 17:51:12 +0000 (UTC) From: "Jonathan Gray (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <1618048595.1678.1318355472208.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1269439512.15619.1310689082368.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4102) atomicAppend: A put that appends to the latest version of a cell; i.e. reads current value then adds the bytes offered by the client to the tail and writes out a new entry MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-4102?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1312= 5225#comment-13125225 ]=20 Jonathan Gray commented on HBASE-4102: -------------------------------------- This is really nice Lars. I'd love to see integration with RWCC and to som= ehow unify the code with Increment. But I'm okay with committing this and = filing a follow-up JIRA. I'm also going to backport this into my local 92 branch but I think it shou= ld only be committed to trunk. Let's put all the polish on before putting = it in an official release. Nice work! =20 > atomicAppend: A put that appends to the latest version of a cell; i.e. re= ads current value then adds the bytes offered by the client to the tail and= writes out a new entry > -------------------------------------------------------------------------= ---------------------------------------------------------------------------= ----------------------- > > Key: HBASE-4102 > URL: https://issues.apache.org/jira/browse/HBASE-4102 > Project: HBase > Issue Type: New Feature > Reporter: stack > Assignee: Lars Hofhansl > Attachments: 4102-v1.txt, 4102.txt > > > Its come up a few times that clients want to add to an existing cell rath= er than make a new cell each time. At our place, the frontend keeps a list= of urls a user has visited -- their md5s -- and updates it as user progres= ses. Rather than read, modify client-side, then write new value back to hb= ase, it would be sweet if could do it all in one operation in hbase server.= TSDB aims to be space efficient. Rather than pay the cost of the KV wrap= per per metric, it would rather have a KV for an interval an in this KV hav= e a value that is all the metrics for the period. > It could be done as a coprocessor but this feels more like a fundamental = feature. > Beno=C3=AEt suggests that atomicAppend take a flag to indicate whether or= not the client wants to see the resulting cell; often a client won't want = to see the result and in this case, why pay the price formulating and deliv= ering a response that client just drops. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira