You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Bruce Bian <we...@gmail.com> on 2012/02/09 06:52:43 UTC

migrate to HFileV2 when upgrading to 0.92

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?

Re: migrate to HFileV2 when upgrading to 0.92

Posted by Stack <st...@duboce.net>.
On Wed, Feb 8, 2012 at 9:52 PM, Bruce Bian <we...@gmail.com> 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