I tried on a simple table using the following commands : create 't', 'f'
alter 't', NAME => 'f', VERSIONS => 5 I have this Error : ERROR: Column family datafVERSIONS5 must have a name I have tried with the syntax from the alter help page but no success. Any hints ? I am running Hbase from Cloudera version 0.94.6-cdh4.3.0. On Mon, Sep 9, 2013 at 1:25 AM, Gaetan Deputier <[email protected]>wrote: > Exactly what i was looking for. Thank you very much ! > > > On Mon, Sep 9, 2013 at 12:48 AM, Nicolas Liochon <[email protected]>wrote: > >> There is a comment in this class that is outdated ("Once set, the >> parameters that specify a column cannot be changed without deleting the >> column and recreating it. If there is data stored in the column, it will >> be >> deleted when the column is deleted."). This is from 2007. I will fix this. >> >> It's possible to alter a table after its definition, and you will not lose >> any data. See the alter command in the shell: alter 't1', NAME ='f1', >> VERSIONS => 5 >> >> >> On Mon, Sep 9, 2013 at 6:32 AM, Ted Yu <[email protected]> wrote: >> >> > Take a look at HColumnDescriptor#setMaxVersions() >> > >> > Cheers >> > >> > On Sun, Sep 8, 2013 at 9:13 PM, Gaetan Deputier < >> [email protected] >> > >wrote: >> > >> > > Hello Hbase users, >> > > >> > > Is it possible to set the max number of row versions of a table after >> its >> > > creation ? >> > > >> > > Sincerely >> > > >> > > G. >> > > >> > >> > >
