From user-return-55507-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Wed Sep 5 21:15:39 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 E6E4F180654 for ; Wed, 5 Sep 2018 21:15:38 +0200 (CEST) Received: (qmail 82174 invoked by uid 500); 5 Sep 2018 19:15:37 -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 82158 invoked by uid 99); 5 Sep 2018 19:15:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2018 19:15:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 5490AC1CE0 for ; Wed, 5 Sep 2018 19:15:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.888 X-Spam-Level: * X-Spam-Status: No, score=1.888 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_H2=-0.001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd4-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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id tktqSle-_5j9 for ; Wed, 5 Sep 2018 19:15:32 +0000 (UTC) Received: from mail-ua1-f41.google.com (mail-ua1-f41.google.com [209.85.222.41]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id BFB705F3CD for ; Wed, 5 Sep 2018 19:15:31 +0000 (UTC) Received: by mail-ua1-f41.google.com with SMTP id r15-v6so6762264uao.1 for ; Wed, 05 Sep 2018 12:15:31 -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=DUpY54vm+suYg1fl0xKTgmXHGUoji5FyZcnZo6tGnNA=; b=XG1WSVh2gBo+wabUc17HRjRc/knaUrcl8GKD7M0U22hdA7iDJ3wMniX07rSPNRZH4N MP8qTOFZLrLwaLneT+H06Zn041Cs30p+cfGx8ilWU6rRzIM6LalDiWy0ihZK8/rXea3m xdllgk28ACKTP4FaiaoAc97IfSJ+3hsOnhCasaL/fowKsYFGx3JCRcBhQ6pzibcWRutn hRnjo1NMtDyaOej9ZMKV8JbPEEhmzNWJ60Fzoe8VLjuSPkQ3eZ6JDn1T8wWHePq+qw/+ M21NWXGbXIjzlxVsxqL1wcFl2i/+kEsAhdfv1Ec72csPZbVcT35g34b+cH0ghGsaOSPV Vj2Q== 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=DUpY54vm+suYg1fl0xKTgmXHGUoji5FyZcnZo6tGnNA=; b=qbqlko+EIRwWA3slaKpaqfwF+SEadNTMMDeoCPn0W+sboBQs/ejgK+Wz+rg6wBSumM 1M79VGUY7eZsYR3uoU+Fpi14GJ+bHehGCnAQHfa5gUdVY69Pbr2h9ZIjK5PYkac1PJSh RRaVePn8JGfp+yo93pyvZErO4fItjNtF7va8mzluwtnyBK9AROiOWEwmYatoz9mL7T1V S74j+sSVMI9D3o9Xy2p1yza78xShlsPilPeQ9AhyYzh8qoYgTkFyjOZLWSWhIfgticnr 1r4czLRY6t7pHZRXI7h0rCSW+1pTUHJpNrKPSajs1QraVqESnB4QUzZr2jeEojePlDTy Lvmg== X-Gm-Message-State: APzg51ATF91Ph6XC8zQeNSu8I/ByAEVk3HbCA1FaupBPxTjojM2xuZ+i uvuSbW0ZyWlDBf5jMmn+PopL0xbNiYmAuPr2nvpk2w== X-Google-Smtp-Source: ANB0VdZTiC1t1b7XG8UeXV7QXLMWxenATdfPHQZquXGF9G3W9Hxfqw+qh8vflUMHjp+th8SgUJP7XDonfQa1mGGyqk4= X-Received: by 2002:ab0:51ac:: with SMTP id g41-v6mr21380065uaa.155.1536174924920; Wed, 05 Sep 2018 12:15:24 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Vladimir Rodionov Date: Wed, 5 Sep 2018 12:15:13 -0700 Message-ID: Subject: Re: question on snapshot and export utility To: user@hbase.apache.org Content-Type: multipart/alternative; boundary="000000000000b67cc6057524980e" --000000000000b67cc6057524980e Content-Type: text/plain; charset="UTF-8" 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. > --000000000000b67cc6057524980e--