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-m...@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 <yuzhih...@gmail.com>
>
> > Have you tried (with the dot):
> >
> > drop_all '.*'
> >
> >
> > On Wed, Nov 13, 2013 at 6:19 PM, Jean-Marc Spaggiari <
> > jean-m...@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.
> > >
> >
>

Reply via email to