copy snapshot for scanner no table descriptor found

2014-09-10 Thread Guangle Fan
Hi, I'm running hbase 0.98.1 When using TableMapReduceUtil to init a MR job on a snapshot, I got an error : org.apache.hadoop.hbase.TableInfoMissingException: No table descriptor file under hdfs://hbase/hbase/.hbase-snapshot/xxx-snapshot at

SKIP_FLUSH

2014-09-09 Thread Guangle Fan
Hi, anybody knows why I can't skip flush when taking snapshot ? snapshot 'aaa', 'aaa_snapshot', {SKIP_FLUSH = true} NameError: uninitialized constant SKIP_FLUSH without {SKIP_FLUSH = true}, the command works fine/ Regards, Guangle

Re: SKIP_FLUSH

2014-09-09 Thread Guangle Fan
, 2014 at 5:34 PM, Guangle Fan fanguan...@gmail.com wrote: Hi, anybody knows why I can't skip flush when taking snapshot ? snapshot 'aaa', 'aaa_snapshot', {SKIP_FLUSH = true} NameError: uninitialized constant SKIP_FLUSH without {SKIP_FLUSH = true}, the command works

Re: hfile 9.4 to 9.6

2014-07-25 Thread Guangle Fan
Thanks! Ted On Wed, Jul 23, 2014 at 6:03 PM, Ted Yu yuzhih...@gmail.com wrote: Please take a look at: HBASE-9360 Enable 0.94 - 0.96 replication to minimize upgrade down time Cheers On Wed, Jul 23, 2014 at 10:12 AM, Guangle Fan fanguan...@gmail.com wrote: Not as described

Re: hfile 9.4 to 9.6

2014-07-23 Thread Guangle Fan
:49 AM, Guangle Fan fanguan...@gmail.com wrote: Hi, Ted you are right, hfiles on 0.94 cluster are v2 by default. I actually don't need the convert tool. To migrate that data to another 0.96 cluster, does it work by copying over hfiles ? How to handle the meta data of the table

hfile 9.4 to 9.6

2014-07-22 Thread Guangle Fan
Hi, All I have hfiles in HBase 9.4 cluster that I want to migrate to HBase 9.6 cluster. What's the proper process to handle this ? Regards, Guangle

Re: hfile 9.4 to 9.6

2014-07-22 Thread Guangle Fan
on upgrades. Also, please consider upgrading to 0.98. The 0.96 line is in minimum maintenance mode and 0.98 is considered the stable/production line. http://hbase.apache.org/book.html#upgrading Thanks, Nick On Tue, Jul 22, 2014 at 1:24 PM, Guangle Fan fanguan...@gmail.com wrote: Hi, All I

Re: hfile 9.4 to 9.6

2014-07-22 Thread Guangle Fan
perform major compaction after which your HFiles would be converted to HFileV2. Cheers On Tue, Jul 22, 2014 at 1:54 PM, Guangle Fan fanguan...@gmail.com wrote: Thanks Nick! For some reason, I can't do a in-place upgrading for the cluster. Is there a tool there I can use to convert hfileV1

Re: hfile 9.4 to 9.6

2014-07-22 Thread Guangle Fan
being 1 ? Cheers On Tue, Jul 22, 2014 at 3:27 PM, Guangle Fan fanguan...@gmail.com wrote: Ted Thanks for your answer! Actually that wouldn't convert automatically. The problem is 0.94 is using hfileV1, and that is online cluster that I can't shut down and do hbase upgrade/check file