hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bijieshan <bijies...@huawei.com>
Subject RE: HTable both enable and disable failed
Date Fri, 04 May 2012 11:13:07 GMT
You can restart the cluster, and then execute disable/delete again. I think this problem can
be resolved.
I suggest to check what happened to that region before restart.

Jieshan
-----Original Message-----
From: Jiajun Chen [mailto:cjjvictory@gmail.com] 
Sent: Friday, May 04, 2012 6:37 PM
To: user@hbase.apache.org
Cc: Chenjian
Subject: Re: HTable both enable and disable failed

How to recreate the table ? or ,How to delete the table and create it ?

On 4 May 2012 18:35, Jiajun Chen <cjjvictory@gmail.com> wrote:

> Thank you!
>
> always waiting on  region to clear regions in transition.
>
> HMaster log:
> ...
>   DEBUG org.apache.hadoop.hbase.master.handler.DeleteTableHandler: Waiting
> on  region to clear regions in transition;
> cjjWaitHash,,1335522190862.4d0399bcdf15727b1cdf73abaec2e7f8.
> state=PENDING_OPEN, ts=1335522191137, server=slave187
>
>  ERROR org.apache.hadoop.hbase.master.handler.TableEventHandler: Error
> manipulating table cjjWaitHash
> java.io.IOException: Waited hbase.master.wait.on.region (300000ms) for
> region to leave region
> cjjWaitHash,,1335522190862.4d0399bcdf15727b1cdf73abaec2e7f8. in transitions
>         at
> org.apache.hadoop.hbase.master.handler.DeleteTableHandler.handleTableOperation(DeleteTableHandler.java:62)
>         at
> org.apache.hadoop.hbase.master.handler.TableEventHandler.process(TableEventHandler.java:96)
>         at
> org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:169)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:619)
>
> Before the exception I had executed the command : truncate .
> disable success
> drop success
> creating .... for long long ,and then Ctr+C
>
> On 4 May 2012 18:13, Bijieshan <bijieshan@huawei.com> wrote:
>
>> From the previous emails, we can deduce that the table state should be
>> enabling or disabling. So there should have other disable/enable operations
>> and seems like an exception occurred before that. What were the operations
>> before this exception?
>> I suggest to check the HMaster log.
>>
>> Jieshan
>>
>> -----Original Message-----
>> From: Jiajun Chen [mailto:cjjvictory@gmail.com]
>> Sent: Friday, May 04, 2012 6:00 PM
>> To: user@hbase.apache.org
>> Subject: Re: HTable both enable and disable failed
>>
>> > describe 'cjjWaitHash'
>> DESCRIPTION
>>                                                           ENABLED
>>  {NAME => 'cjjWaitHash', FAMILIES => [{NAME => 'c', BLOOMFILTER => 'NONE',
>> COMPRESSION => 'NONE', VERSIONS => '3', TTL => '2147483647' false
>>  , BLOCKSIZE => '65536', IN_MEMORY => 'true', BLOCKCACHE => 'true'}]}
>> 1 row(s) in 2.5570 seconds
>>
>>
>> On 4 May 2012 17:50, Yifeng Jiang <uprushworld@gmail.com> wrote:
>>
>> > That is okay.
>> > What do you get from the describe command?
>> > hbase> describe 'cjjWaitHash'
>> >
>> > -Yifeng
>> >
>> > On May 4, 2012, at 6:33 PM, Jiajun Chen wrote:
>> >
>> > > start and end is null , is that normal?
>> > >
>> > > cjjWaitHash,,1335522190862.4d0399bcdf15727b1cdf73abaec2e7f8. id:
>> > > 1335522190862 encoded_name: 4d0399bcdf15727b1cdf73abaec2e7f8 start:
>>  end:
>> > >
>> > >
>> > > On 4 May 2012 17:20, Jiajun Chen <cjjvictory@gmail.com> wrote:
>> > >
>> > >> cjjWaitHash is okay.
>> > >>    Number of regions: 1
>> > >>    Deployed on:  slave188.uc.uuwatch.com,60020,1336106400066
>> > >>
>> > >>
>> > >> On 4 May 2012 17:08, Bijieshan <bijieshan@huawei.com> wrote:
>> > >>
>> > >>> Jiajun:
>> > >>>
>> > >>> Did you find any inconsistencies after running hbck?
>> > >>>
>> > >>> Jieshan
>> > >>>
>> > >>> -----Original Message-----
>> > >>> From: Jiajun Chen [mailto:cjjvictory@gmail.com]
>> > >>> Sent: Friday, May 04, 2012 4:56 PM
>> > >>> To: user@hbase.apache.org
>> > >>> Subject: HTable both enable and disable failed
>> > >>>
>> > >>> HBase0.92.1
>> > >>>
>> > >>>
>> > >>>> disable 'cjjWaitHash'
>> > >>>
>> > >>> ERROR: org.apache.hadoop.hbase.TableNotEnabledException:
>> > >>> org.apache.hadoop.hbase.TableNotEnabledException: cjjWaitHash
>> > >>>
>> > >>>> enable 'cjjWaitHash'
>> > >>>
>> > >>> ERROR: org.apache.hadoop.hbase.TableNotDisabledException:
>> > >>> org.apache.hadoop.hbase.TableNotDisabledException: cjjWaitHash
>> > >>>
>> > >>>
>> > >>> --
>> > >>>
>> > >>> 陈加俊  项目经理
>> > >>> 优讯时代(北京)网络技术有限公司
>> > >>> 优讯网 www.uuwatch.com
>> > >>>
>> > >>> 地址:北京市海淀区上地五街7号昊海大厦207
>> > >>>
>> > >>> 电话:010-82895510
>> > >>> 传真:010-82896636
>> > >>> 手机:15110038983
>> > >>> 电邮:*cjjvictory@gmail.com*
>> > >>>
>> > >>
>> > >>
>> > >>
>> > >> --
>> > >>
>> > >> 陈加俊  项目经理
>> > >> 优讯时代(北京)网络技术有限公司
>> > >> 优讯网 www.uuwatch.com
>> > >>
>> > >> 地址:北京市海淀区上地五街7号昊海大厦207
>> > >>
>> > >> 电话:010-82895510
>> > >> 传真:010-82896636
>> > >> 手机:15110038983
>> > >> 电邮:*cjjvictory@gmail.com*
>> > >>
>> > >>
>> > >>
>> > >
>> > >
>> > > --
>> > >
>> > > 陈加俊  项目经理
>> > > 优讯时代(北京)网络技术有限公司
>> > > 优讯网 www.uuwatch.com
>> > >
>> > > 地址:北京市海淀区上地五街7号昊海大厦207
>> > >
>> > > 电话:010-82895510
>> > > 传真:010-82896636
>> > > 手机:15110038983
>> > > 电邮:*cjjvictory@gmail.com*
>> >
>> >
>>
>>
>> --
>>
>> 陈加俊  项目经理
>> 优讯时代(北京)网络技术有限公司
>> 优讯网 www.uuwatch.com
>>
>> 地址:北京市海淀区上地五街7号昊海大厦207
>>
>> 电话:010-82895510
>> 传真:010-82896636
>> 手机:15110038983
>> 电邮:*cjjvictory@gmail.com*
>>
>
>
>
> --
>
> 陈加俊  项目经理
> 优讯时代(北京)网络技术有限公司
> 优讯网 www.uuwatch.com
>
> 地址:北京市海淀区上地五街7号昊海大厦207
>
> 电话:010-82895510
> 传真:010-82896636
> 手机:15110038983
> 电邮:*cjjvictory@gmail.com*
>
>
>


-- 

陈加俊  项目经理
优讯时代(北京)网络技术有限公司
优讯网 www.uuwatch.com

地址:北京市海淀区上地五街7号昊海大厦207

电话:010-82895510
传真:010-82896636
手机:15110038983
电邮:*cjjvictory@gmail.com*
Mime
View raw message