You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Zbierski Christophe <Ch...@atos.net> on 2012/12/31 12:01:29 UTC

enable and disable failed

Hello, I have a problem, I do not enable or disable a table.


hbase(main):002:0> enable 'cbp.tcuid_event'

ERROR: org.apache.hadoop.hbase.TableNotDisabledException: org.apache.hadoop.hbase.TableNotDisabledException: cbp.tcuid_event
        at org.apache.hadoop.hbase.master.handler.EnableTableHandler.<init>(EnableTableHandler.java:74)
…

hbase(main):003:0> disable 'cbp.tcuid_event'

ERROR: org.apache.hadoop.hbase.TableNotEnabledException: org.apache.hadoop.hbase.TableNotEnabledException: cbp.tcuid_event
        at org.apache.hadoop.hbase.master.handler.DisableTableHandler.<init>(DisableTableHandler.java:75)
…

hbase(main):004:0> describe 'cbp.tcuid_event'
DESCRIPTION                                                                                                        ENABLED
 {NAME => 'cbp.tcuid_event', FAMILIES => [{NAME => 'e', BLOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', COMPRESSI false
 ON => 'SNAPPY', VERSIONS => '1', TTL => '7776000', MIN_VERSIONS => '0', BLOCKSIZE => '65536', IN_MEMORY => 'false
 ', BLOCKCACHE => 'true'}]}
1 row(s) in 0.0420 seconds


When I disable table :
2012-12-31 11:56:07,201 DEBUG org.apache.hadoop.hbase.client.HTable$ClientScanner: Creating scanner over .META. starting at key 'cbp.tcuid_event,,'
2012-12-31 11:56:07,201 DEBUG org.apache.hadoop.hbase.client.HTable$ClientScanner: Advancing internal scanner to startKey at 'cbp.tcuid_event,,'
2012-12-31 11:56:07,207 INFO org.apache.hadoop.hbase.master.handler.DisableTableHandler: Table cbp.tcuid_event isn't enabled; skipping disable

Best Regards,
Christophe Z.



Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité d'Atos ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

RE: enable and disable failed

Posted by Zbierski Christophe <Ch...@atos.net>.
Thank you very much, it's OK now

Christophe Z.

-----Message d'origine-----
De : Mohammad Tariq [mailto:dontariq@gmail.com]
Envoyé : lundi 31 décembre 2012 12:52
À : user@hbase.apache.org
Objet : Re: enable and disable failed

Hello Christophe,

     A possible reason could be that the znode associated with this particular table is not behaving properly. In such a case, you can try this
:

Stop Hbase
Stop ZK
Take a backup of ZK data
Restart ZK
Remove the znode
Start Hbase again

Please have a look at this
thread<http://comments.gmane.org/gmane.comp.java.hadoop.hbase.user/29466>.
We have discussed a similar issue.
Hope this helps.

Best Regards,
Tariq
+91-9741563634
https://mtariq.jux.com/


On Mon, Dec 31, 2012 at 4:31 PM, Zbierski Christophe < Christophe.Zbierski@atos.net> wrote:

> Hello, I have a problem, I do not enable or disable a table.
>
>
> hbase(main):002:0> enable 'cbp.tcuid_event'
>
> ERROR: org.apache.hadoop.hbase.TableNotDisabledException:
> org.apache.hadoop.hbase.TableNotDisabledException: cbp.tcuid_event
>         at
> org.apache.hadoop.hbase.master.handler.EnableTableHandler.<init>(Enabl
> eTableHandler.java:74)
> ...
>
> hbase(main):003:0> disable 'cbp.tcuid_event'
>
> ERROR: org.apache.hadoop.hbase.TableNotEnabledException:
> org.apache.hadoop.hbase.TableNotEnabledException: cbp.tcuid_event
>         at
> org.apache.hadoop.hbase.master.handler.DisableTableHandler.<init>(Disa
> bleTableHandler.java:75)
> ...
>
> hbase(main):004:0> describe 'cbp.tcuid_event'
> DESCRIPTION
>                                          ENABLED  {NAME =>
> 'cbp.tcuid_event', FAMILIES => [{NAME => 'e', BLOOMFILTER => 'NONE',
> REPLICATION_SCOPE => '0', COMPRESSI false  ON => 'SNAPPY', VERSIONS =>
> '1', TTL => '7776000', MIN_VERSIONS => '0', BLOCKSIZE => '65536',
> IN_MEMORY => 'false  ', BLOCKCACHE => 'true'}]}
> 1 row(s) in 0.0420 seconds
>
>
> When I disable table :
> 2012-12-31 11:56:07,201 DEBUG
> org.apache.hadoop.hbase.client.HTable$ClientScanner: Creating scanner
> over .META. starting at key 'cbp.tcuid_event,,'
> 2012-12-31 11:56:07,201 DEBUG
> org.apache.hadoop.hbase.client.HTable$ClientScanner: Advancing
> internal scanner to startKey at 'cbp.tcuid_event,,'
> 2012-12-31 11:56:07,207 INFO
> org.apache.hadoop.hbase.master.handler.DisableTableHandler: Table
> cbp.tcuid_event isn't enabled; skipping disable
>
> Best Regards,
> Christophe Z.
>
>
>
> Ce message et les pièces jointes sont confidentiels et réservés à
> l'usage exclusif de ses destinataires. Il peut également être protégé
> par le secret professionnel. Si vous recevez ce message par erreur,
> merci d'en avertir immédiatement l'expéditeur et de le détruire.
> L'intégrité du message ne pouvant être assurée sur Internet, la
> responsabilité d'Atos ne pourra être recherchée quant au contenu de ce
> message. Bien que les meilleurs efforts soient faits pour maintenir
> cette transmission exempte de tout virus, l'expéditeur ne donne aucune
> garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
>
> This e-mail and the documents attached are confidential and intended
> solely for the addressee; it may also be privileged. If you receive
> this e-mail in error, please notify the sender immediately and destroy
> it. As its integrity cannot be secured on the Internet, the Atos
> liability cannot be triggered for the message content. Although the
> sender endeavours to maintain a computer virus-free network, the
> sender does not warrant that this transmission is virus-free and will
> not be liable for any damages resulting from any virus transmitted.
>


Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité d'Atos ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

Re: enable and disable failed

Posted by Mohammad Tariq <do...@gmail.com>.
Hello Christophe,

     A possible reason could be that the znode associated with this
particular table is not behaving properly. In such a case, you can try this
:

Stop Hbase
Stop ZK
Take a backup of ZK data
Restart ZK
Remove the znode
Start Hbase again

Please have a look at this
thread<http://comments.gmane.org/gmane.comp.java.hadoop.hbase.user/29466>.
We have discussed a similar issue.
Hope this helps.

Best Regards,
Tariq
+91-9741563634
https://mtariq.jux.com/


On Mon, Dec 31, 2012 at 4:31 PM, Zbierski Christophe <
Christophe.Zbierski@atos.net> wrote:

> Hello, I have a problem, I do not enable or disable a table.
>
>
> hbase(main):002:0> enable 'cbp.tcuid_event'
>
> ERROR: org.apache.hadoop.hbase.TableNotDisabledException:
> org.apache.hadoop.hbase.TableNotDisabledException: cbp.tcuid_event
>         at
> org.apache.hadoop.hbase.master.handler.EnableTableHandler.<init>(EnableTableHandler.java:74)
> …
>
> hbase(main):003:0> disable 'cbp.tcuid_event'
>
> ERROR: org.apache.hadoop.hbase.TableNotEnabledException:
> org.apache.hadoop.hbase.TableNotEnabledException: cbp.tcuid_event
>         at
> org.apache.hadoop.hbase.master.handler.DisableTableHandler.<init>(DisableTableHandler.java:75)
> …
>
> hbase(main):004:0> describe 'cbp.tcuid_event'
> DESCRIPTION
>                                          ENABLED
>  {NAME => 'cbp.tcuid_event', FAMILIES => [{NAME => 'e', BLOOMFILTER =>
> 'NONE', REPLICATION_SCOPE => '0', COMPRESSI false
>  ON => 'SNAPPY', VERSIONS => '1', TTL => '7776000', MIN_VERSIONS => '0',
> BLOCKSIZE => '65536', IN_MEMORY => 'false
>  ', BLOCKCACHE => 'true'}]}
> 1 row(s) in 0.0420 seconds
>
>
> When I disable table :
> 2012-12-31 11:56:07,201 DEBUG
> org.apache.hadoop.hbase.client.HTable$ClientScanner: Creating scanner over
> .META. starting at key 'cbp.tcuid_event,,'
> 2012-12-31 11:56:07,201 DEBUG
> org.apache.hadoop.hbase.client.HTable$ClientScanner: Advancing internal
> scanner to startKey at 'cbp.tcuid_event,,'
> 2012-12-31 11:56:07,207 INFO
> org.apache.hadoop.hbase.master.handler.DisableTableHandler: Table
> cbp.tcuid_event isn't enabled; skipping disable
>
> Best Regards,
> Christophe Z.
>
>
>
> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
> exclusif de ses destinataires. Il peut également être protégé par le secret
> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
> pouvant être assurée sur Internet, la responsabilité d'Atos ne pourra être
> recherchée quant au contenu de ce message. Bien que les meilleurs efforts
> soient faits pour maintenir cette transmission exempte de tout virus,
> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne
> saurait être recherchée pour tout dommage résultant d'un virus transmis.
>
> This e-mail and the documents attached are confidential and intended
> solely for the addressee; it may also be privileged. If you receive this
> e-mail in error, please notify the sender immediately and destroy it. As
> its integrity cannot be secured on the Internet, the Atos liability cannot
> be triggered for the message content. Although the sender endeavours to
> maintain a computer virus-free network, the sender does not warrant that
> this transmission is virus-free and will not be liable for any damages
> resulting from any virus transmitted.
>