Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A7626FE12 for ; Tue, 16 Apr 2013 03:27:04 +0000 (UTC) Received: (qmail 64297 invoked by uid 500); 16 Apr 2013 03:27:02 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 63951 invoked by uid 500); 16 Apr 2013 03:27:02 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 63934 invoked by uid 99); 16 Apr 2013 03:27:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2013 03:27:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.217.178 as permitted sender) Received: from [209.85.217.178] (HELO mail-lb0-f178.google.com) (209.85.217.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2013 03:26:58 +0000 Received: by mail-lb0-f178.google.com with SMTP id q13so121686lbi.23 for ; Mon, 15 Apr 2013 20:26:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=L51VAci8XlR0M8PGBckwSnSj4tYnXlU5duAlMfoEncc=; b=cYuYebH5kaleoK6FJZQCe+cqha3oJi0aZ1chOGNwU1SNExcvMlXG77kTZRD2x3STqy cKAGjxhgekSUP/UxteoBdZW87u2FOUOdZrtJCMlifxdNHJebhi+bYpafOuePr/JOGZiq qKEXYKzacC6iDBosvqPJ0wRxpa8ncZ/9Juup8p+ovaOdHE2gQkeiRiUFMaBXSGEFr0sF OyxCM2A+rFxO/EhDVB1aHfrXnoNRCtjw4n4vrGS2gHMUyM+Jj+Nou+ctDEe/iWYIGxNJ OSQxwXoG47UGgjDnlu3m4KgGb8g1fhVnS6mGULXh+Bz/EL74LlDOR0kXPd7NW8Mpi00J pYFw== MIME-Version: 1.0 X-Received: by 10.152.3.137 with SMTP id c9mr259631lac.5.1366082796604; Mon, 15 Apr 2013 20:26:36 -0700 (PDT) Received: by 10.112.5.101 with HTTP; Mon, 15 Apr 2013 20:26:36 -0700 (PDT) In-Reply-To: References: <1366081212.85695.YahooMailNeo@web140603.mail.bf1.yahoo.com> Date: Mon, 15 Apr 2013 20:26:36 -0700 Message-ID: Subject: Re: collision in the naming of '.snapshot' directory between hdfs snapshot and hbase snapshot From: Ted Yu To: hdfs-dev@hadoop.apache.org, dev@hbase.apache.org Content-Type: multipart/alternative; boundary=089e01494232d351e204da71ef3c X-Virus-Checked: Checked by ClamAV on apache.org --089e01494232d351e204da71ef3c Content-Type: text/plain; charset=ISO-8859-1 Putting back dev@hbase. ".hbase-sanpshot" would be created at cluster startup. After that user wouldn't be able to use the same directory name. On Mon, Apr 15, 2013 at 8:23 PM, Azuryy Yu wrote: > I think ".hbase-sanpshot" is good, but we should also disallow user to > create ".hbase-sanpshot" under hbase.root sub directories. > > > On Tue, Apr 16, 2013 at 11:18 AM, Ted Yu wrote: > > > I plan to rename ".sanpshot" in HBase to ".hbase-sanpshot" > > > > Please suggest better name in future correspondence. > > > > Thanks > > > > On Mon, Apr 15, 2013 at 8:12 PM, Ted Yu wrote: > > > > > Lars: > > > I will go ahead and log an HBase JIRA, tomorrow morning. > > > > > > This hopefully would give people enough time to respond. > > > > > > Cheers > > > > > > > > > On Mon, Apr 15, 2013 at 8:00 PM, lars hofhansl > wrote: > > > > > >> OK. Let's try to fix that quickly, so that I can release HBase 0.94.7. > > >> > > >> -- Lars > > >> > > >> > > >> > > >> ________________________________ > > >> From: Ted Yu > > >> To: dev@hbase.apache.org; hdfs-dev@hadoop.apache.org > > >> Sent: Monday, April 15, 2013 7:13 PM > > >> Subject: collision in the naming of '.snapshot' directory between hdfs > > >> snapshot and hbase snapshot > > >> > > >> > > >> Hi, > > >> This afternoon Huned ad I discovered an issue while playing with HBase > > >> Snapshots on top of Hadoop's Snapshot branch ( > > >> http://svn.apache.org/viewvc/hadoop/common/branches/HDFS-2802/). > > >> > > >> HDFS (built from HDFS-2802 branch) doesn't allow paths with .snapshot > > as a > > >> component while HBase tries to create paths with .snapshot as a > > component. > > >> This leads to issues in HBase, and one of HDFS or HBase needs to give > up > > >> the .snapshot reserved keyword. HBase released Snapshots feature in > > 0.94.6 > > >> (quite recently) and it may not be too late to change HBase to use a > > >> different path component in an upcoming new release. > > >> > > >> In HBase these path names are not user visible. If there is a > deployment > > >> of > > >> 0.94.6, one could provide a migration tool that renames .snapshot to > > >> .hbase-snapshot or something to be able to move to the Snapshot > release > > of > > >> Hadoop. On the other hand, .snapshot in HDFS is a user visible name > and > > is > > >> a convention that is used by many file systems. It's a matter of > > >> familiarity with such path names that would help users in using HDFS > > >> snapshots. > > >> > > >> I am including the hdfs-dev in this email. Would appreciate if we > could > > >> work together and come up with a solution. > > >> > > >> You can find sample output from hdfs command here: > > >> http://pastebin.com/bBqR4Fvr > > >> > > >> Cheers > > >> > > > > > > > > > --089e01494232d351e204da71ef3c--