hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shuai Lin <linshuai2...@gmail.com>
Subject Delete a region from hbase
Date Sat, 24 Jan 2015 17:25:06 GMT
Hi all,

We're using hbase 0.94-15 from CDH4 repo, and we're planning to delete
several regions which contain data that are no longer needed.

Basically we plan to use HRegion.deleteRegion
as described in this article.

We can guarantee that  there would not be any request going to these
regions during the deletion. Here are my questions:

-- Is there any caveat of using this way to delete regions, especially
those that may cause downtime? Because we'll delete the regions in our
production cluster, we need really be careful of any possible consequences.

-- After deleting the region, do we really need to re-create it? If we do
not recreate these regions, there would be "holes" in the rowkey space. Can
we use some tool like hbck to fix this? Another way is to just recreate the
regions, and later merge these empty regions with their neighbors. Which
one is better?



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