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 Plain View
HBase >> mail # user >> an emtry region


+
samar kumar 2012-08-07, 10:27
+
samar kumar 2012-08-07, 10:33
+
syed kather 2012-08-07, 10:49
+
samar kumar 2012-08-07, 11:02
Copy link to this message
-
RE: an emtry region
Hi,
>Now could I merge those two regions or automatically delete that region.
There is no automatic deletion of regions which will happen within HBase. Yes u can write code which can do the merge of the 2 regions so that only one region will exists.
Having more and more empty regions(unwanted region) is an overhead only.

-Anoop-
________________________________________
From: samar kumar [[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2012 4:32 PM
To: [EMAIL PROTECTED]
Subject: Re: an emtry region

@Syed Thanks for respond
 Lets assume that we had a huge table which got split into two regions.
Later all the rows for that region was deleted. So now we have one table,
two regions with the second region empty. Table could possible have more
that one CF. also can't remove the CF because it is still relevant and
data is present in the first region for that particular CF.
Now could I merge those two regions or automatically delete that region.
Samar

On 07/08/12 4:19 PM, "syed kather" <[EMAIL PROTECTED]> wrote:

> samar kumar,
>
>   If all the rows of an region are deleted what happens to the region.
>Would it still exist .?
> Yes it will exist . Whenever you create a family HBase will create
>a separate Space for that Column Family . If there data available for then
>that data will be written to HFile which is create for that column family
>space. If you need  to remove column family completely you have a write
>the separate code to handle this
>
>Also what is the cost of having a empty region?
>I also don't have proper explanation for this
>
>
>On Tue, Aug 7, 2012 at 4:03 PM, samar kumar
><[EMAIL PROTECTED]>wrote:
>
>> Please read the subject as  "an empty region"
>>
>> From:  samar kumar <[EMAIL PROTECTED]>
>> Date:  Tue, 07 Aug 2012 15:57:04 +0530
>> To:  "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>> Subject:  an emtry region
>>
>> Hi Hbase users,
>> If all the rows of an region are deleted what happens to the region.
>>Would
>> it still exist . It can be removed by writing some code but can it be
>> removed automatically. Also what is the cost of having a empty region.
>> Regards,
>> Samar
>>
>>
>>
+
J Mohamed Zahoor 2012-08-10, 07:15
+
J Mohamed Zahoor 2012-08-10, 07:37
+
samar kumar 2012-08-10, 08:17
+
J Mohamed Zahoor 2012-08-10, 09:13
+
J Mohamed Zahoor 2012-08-10, 09:17
+
Harsh J 2012-08-12, 14:36
+
Stack 2012-08-13, 08:02
+
J Mohamed Zahoor 2012-08-13, 08:51
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