Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 32833200D0B for ; Tue, 29 Aug 2017 07:31:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 30B6E1660B6; Tue, 29 Aug 2017 05:31:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 77D291660B5 for ; Tue, 29 Aug 2017 07:31:58 +0200 (CEST) Received: (qmail 67697 invoked by uid 500); 29 Aug 2017 05:31:56 -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 67685 invoked by uid 99); 29 Aug 2017 05:31:56 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Aug 2017 05:31:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id DAFD7183E46 for ; Tue, 29 Aug 2017 05:31:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id El_QwLcSptVd for ; Tue, 29 Aug 2017 05:31:54 +0000 (UTC) Received: from mail-yw0-f169.google.com (mail-yw0-f169.google.com [209.85.161.169]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C795D61023 for ; Tue, 29 Aug 2017 05:31:52 +0000 (UTC) Received: by mail-yw0-f169.google.com with SMTP id s187so12173404ywf.2 for ; Mon, 28 Aug 2017 22:31:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=b0dr61B+eJWM3Bym8LO+e21fwYxJ0GKanrJoG8SfgYs=; b=n1kIbo3I8mx4uxD2awwcikLgXTfLK3+drb0Nec2pC66BVjAY+MCpEiUXz4dpXkkcZW JIjqbrzl6rmbv0pWdFcICPODZqhLpiogN5hfOXq1pHJxcddRAijuT504LOhAM0jVW7c6 C+vYHH8h366wpujNYfLdfYdwDKRDWtBOI/ap4jBCEFTHb6RgMwJofABmU6TSrBnwVL2l +iphpLj0Lvl4C2cjHHq3zqsuVhzWj3rl5FFpgWvBRzRJ1pl8Sn7jlpUFgIwwGks56RY5 L0KVIw7R8Ky7sJ/SLkrt3wIZCoZBj28LwTBqaCp+IXRBQP34zcHkNdATEuPwIAJwU5V+ g11A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=b0dr61B+eJWM3Bym8LO+e21fwYxJ0GKanrJoG8SfgYs=; b=RaMnuNAgspj7AGOKA3lnFs5p12ErBX6LIWPVYIvTta1O4AhobwvAFyhizYOhGzSsSF nO/GaV4QS0MVnHi73RilVzOpZAfGQPnjJs+559Ei4XrGdH1Oepz/pWgiqc4+NNyzFuin Djc48+JMNPtWK3v15xB4syt78NCabRZI4CXcXT2gEhv/SPuEkkq1uQdDDGScUTcQZIoU aMDO5gY4JMCV/19BK9QAXmDgByHKdG4Tx30WrPbcswjIRDO6ZhnlzrGPpDRMBn5ne5SL DCaDWCNnl6SgX810i5YVJhTIumcvPPOQwsjDwcJtU3iswHdGZAxXUHfspaw4kLciPXAE oStg== X-Gm-Message-State: AHYfb5jDjxTREnc5nJqzeebjwfyfcsQSCDPBJu7yq/kTTzfl43SfXjLL EQPZ8X3ESAPqmR4tJeE44vC7Z37IM3Xj X-Received: by 10.37.216.6 with SMTP id p6mr2452864ybg.17.1503984706477; Mon, 28 Aug 2017 22:31:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.83.25.78 with HTTP; Mon, 28 Aug 2017 22:31:46 -0700 (PDT) In-Reply-To: <59a49a5a.c725620a.bc307.47d6@mx.google.com> References: <59a49a5a.c725620a.bc307.47d6@mx.google.com> From: Cheyenne Forbes Date: Tue, 29 Aug 2017 00:31:46 -0500 Message-ID: Subject: Re: Co-processors: Know if row is being deleted by TTL To: user@hbase.apache.org Content-Type: multipart/alternative; boundary="001a114facda2d65640557ddba80" archived-at: Tue, 29 Aug 2017 05:31:59 -0000 --001a114facda2d65640557ddba80 Content-Type: text/plain; charset="UTF-8" I'm sorry, "*postDelete*" wasnt supposed to be a link, I copied the text and gmail sent it as a link. *Use case:* When a user is commenting with a photo it is uploaded to be able to be previewed and the id of the photo is added to a hbase table "tempFiles" with a 5 hour TTL for each row, if the user submits the comment, the row is deleted manually and *postDelete* would "ignore" it but if it isnt submitted and the TTL reaches, *postDelete* would run a piece of code which would delete the file from my file server On Mon, Aug 28, 2017 at 5:33 PM, Ted Yu wrote: > There is no such indication from the book you mentioned. > Can you tell us your use case where such distinction is needed ? > -------- Original message --------From: Cheyenne Forbes < > cheyenne.osanu.forbes@gmail.com> Date: 8/28/17 2:51 PM (GMT-08:00) To: > user@hbase.apache.org Subject: Co-processors: Know if row is being > deleted by TTL > Is is possible to know if a row is being deleted manually or by the > reaching of the TTL on "*postDelete > hbase/coprocessor/BaseRegionObserver.html#postDelete(org.apache.hadoop. > hbase.coprocessor.ObserverContext,%20org.apache. > hadoop.hbase.client.Delete,%20org.apache.hadoop.hbase. > regionserver.wal.WALEdit,%20boolean)>* > "? > > Regards, > > Cheyenne O. Forbes > --001a114facda2d65640557ddba80--