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

Switch to Plain View
HBase >> mail # user >> drop table


+
Mohit Anchlia 2012-07-23, 20:08
+
Mohammad Tariq 2012-07-23, 20:14
Copy link to this message
-
Re: drop table
Thanks! but I am still trying to understand these 2 questions:

1. How to see if this table has more than one region?
2. And why do I need to run major compact if I have more than one region?

On Mon, Jul 23, 2012 at 1:14 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote:

> Hi Mohit,
>
>       A table must be disabled first in order to get deleted.
> Regards,
>     Mohammad Tariq
>
>
> On Tue, Jul 24, 2012 at 1:38 AM, Mohit Anchlia <[EMAIL PROTECTED]>
> wrote:
> > I am trying to drop one of the tables but on the shell I get run
> > major_compact. I have couple of questions:
> >
> > 1. How to see if this table has more than one region?
> > 2. And why do I need to run major compact
> >
> >
> > hbase(main):010:0* drop 'SESSION_TIMELINE'
> >
> > ERROR: Table SESSION_TIMELINE is enabled. Disable it first.'
> >
> > Here is some help for this command:
> >
> > Drop the named table. Table must first be disabled. If table has
> >
> > more than one region, run a major compaction on .META.:
> >
> > hbase> major_compact ".META."
>
+
Rob Roland 2012-07-23, 20:26
+
Mohammad Tariq 2012-07-23, 20:30
+
Mohammad Tariq 2012-07-23, 20:40
+
Mohit Anchlia 2012-07-23, 20:48
+
Jean-Marc Spaggiari 2012-07-23, 20:25
+
Jean-Marc Spaggiari 2012-07-23, 20:12