From user-return-55510-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Thu Sep 6 21:30:31 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 26CBD180668 for ; Thu, 6 Sep 2018 21:30:30 +0200 (CEST) Received: (qmail 26064 invoked by uid 500); 6 Sep 2018 19:30:29 -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 26040 invoked by uid 99); 6 Sep 2018 19:30:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2018 19:30:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B166F1A1A81 for ; Thu, 6 Sep 2018 19:30:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.869 X-Spam-Level: * X-Spam-Status: No, score=1.869 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, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd2-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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 3ka2CkY7G2I6 for ; Thu, 6 Sep 2018 19:30:27 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 36C8C5F125 for ; Thu, 6 Sep 2018 19:30:27 +0000 (UTC) Received: by mail-wm0-f52.google.com with SMTP id f21-v6so12485976wmc.5 for ; Thu, 06 Sep 2018 12:30:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=jK/0Hvyt2Z7qOuaQIXUZkHAvFwfjaH5tJGHhbAUYFyE=; b=dtxyxA9np38jc/nFC6aMiDQ3nfZ0R/vdo4FsHQQc/L0PqCGvsNKbMktgSSHMqkrAGm t+qUCZlk782eWr/Zvic2t0fbxRQ28FvUnpdL4TTMvW8LqnooRbB5nbRsLP6FDHX/j7Tl q2Fwvjjh7s1dSBNkslMoDvokDt3U6Ilag6jLh2Voj6qMvE8amMgAolvP2D9uSpDW97cV 1cWRuCWcC78hgLbG1Jq9EawceziuOf9V3y2cyMxd4bXXbEH1zr+dnjxW+fkfAEXmpfZh QtQ6BF/ul86uUejxMVqGgYR3bQo61HawsHjJedfxlNWnKEB2IWSzJ1EkeX/HxasSjzi6 jxYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=jK/0Hvyt2Z7qOuaQIXUZkHAvFwfjaH5tJGHhbAUYFyE=; b=qx+EyCfFU0w7yHFakDFCtMia/a30p1kaUwpSnDaFYakUP2StE039dLX1dibVgHU+jt 90Vd4I8FCjZ8W//5QkwE4BIGGjvMpawbS062V3lSW/BNRkAr6rmFYKkTmeaGRTLTiyCY 8EJ+4Q+jk4iZKHnxQ8DTY7iYQ3rioXZ+CvQNbEoO2vZ2MtV/idchlUhWj4ZO5MV9Jlvc 7qlHgH+3CQyb9kuPRrfi+mMl3z1P0RhEbkAldLtOgZHkxGPHbJX+VI612hHz0JrPhl+4 cvudHm7LneMdqvGfgKkBsXfdtIMdFnthRXue8OWJkUT2WwST5llff//bzGUmx9vWWez2 SZtw== X-Gm-Message-State: APzg51AGFmBL6niePE5e8b7fWD98WmXSZm90fjcDhdgD2OVXLzsfRCJf u1/ImAIcQNtz3JWP/2YtwXq8FVFhA4YAaGra6dI83g== X-Google-Smtp-Source: ANB0VdawVqsYTlvfhFZyqJCsgXfBPGd4BCLBx+8bKJV42EPBv1Qo0FUwBRmMwvtHPyCzU+5hdRtehJ8fbtBzEesoBOs= X-Received: by 2002:a1c:e904:: with SMTP id q4-v6mr3321616wmc.154.1536262221503; Thu, 06 Sep 2018 12:30:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Antonio Si Date: Thu, 6 Sep 2018 12:30:10 -0700 Message-ID: Subject: Re: question on snapshot and export utility To: user@hbase.apache.org Content-Type: multipart/alternative; boundary="000000000000fea261057538eb65" --000000000000fea261057538eb65 Content-Type: text/plain; charset="UTF-8" Thanks Vlad. I will take a look. Antonio. On Wed, Sep 5, 2018 at 12:15 PM Vladimir Rodionov wrote: > No, it is not, to my best knowledge. ExportSnapshot just move files to new > destination using M/R job. > But, you can do the custom filtering yourself. Look at ExportSnapshot > implementation. All you need is a new > Mapper which does required filtering of a HFile before moving data to a > destination. > > -Vlad > > On Wed, Sep 5, 2018 at 10:51 AM Antonio Si wrote: > > > Hi, > > > > When taking a snapshot or running the export utility, is it possible to > > specify a condition or filter on some columns so that only rows that > > satisfy the condition will be included in the snapshot or exported? > > > > Thanks. > > > > Antonio. > > > --000000000000fea261057538eb65--