hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: 0.96.0: Anyone tried disable_all and drop_all?
Date Thu, 14 Nov 2013 04:29:38 GMT
bq. No tables matched the regex

You can pass regex to 'list' command and see which tables are shown.

Cheers


On Wed, Nov 13, 2013 at 6:47 PM, Jean-Marc Spaggiari <
jean-marc@spaggiari.org> wrote:

> No. Let me try it now...
>
> Ok. It's working with '.*'.
>
> But then it should not have shown me any list of tables when I used '*'?
>
> I should have got something like;
> hbase(main):056:0> drop_all '*'
> No tables matched the regex (?-mix:^*$)
>
> no?
>
>
> 2013/11/13 Ted Yu <yuzhihong@gmail.com>
>
> > Have you tried (with the dot):
> >
> > drop_all '.*'
> >
> >
> > On Wed, Nov 13, 2013 at 6:19 PM, Jean-Marc Spaggiari <
> > jean-marc@spaggiari.org> wrote:
> >
> > > I tried those 2 commands from the shell and here is the result:
> > >
> > > hbase(main):007:0> drop_all '*'
> > > IntegrationTestBigLinkedList
> > >
> > > dns
> > >
> > >
> > >
> > >
> > >
> > > page
> > >
> > > page_crc
> > >
> > > page_duplicate
> > >
> > > t1
> > >
> > > tree
> > >
> > > work_proposed
> > >
> > > work_sent
> > >
> > >
> > > Drop the above 11 tables (y/n)?
> > > y
> > > 11 tables successfully dropped
> > >
> > > hbase(main):008:0> list
> > > TABLE
> > >
> > > IntegrationTestBigLinkedList
> > >
> > > dns
> > >
> > >
> > >
> > >
> > >
> > > page
> > >
> > > page_crc
> > >
> > > page_duplicate
> > >
> > > t1
> > >
> > > tree
> > >
> > > work_proposed
> > >
> > > work_sent
> > >
> > > 11 row(s) in 0.0890 seconds
> > >
> > >
> > > Nothing on the master logs.
> > >
> > > I have many regions in transition for one of those tables. Not sure if
> > it's
> > > related.
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message