Re: How to rename table's family name

2011-01-10 Thread Tost
I couldn't find the way. family cannot be changed without deleting and recreating it. 2011/1/11 Andrey Stepachev > Stack, I don't think, that I know good solution, but I see some possible > way > how > this can be implemented. > > I think, that rename should be atomic (in case of schema in zook

Re: How to rename table's family name

2011-01-10 Thread Andrey Stepachev
Stack, I don't think, that I know good solution, but I see some possible way how this can be implemented. I think, that rename should be atomic (in case of schema in zookeeper, it is possible). So, the application developer should take care on how application should handle this rename. And because

Re: How to rename table's family name

2011-01-10 Thread Stack
Want to make a new issue then Andrey? Thanks. We could knock out hbase-68 at same time. When would we do the replacement of code with actual columnfamily name? Over on client or on server before result is sent the client? St.Ack On Sun, Jan 9, 2011 at 12:29 PM, Andrey Stepachev wrote: > 2011/

Re: How to rename table's family name

2011-01-09 Thread Andrey Stepachev
2011/1/9 Stack > > To respond to Andrey, you seem to be asking about the old issue > HBASE-68. It hasn't seen much attention of late. Its more about > saving space rather than facilitating rename (though the latter is a > legit case). > Thanks. But saving space is not an issue. Really renaming

Re: How to rename table's family name

2011-01-08 Thread Stack
Thanks for the below M. C. I like this delete suggestion. Plan is in 0.92 or 0.94 moving schema out of .META. up into zk. We're aiming for online schema editing w/o having to take a table offline. When schema changes, regionserves are notified and take approriate action. To respond to Andrey,

Re: How to rename table's family name

2011-01-08 Thread M. C. Srivas
In general. there's need for a loose "schema" to allow not only renames of columns and column-families, but efficient delete of entire columns or CFs. (eg, mark this C as deleted in the "schema" and remove it during the next major compaction). But implementing the master-coordination for this (for

Re: How to rename table's family name

2011-01-08 Thread Andrey Stepachev
2011/1/8 Stack > > > Perhaps we should consider > detaching CF name from whats stored? > Yes! Are there any jira? I'll vote for it. > > St.Ack >

Re: How to rename table's family name

2011-01-07 Thread Stack
On Fri, Jan 7, 2011 at 4:30 AM, 陈加俊 wrote: > Hi everyone! > > How to rename the table's family name. > > I created the table and it's families , and insert many data into it, but I > want to rename one family name now premise is not lost data . > We do not have a mechanism to do this 陈加俊. Curren

How to rename table's family name

2011-01-07 Thread 陈加俊
Hi everyone! How to rename the table's family name. I created the table and it's families , and insert many data into it, but I want to rename one family name now premise is not lost data .