hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: [Query :] hbase rebalancing the data after adding new nodes in cluster
Date Thu, 20 Oct 2016 12:25:33 GMT
Manjeet:
'C1' appeared twice in the first command below. 

Remove the first occurrence and try again. 

Cheers

> On Oct 20, 2016, at 4:38 AM, Manjeet Singh <manjeet.chandhok@gmail.com> wrote:
> 
> Hi Jean,
> 
> I recreated the table as same I create befor and I disabled it droped it
> and run Major compaction and after that i again re create the table at this
> time I got above message
> 
> below is my table create command
> 
> create 'TEST_TABLE','C1',{ NAME => 'C1', COMPRESSION => 'SNAPPY' }
> ,SPLITS=>['#', '%', '@','!','~','^']
> alter 'TEST_TABLE', { NAME => 'C1', DATA_BLOCK_ENCODING => 'FAST_DIFF' }
> 
> Thanks
> Manjeet
> 
> On Thu, Oct 20, 2016 at 4:58 PM, Jean-Marc Spaggiari <
> jean-marc@spaggiari.org> wrote:
> 
>> Hi Manjeet,
>> 
>> Probably because your table is not really deleted. Can you "list" the
>> tables to confirm? For the balacing, just run a major compaction of your
>> table and locallity will come back.
>> 
>> JMS
>> 
>> 2016-10-20 6:58 GMT-04:00 Manjeet Singh <manjeet.chandhok@gmail.com>:
>> 
>>> I have deleted my table but when I am going to re -create it it said
>>> Family 'C1' already exists, the old one will be replaced
>>> 
>>> i used below command
>>> 
>>> echo -e "disable_all '.*'\ny" | hbase shell -n
>>> echo -e "drop_all '.*'\ny" | hbase shell -n
>>> 
>>> 
>>> Thanks
>>> Manjeet
>>> 
>>> On Thu, Oct 20, 2016 at 4:19 PM, Manjeet Singh <
>> manjeet.chandhok@gmail.com
>>> wrote:
>>> 
>>>> Hi,
>>>> 
>>>> in my dev enviorment my one data node get crashed and we removed that
>>> data
>>>> node from cluster and by mistak I run HDFS Balancer insted of HBase
>>> Blancer
>>>> and my HBase is down can any one suggest me how can I up the Hbase
>>> cluster
>>>> 
>>>>> On Fri, Oct 7, 2016 at 1:09 PM, Ted Yu <yuzhihong@gmail.com> wrote:
>>>>> 
>>>>> For #1, it depends on whether major compaction is disabled. If major
>>>>> compaction is enabled, timing of major compaction would affect the
>> data
>>>>> locality.
>>>>> 
>>>>> For #2, no. hdfs rebalance is orthogonal to hbase.
>>>>> 
>>>>> For #3, perform major compaction at earliest convenience.
>>>>> 
>>>>> On Thu, Oct 6, 2016 at 11:47 PM, Manjeet Singh <
>>>>> manjeet.chandhok@gmail.com>
>>>>> wrote:
>>>>> 
>>>>>> Hi All,
>>>>>> I have question on re balance, my query is how hbase rebalancing
the
>>>>> data
>>>>>> after adding new nodes in cluster
>>>>>> <http://stackoverflow.com/questions/23686387/hadoop-and-
>>>>>> hbase-rebalancing-after-node-additions>
>>>>>> ?
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 1.    Do I need to explicitly rebalance hbase after adding the new
>>> node
>>>>> in
>>>>>> cluster?
>>>>>> 
>>>>>> 2.    On my cloudera I have hdfs rebalance does its take care of
>> hbase
>>>>> data
>>>>>> to be balance?
>>>>>> 
>>>>>> 3.    What is the best way to make sure that both hadoop and hbase
>> are
>>>>>> rebalanced and work fine?
>>>>>> 
>>>>>> 
>>>>>> Thanks
>>>>>> 
>>>>>> Manjeet
>>>>>> 
>>>>>> --
>>>>>> luv all
>>>> 
>>>> 
>>>> 
>>>> --
>>>> luv all
>>> 
>>> 
>>> 
>>> --
>>> luv all
> 
> 
> 
> -- 
> luv all

Mime
View raw message