Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4695519808 for ; Wed, 13 Apr 2016 15:58:37 +0000 (UTC) Received: (qmail 73821 invoked by uid 500); 13 Apr 2016 15:58:35 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 73751 invoked by uid 500); 13 Apr 2016 15:58:35 -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 73735 invoked by uid 99); 13 Apr 2016 15:58:34 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2016 15:58:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 20857C3527 for ; Wed, 13 Apr 2016 15:58:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 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, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 9CGeXwSyvJ76 for ; Wed, 13 Apr 2016 15:58:32 +0000 (UTC) Received: from mail-yw0-f180.google.com (mail-yw0-f180.google.com [209.85.161.180]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 8584E5F1AE for ; Wed, 13 Apr 2016 15:58:31 +0000 (UTC) Received: by mail-yw0-f180.google.com with SMTP id i84so74644164ywc.2 for ; Wed, 13 Apr 2016 08:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=vkbwEAyaGM88YBBtvu9/AX6mSgQTXIVDEhrimGcH2As=; b=mZWXeP/6i6t9CmbTfra3B9daK9Aheymtk4o2wxdAGXqWa2KgmReQlHNtQgKUl6Gzw/ dlTblLRp6RfxZTlgTmB9lNERpMTPohmPm4kR1wfa/kAAY2RUu96kNZS+oHQ794TKKtzm DHMpS/KD8o9qgWYpxceeI4mIJQg6iQ82KzFOSGaMRxMSLAJuf2HTI5xgHIn5sTcT/jNl +H4p2QNVf/KmzNKXdasGRg64+59wwrpW8aRPwG1adb6EseSSNy4rqX4YUGqqeZIridLU Pv5/7udk6DKvzAsIJBQJTzBCoEcZZvkGMB7UGGkthuN8QtoTpqCUPAILQnDNz1tAdNI/ oHqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=vkbwEAyaGM88YBBtvu9/AX6mSgQTXIVDEhrimGcH2As=; b=IvEF/jouy8h/WkyDIjpNQiL+MWQXTC7/6VXvVeh32fEpYA9/CVta5P0caLpPd5BfUq cWskIdKAk7Kil+S540V6IAQ1uFfEbHAEHEy4qSFIxa3xQggn0MlX47ROQAfZhLg0jXkM 9q1Ks310X14JGeeAlu2K4BcLIuHirn/PX6W+Bw/rWmnx1Zr9MFSANUeZWtPv6d9zIql5 uHEAJULdvm7wkiXxaWt9GdyTgUw5LaiE9Y9kXoJMwFcy5xgLOx2On8QsCfyHQq3pS7kK Ws9fZ8ePHESwi9Bih0PDSM8u416DkjDKwOrdxIYA5mTYV8aoRtflnu7OGdUQjKXCJwx3 nT3w== X-Gm-Message-State: AOPr4FVtbg3eu6mXRqNsW2rV9fgTVqt1+9sUFvArGZL1YuL1q7qcaZon6K/P1bM5c0Qrd1tOry4zdoaSc0Ue/w== MIME-Version: 1.0 X-Received: by 10.13.206.196 with SMTP id q187mr5132444ywd.34.1460563110526; Wed, 13 Apr 2016 08:58:30 -0700 (PDT) Received: by 10.37.214.212 with HTTP; Wed, 13 Apr 2016 08:58:30 -0700 (PDT) In-Reply-To: <4C86198BF10EF549BC496C7F215A9CC70CBC6679@C111MFBLMBX07.ERF.thomson.com> References: <4C86198BF10EF549BC496C7F215A9CC70CBC6679@C111MFBLMBX07.ERF.thomson.com> Date: Wed, 13 Apr 2016 08:58:30 -0700 Message-ID: Subject: Re: Append Visibility Labels? From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a114e58426006cb05305fd99a --001a114e58426006cb05305fd99a Content-Type: text/plain; charset=UTF-8 There is currently no API for appending Visibility Labels. checkAndPut() only allows you to compare value, not labels. On Wed, Apr 13, 2016 at 8:12 AM, wrote: > We sell data. A product can be defined as a permission to access data (at > a cell level). Visibility Labels look like a very good candidate for > implementing this model. > > The implementation works well until we create a new product over old data. > We can set the visibility label for the new product but, whoops, by > applying it to the relevant cells we've overwritten all the existing labels > on those cells, destroying the permissioning of our older products. What to > do? > > One answer would be to append the new visibility label to the existing > label expressions on the cells with an 'OR'. But I'm not sure that's > possible .. yet? > > Thanks, > > Ben > > ________________________________ > > This e-mail is for the sole use of the intended recipient and contains > information that may be privileged and/or confidential. If you are not an > intended recipient, please notify the sender by return e-mail and delete > this e-mail and any attachments. Certain required legal entity disclosures > can be accessed on our website.< > http://site.thomsonreuters.com/site/disclosures/> > --001a114e58426006cb05305fd99a--