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 52E9CFA54 for ; Tue, 26 Mar 2013 01:11:12 +0000 (UTC) Received: (qmail 88634 invoked by uid 500); 26 Mar 2013 01:11:10 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 88546 invoked by uid 500); 26 Mar 2013 01:11:10 -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 88517 invoked by uid 99); 26 Mar 2013 01:11:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Mar 2013 01:11:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.212.177 as permitted sender) Received: from [209.85.212.177] (HELO mail-wi0-f177.google.com) (209.85.212.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Mar 2013 01:10:45 +0000 Received: by mail-wi0-f177.google.com with SMTP id hm14so24793wib.10 for ; Mon, 25 Mar 2013 18:10:24 -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=GHWfZZ3oxhCJIDOmrTiG4FWp0couQ8ZTXi4YhzRSoF0=; b=CaLR5cfUwI56gUSbjM7KaaWbNAdkg36KWkz55VlqL/+KHff3v22o0Iv3jHDdOeP4vS FbzaDT81Rt6sgeyCxtypu1WXah6UfDf5UO4UUXPNgNunlgJI/U0q61xcMoGjqk3+vqWI ZXvYQG/7ONXkx6Eyv+INLQ3jt67rr4tF/WwThQloSfGXcC5qCSrbc7U8D/8qaMTtg2/l v4dy1YicmPfkf0NlVNuzgWKHd2QV+HumbIpzQSI38z40FAqHRFovqsnDax4uUI/VREWU /mbET+Cfg9anLL9GnnA9KZ621HUBIyuAqgV+UVUdAsrtzAy+G4+K7URVDKatsH+yp5Ys cDzA== MIME-Version: 1.0 X-Received: by 10.180.82.33 with SMTP id f1mr82110wiy.13.1364260224794; Mon, 25 Mar 2013 18:10:24 -0700 (PDT) Received: by 10.194.35.130 with HTTP; Mon, 25 Mar 2013 18:10:24 -0700 (PDT) In-Reply-To: References: Date: Mon, 25 Mar 2013 18:10:24 -0700 Message-ID: Subject: Re: hbase/.archive doesn't exist From: Ted Yu To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=f46d041826da1484e504d8c996ee X-Virus-Checked: Checked by ClamAV on apache.org --f46d041826da1484e504d8c996ee Content-Type: text/plain; charset=ISO-8859-1 I found the entry in src/main/resources/hbase-default.xml of 0.94 branch. On Mon, Mar 25, 2013 at 6:06 PM, Jean-Marc Spaggiari < jean-marc@spaggiari.org> wrote: > It's not even in 0.95 neither in trunk... > > It was supposed to be added by HBASE-5547... > > But now, it's hardcoded. > > In HConstant, you have public static final String > HFILE_ARCHIVE_DIRECTORY = ".archive"; and it's used in > HFileArchiveUtil. 5547 was supposed to make that configurable by > reading this property in the config with a default value as > ".archive". > > If you look in 0.95 history, you can see that it has been succesfuly > applied. > > Then this has been removed by HBASE 6439. > > Ted, where have you found this config extract? Is it from the > documentation? Because it's not used any more. I think this should be > cleaned. > > Jian, have you recently updated from an older HBase version? > > JM > > 2013/3/25 Ted Yu : > > Do you use table archiving / snapshotting ? > > If not, the following DEBUG output should not be a concern. > > > > On a related note, I was searching for where the following config is used > > in 0.94 source code but was unable to find any: > > > > > > hbase.table.archive.directory > > .archive > > Per-table directory name under which to backup files > for a > > table. Files are moved to the same directories as they would be > under > > the > > table directory, but instead are just one level lower (under > > table/.archive/... rather than table/...). Currently only applies > to > > HFiles. > > > > > > 94-hbase tyu$ find . -name '*.java' -exec grep > > "hbase.table.archive.directory" {} \; -print > > > > On Mon, Mar 25, 2013 at 12:44 PM, Jian Fang > > wrote: > > > >> Hi, > >> > >> I am running HBase 0.94.6 with Hadoop 2.0.2-alpha. The log keeps > printing > >> the following message: > >> > >> 2013-03-25 19:32:15,469 DEBUG > >> org.apache.hadoop.hbase.master.CatalogJanitor: Scanned 1 catalog row(s) > and > >> gc'd 0 unreferenced parent region(s) > >> 2013-03-25 19:33:05,683 DEBUG org.apache.hadoop.hbase.util.FSUtils: > hdfs:// > >> 10.2.42.55:9000/hbase/.archive doesn't exist > >> 2013-03-25 19:34:05,682 DEBUG org.apache.hadoop.hbase.util.FSUtils: > hdfs:// > >> 10.2.42.55:9000/hbase/.archive doesn't exist > >> > >> Is there anything wrong here? > >> > >> Thanks, > >> > >> Jian > >> > --f46d041826da1484e504d8c996ee--