Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> adding column family to hbase table


Copy link to this message
-
Re: adding column family to hbase table
Mike,

  I don't have the code handy, but you are going to need to put that in xml
format
<property>
<name> </name>
<value> </value>
</property>

On Tue, Oct 30, 2012 at 11:46 AM, Mike <[EMAIL PROTECTED]> wrote:

> Awesome!
> So, I set it like the below in CM4.
>
> hbase.online.schema.update.enable=true
>
>
> Thanks
>
>
> On Tue, Oct 30, 2012 at 12:01 PM, Kevin O'dell <[EMAIL PROTECTED]>
> wrote:
> > Mike,
> >
> >   You would use the safety valve.
> >
> > On Tue, Oct 30, 2012 at 10:52 AM, Mike <[EMAIL PROTECTED]> wrote:
> >
> >> Thanks Kevin.
> >>
> >> I use CM4.0
> >> Can I set this parameter using CM4.0?
> >>
> >> I searched in hbase configuration link. I couldn't locate.
> >>
> >> Thanks
> >>
> >> On Tue, Oct 30, 2012 at 11:30 AM, Kevin O'dell <
> [EMAIL PROTECTED]>
> >> wrote:
> >> > Mike,
> >> >
> >> >   It would be in your hbase-site.xml.
> >> >
> >> > Michael,
> >> >
> >> >   I agree.
> >> >
> >> > On Tue, Oct 30, 2012 at 10:22 AM, Michael Segel
> >> > <[EMAIL PROTECTED]>wrote:
> >> >
> >> >> When I hear experimental and production in the same conversation, I
> get
> >> >> shivers up my spine.
> >> >>
> >> >> Which release(s) contain this flag?
> >> >>
> >> >> On Oct 30, 2012, at 9:35 AM, Kevin O'dell <[EMAIL PROTECTED]>
> >> >> wrote:
> >> >>
> >> >> > Mike,
> >> >> >
> >> >> >  I have not messed around with the online schema changes too much.
> >>  It is
> >> >> > still experimental, but I think you are looking for:
> >> >> >
> >> >> > hbase.online.schema.update.enable
> >> >> >
> >> >> > Set true to enable online schema changes. This is an experimental
> >> >> feature.
> >> >> > There are known issues modifying table schemas at the same time a
> >> region
> >> >> > split is happening so your table needs to be quiescent or else you
> >> have
> >> >> to
> >> >> > be running with splits disabled.
> >> >> >
> >> >> > Default: false
> >> >> >
> >> >> > On Tue, Oct 30, 2012 at 9:25 AM, Mike <[EMAIL PROTECTED]> wrote:
> >> >> >
> >> >> >> Hi All,
> >> >> >>
> >> >> >> I use hbase 0.92 and I am trying to add a column family to hbase
> >> table
> >> >> >> and I get the below error.
> >> >> >>
> >> >> >> ERROR: org.apache.hadoop.hbase.TableNotDisabledException:
> >> >> >> org.apache.hadoop.hbase.TableNotDisabledException: test
> >> >> >>
> >> >> >>
> >> >> >> After disabling the table, I can add the column family.
> >> >> >>
> >> >> >> But in production environment, I will not be able to disable the
> >> table.
> >> >> >>
> >> >> >> Is there a way without disabling table, I can add the column
> family?
> >> >> >>
> >> >> >> Thanks
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Kevin O'Dell
> >> >> > Customer Operations Engineer, Cloudera
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > Kevin O'Dell
> >> > Customer Operations Engineer, Cloudera
> >>
> >
> >
> >
> > --
> > Kevin O'Dell
> > Customer Operations Engineer, Cloudera
>

--
Kevin O'Dell
Customer Operations Engineer, Cloudera