Re: Migrate data between 2.2 and 4.0

2014-06-30 Thread James Taylor
I'd recommend using the upgrade script documented here: http://phoenix.apache.org/upgrade_from_2_2.html Thanks, James On Mon, Jun 30, 2014 at 10:34 AM, Kristoffer Sjögren sto...@gmail.com wrote: Maybe this is a big no-no but if I try to update column_family in system.catalog from '0' to '_0' i

Re: Migrate data between 2.2 and 4.0

2014-06-29 Thread James Taylor
FWIW, the upgrade script does not touch your data - it only modifies the metadata in your SYSTEM.CATALOG table. On Sun, Jun 29, 2014 at 10:18 AM, Kristoffer Sjögren sto...@gmail.com wrote: Thanks James for the clarification. I haven't tried the upgrade procedure yet. I just wanted to migrate

Re: Migrate data between 2.2 and 4.0

2014-06-25 Thread Jeffrey Zhong
No, you have to create column family name 0 and copy the data from column family _0 to it or (personally I didn't try the following) you might able to change meta data in system.catalog to use column family _0 instead. For normal upgrade, you should follow instructions at