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 02B8B9CB2 for ; Thu, 9 Feb 2012 06:05:53 +0000 (UTC) Received: (qmail 84502 invoked by uid 500); 9 Feb 2012 06:05:50 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 84388 invoked by uid 500); 9 Feb 2012 06:05:43 -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 84347 invoked by uid 99); 9 Feb 2012 06:05:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 06:05:41 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of saint.ack@gmail.com designates 209.85.214.169 as permitted sender) Received: from [209.85.214.169] (HELO mail-tul01m020-f169.google.com) (209.85.214.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 06:05:33 +0000 Received: by obbta7 with SMTP id ta7so2590373obb.14 for ; Wed, 08 Feb 2012 22:05:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=NYX/VRjwlq+qzD4EDTYL42WKiupIujE3IrNUtJB96mw=; b=dP5W525Voc7yHyYFc0jhiDrV+MFHUuwRj2HmmB6FqmQHVbYpk5B1JnCqXEC3rTJBSy 2F6HiCwRCZX57tFwgGP5j/Q+sypn5F82M2hgc1WL5y0inXhEjpGD0kG/sQthlZcd2Y1X HmSDEV8/jGg8vPOTDpJhAPWgDx9HXAEj1SuAg= MIME-Version: 1.0 Received: by 10.182.89.65 with SMTP id bm1mr393829obb.52.1328767512928; Wed, 08 Feb 2012 22:05:12 -0800 (PST) Sender: saint.ack@gmail.com Received: by 10.182.19.35 with HTTP; Wed, 8 Feb 2012 22:05:12 -0800 (PST) In-Reply-To: References: Date: Wed, 8 Feb 2012 22:05:12 -0800 X-Google-Sender-Auth: RPuvek1sev81pWQ41AXcvSbWN9Y Message-ID: Subject: Re: migrate to HFileV2 when upgrading to 0.92 From: Stack To: user@hbase.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Feb 8, 2012 at 9:52 PM, Bruce Bian wrote: > Hi, > After upgraded from 0.90 to 0.92, can I assume that all files are in > HFileV2 format after I run a major_compact on the previous data in 0.90? That should be the case but to be sure I'd run a check. We don't have a script for you just yet but should be easy enough to list all hfiles under hbase rootdir and feed them to the hflie tool -- see '8.7.5.2.2. HFile Tool' in the reference guide -- and have it output metadata. That'll tell you for sure. St.Ack