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 A27303AE5 for ; Thu, 28 Apr 2011 23:28:56 +0000 (UTC) Received: (qmail 48179 invoked by uid 500); 28 Apr 2011 23:28:55 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 48114 invoked by uid 500); 28 Apr 2011 23:28:55 -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 48106 invoked by uid 99); 28 Apr 2011 23:28:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 23:28:55 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of saint.ack@gmail.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qy0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 23:28:50 +0000 Received: by qyk30 with SMTP id 30so2202122qyk.14 for ; Thu, 28 Apr 2011 16:28:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zR/k6oVn30JHzKdhaLMezXEp2zd0dHwRZLg/VmVr5Lg=; b=s8q/f0ApsmEwDRzt27GbkOVkHypIiPzYQUSayAZHJ/A+SDnRxoHCXHwZXFjYA1rV9X Rt1h/Q0Tl/4+RNXh+12wWoo5XKg47kSlrzqSicld618+X0g/uw20TGNwgs1fXkCsJJO+ 4Ga4mbSiVRiA/bnGVHtCsj1TnAQHqCDgyT1So= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=uzWLKWXlvtgVcUvdpKTXQ4MHr/YOgmn918O+6Ls+dzEcCXcuypY7o4Ru1O/J/c7n2C gLAbD5mlxuD9piR7OG6IqAV40lObFNAnuXYHlhW++IB5WNMpDS/wki/zioWoSyK62MAL s2VX5EhU+Feaj+j/Ftzc8FgLTMkjqGBxInZgk= MIME-Version: 1.0 Received: by 10.224.172.142 with SMTP id l14mr3322103qaz.165.1304033308967; Thu, 28 Apr 2011 16:28:28 -0700 (PDT) Sender: saint.ack@gmail.com Received: by 10.224.29.6 with HTTP; Thu, 28 Apr 2011 16:28:28 -0700 (PDT) In-Reply-To: <4DB9AB17.30408@opendns.com> References: <4DB9AB17.30408@opendns.com> Date: Thu, 28 Apr 2011 16:28:28 -0700 X-Google-Sender-Auth: We4UBh9apShvIVzhICnBnjyBaSc Message-ID: Subject: Re: LoadIncrementalHFiles now deleting the hfiles? From: Stack To: user@hbase.apache.org Cc: CDH Users Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I took a look through the code and don't see any explicit removes and looking through history of changes to the file, I don't see any change of substance. Can you figure what is doing the delete? At what stage? Is it as completebulkload runs? St.Ack On Thu, Apr 28, 2011 at 10:59 AM, Adam Phelps wrote: > We were using a backup scheme for our system where we have map-reduce job= s > generating HFiles, which we then loaded using LoadIncrementalHFiles befor= e > making a remote copy of them using distcp. > > However we just upgraded hbase (we're using cloudera's package, so we wen= t > from CDH3B4 to CDH3U0, both of which are versions of 0.90.1), and discove= red > that the HFiles now get deleted by the load operation. =A0Is this a recen= t > change? =A0Is there a configuration variable to revert this behavior? > > We can work around it by doing the copy before the load, but that is less > than optimal in our scenario as we'd prefer to have quicker access to the > data in HBase. > > - Adam >