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 C16BF200D71 for ; Thu, 21 Dec 2017 05:37:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BFC6F160C18; Thu, 21 Dec 2017 04:37:07 +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 DF092160C15 for ; Thu, 21 Dec 2017 05:37:06 +0100 (CET) Received: (qmail 78166 invoked by uid 500); 21 Dec 2017 04:37:05 -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 78154 invoked by uid 99); 21 Dec 2017 04:37:05 -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, 21 Dec 2017 04:37:05 +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 9AFBC1A01DE for ; Thu, 21 Dec 2017 04:37:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.321 X-Spam-Level: X-Spam-Status: No, score=-0.321 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.onmicrosoft.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id fspbj4S7rOUg for ; Thu, 21 Dec 2017 04:37:02 +0000 (UTC) Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 0F8145F30B for ; Thu, 21 Dec 2017 04:37:01 +0000 (UTC) X-AuditID: c1b4fb30-d49ff70000006bc7-6a-5a3b3a67def9 Received: from ESESSHC020.ericsson.se (Unknown_Domain [153.88.183.78]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id E3.47.27591.76A3B3A5; Thu, 21 Dec 2017 05:36:55 +0100 (CET) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.78) with Microsoft SMTP Server (TLS) id 14.3.352.0; Thu, 21 Dec 2017 05:36:54 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.onmicrosoft.com; s=selector1-ericsson-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=NFO9sTNCS5fHKor0W6QUJcxxe0L16rvTgadUEakAONE=; b=ZtirBd6KtrGifX7q1+wIpq6PEYSi4ghv8uPYIAPiNJgtM8XX7gM2EbvPKIc2g4f9EahgoJEpKcTO0/fyC/uRNk1/PhmzDU/XDwoT9MZg88/BD8fVdFQ0EzxtcJTXFgiWhfEugq3Ao0GAFrewwed2XVUEMnCAyHTF/WJCpSD7JZQ= Received: from AM0PR0702MB3731.eurprd07.prod.outlook.com (52.133.51.24) by AM0PR0702MB3539.eurprd07.prod.outlook.com (52.133.50.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.345.10; Thu, 21 Dec 2017 04:36:53 +0000 Received: from AM0PR0702MB3731.eurprd07.prod.outlook.com ([fe80::d52e:435e:1906:4f6b]) by AM0PR0702MB3731.eurprd07.prod.outlook.com ([fe80::d52e:435e:1906:4f6b%13]) with mapi id 15.20.0366.003; Thu, 21 Dec 2017 04:36:53 +0000 From: Subash K To: "user@hbase.apache.org" Subject: Hbase Snapshot Export Data storage Thread-Topic: Hbase Snapshot Export Data storage Thread-Index: AdN6FU+WaechmTaaQ+S83sr0t+M6lg== Date: Thu, 21 Dec 2017 04:36:53 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [125.17.76.43] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM0PR0702MB3539;6:mQAnhaQN9CbdPvOdWpymp3c3LrrQ0IbiG3d3nN4SbtmvbS7td4MjLbpBqvpSnHhbbAi9iUqhGB4OA74g3TgJi6rYs5FCZpLMxpq5EmK2y6To5YXbswF7rgiwi/w41vNx6MLFkestpfZFVUQQL29VZkaoe9ke3ZU1Lpbr/UuOasGH84zvAWcOc8b5Y+GxbPr1jWfIgfGqARYZByyeWSgdAK9IJIIAV01h3nbC0ZpSSJdOZpZmp5FMlK3ZtE66CHxnbHa88lRnOuiZdzLKiXuj94PKieoGoQ8a0MdavSmbjZJfwR9ON/O/O+Ze972T4XEsesQj7qMZQC+kFJBzGyKROjY947aoNMaj5b+DDhDae6E=;5:Xwc9j21IsqzqrQD3ZAp2LDgD4EfvcECPG5TKJi59BHchXmTJXz+WtD7oDOn722PDz3z38IjYixULwg/E8KfNUmzwGycpQiMjHWGug1dNK4ZwVsktgEZKhhvbGYXHaXZLE8wcNIaW1rYAZd3PyUqfju6X1mlI3wAPt8SzWuqAxDg=;24:2kApU45P0weeOELbEdWSDJWbqXjBGmcI6462tQIp4AmLVgbwuuAmWJyxyLgpDjYRsSyHZsGYLOj0VbOOkewqjQAdE/TSkGp3l73DTKh3ZGk=;7:wNC4dCQcos2NOooHeAHLt31zzpB364Tv8lauOveXRM6GY/PqtUbVO0wN3ZdPrQwaUuFC8Zkk5oQur95hJozOjNrm08RvKeSSsS32SG4u7Ti2rCIb/XU+wD56tgPYBwJZvwvG7haujmgzP0Zz0WxMKF/mpgWrqVAmKeYqHyeMbvYUSdyGbxwWU2seoZH/D7WAQGUjQSc6xeZR8NMT+7AWeO7EOzRuG/p51TlEwsTqvyptGhXnyp2Sm8pj+tq1L6Wj x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: c3597c17-eead-4305-6cfe-08d5482c75cc x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(5600026)(4604075)(3008031)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603307)(7153060);SRVR:AM0PR0702MB3539; x-ms-traffictypediagnostic: AM0PR0702MB3539: authentication-results: spf=none (sender IP is ) smtp.mailfrom=subash.k@ericsson.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863)(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040470)(2401047)(5005006)(8121501046)(3231023)(944501019)(10201501046)(93006095)(93001095)(3002001)(6041268)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(6072148)(201708071742011);SRVR:AM0PR0702MB3539;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:AM0PR0702MB3539; x-forefront-prvs: 0528942FD8 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39380400002)(396003)(366004)(39860400002)(376002)(346002)(189003)(199004)(3660700001)(3280700002)(9686003)(68736007)(8936002)(66066001)(478600001)(2351001)(2906002)(5640700003)(8676002)(5660300001)(790700001)(3846002)(2900100001)(6116002)(81156014)(6436002)(1730700003)(14454004)(316002)(86362001)(25786009)(7736002)(54896002)(97736004)(81166006)(53936002)(55016002)(74316002)(33656002)(19609705001)(106356001)(5250100002)(7696005)(59450400001)(105586002)(2501003)(6916009)(6306002)(99286004)(6506007)(102836004);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR0702MB3539;H:AM0PR0702MB3731.eurprd07.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_AM0PR0702MB3731C8AC10465F8730ACD06EF20D0AM0PR0702MB3731_" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: c3597c17-eead-4305-6cfe-08d5482c75cc X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Dec 2017 04:36:53.4104 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0702MB3539 X-OriginatorOrg: ericsson.com X-Brightmail-Tracker: H4sIAAAAAAAAA02Se0hTYRjG+XbOzo6rxWlqvqlFDBykNi+lmEqYSViS9V9zlTn1oNbcZMc0 tWgRSU6ETEydiBpmo2aJWV5KykukZoSi3UzIVDbLImdg3jKPn4L//b7neV7eCx9NSCuErnSK Np3Va9UaGSUmy5RN0XuSgkNUvgOd24PM5beIMBTZUviFPIFU4tBEVpOSwep9DsSJky1LNiqt Nfpid95xA6qPMCIHGph90GldIo1ITEuZTgRTD15R+NGNoOXOm1WHZAoImK0fFPAlUqZMAO1/ T+OUdSVlL6V4g2Lk8Ng4IeTZidkLE9aaVXZkvKCiq4zCui8sDluREdErrIDhkixeJhkPME2/ JXiWMHEwZCgW8YyYbTDba1ntSzAu8Hm8UoDHZqDm+TsCszNMjv0TYt4FhtF+EeYdMFCZj/g5 gekSQXmDjcSGAp4U/kSYj8G12y0EDjUjuDrYuhbyhtr89wI8hRIaJ4rXCnRQ/WlurVsUNPV+ IHHxIwIKzSUCfjNg3CHv6yaceSGEqt4ofDkW7tVdR/gorjAymIduIk/ThuUw68BWtCQyrR5j K/SUjZNY94aqZ3YKsxfUVv8g1rnv5Zhgo16FRPeRM8dy8alJ/v4KVp+SwHE6rULLpjeglU/T 3rjg24wmrQc7EEMj2WbJwz/BKqlQncFlpXYgoAmZkyRnZr9KKklUZ2Wzet1Z/QUNy3UgN5qU uUh6jkhUUiZJnc6eZ9k0Vr/uCmgHVwOiwvMr7S5tAY7pcuWv+slT00GG8cDdcqObZtQCmX5N 4knH7ws5ki3zgVcSzxx9razpyt252LasPakrj1GGeoR/LDR3+gT8ngs7XHTJVjv/LTc512wa GqoTXs5czo4Pu3tj5mlpjGIqIU9ujz1U2+/hzo1oTFnnEkLmC2ItEX2RMpJLVvt5EnpO/R+t VFVbMAMAAA== archived-at: Thu, 21 Dec 2017 04:37:07 -0000 --_000_AM0PR0702MB3731C8AC10465F8730ACD06EF20D0AM0PR0702MB3731_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable We have a use case to transfer data from one cluster to another cluster. As= of now we are using CopyTable, but it is having impact on region server an= d it is taking lot of time to complete data transfer from one to another. So we are exploring on HBase Export Snapshot feature and we have planned to= go ahead with the below steps. 1. Take snapshot of a table in Source 2. Execute ExportSnapshot job and send the snapshot to the destination 3. Restore the snapshot sent from source. 4. Now we are able to access the data. We want to understand how the data is handled in destination after restorin= g the snapshot. Because we can still see the data under /hbase/archive/data= directory in HDFS and only reference data is being maintained in /hbase/da= ta/ Can someone help us to understand 1. When the data under /hbase/archive/data will be removed? 2. When new data is inserted into the table, where the data will be stor= ed either in /hbase/archive/data or /hbase/data? 3. I tried to delete the snapshot and run major_compaction for the table= , the data got moved from /hbase/archive/data to /hbase /data. So, is major= _compaction required always after restoring snapshot to move the data to it= s respective data location? 4. I'm able to see that data is being stored in archive even if there is= no snapshot. Under what other scenario data will be stored in /hbase/archi= ve/data/ ? Regards, Subash Kunjupillai --_000_AM0PR0702MB3731C8AC10465F8730ACD06EF20D0AM0PR0702MB3731_--