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 >> HBase Shell iterating over & truncating tables


Copy link to this message
-
Re: HBase Shell iterating over & truncating tables
On Tue, Nov 6, 2012 at 8:01 AM, Jasper Rädisch <[EMAIL PROTECTED]> wrote:

> Hello everyone,
>
> Trying to truncate tables like this (from HBase shell) won't work:
>
> list.each{|name| truncate(name) if name.end_with?('abc123')}
>

Why does it not work?  What happens?  Maybe wait on truncation before
proceeding to next table?
St.Ack
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