Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> export schema only


Copy link to this message
-
Re: export schema only
thanks.  I will give it a try
On Tue, Mar 13, 2012 at 2:58 AM, Laxman <[EMAIL PROTECTED]> wrote:

> Rita,
>
> I guess you are looking for something similar to RBDMS (say, oracle) is
> providing.
>
> If that is the case, Exporting table structure alone doesn’t make much
> sense
> in HBase case as HBase table can contain unstructured data.
> I mean, number of column qualifiers (Equivalent with Oracle columns) is not
> fixed.
>
> Otherwise, as Stack mentioned, you can use describe command output to
> recreate a table (manually).
>
> --
> Regards,
> Laxman
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of
> > Stack
> > Sent: Tuesday, March 13, 2012 8:53 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: export schema only
> >
> > On Mon, Mar 12, 2012 at 5:28 PM, Rita <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > >
> > > Is it possible to export table schema only versus exporting the
> > entire
> > > table?  I need this so I can create a separate table for QA purposes.
> > >
> >
> > In shell, if you do 'describe TABLENAME', the output can be used
> > create the table IIRC.
> >
> > Let us know if it doesn't work.
> >
> > St.Ack
>
>
--
--- Get your facts first, then you can distort them as you please.--
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB