UNOFFICIAL

That looks like a great option.  Before using it, whats the cost/impact of 
running this on a massive table in a system with other large bulk 
ingests/queries running?  In the past when I have used that (which was in 2013 
so things may have changed) all ingests were blocked and it took days to 
complete.

With 1.07T tablets to work on this may take some time?


________________________________
From: Mike Drob [mailto:md...@mdrob.com]
Sent: Tuesday, 17 January 2017 09:37
To: user@accumulo.apache.org
Subject: Re: Merging smaller/empty tablets [SEC=UNOFFICIAL]

http://accumulo.apache.org/1.8/accumulo_user_manual.html#_merging_tablets


In order to merge small tablets, you can ask Accumulo to merge sections of a 
table smaller than a given size.

root@myinstance> merge -t myTable -s 100M


On Mon, Jan 16, 2017 at 4:31 PM, Dickson, Matt MR 
<matt.dick...@defence.gov.au<mailto:matt.dick...@defence.gov.au>> wrote:

UNOFFICIAL

I have a table that has evolved to have 1.07T tablets and I fairly confident a 
large portion of these are now empty or very small.  I'd like to merge smaller 
tablets and delete empty tablets, is there a smart way to do this?

My thought was to query the metadata table for all tablets under a certain size 
for the table and then merge these tablets.

Is the first number in thevalue the size of the tablet, ie

>  scan -b 1xk -e 1xk\xff -c file
1xk;34234 file:hdfs//name/accumulo/tables/1xk/t-er23423/M423432.rf []    
213134,234234

Also, are there any side effects of this that I need to be aware of when doing 
this on a massive table?

Thanks in advance,
Matt

Reply via email to