HBase violence Delete HDFs data post-build table already exist problem resolution

Source: Internet
Author: User
Tags zookeeper hadoop fs

In some cases, the hbase data has to be violently deleted, such as when the raw data volume is particularly large and does not need to be stored. Or HBase does not start up and so on.


Delete is simple, directly call Hadoop fs-rm-r/hbase Such a command can be implemented on HDFs stored on the hbase raw files to delete. (Of course, a detailed data sheet can be deleted.)


However, after the deletion, after restarting HBase, when the data table was created, the problem of table already exist was found.



Only to remember, this problem appears certainly is zookeeper still exist this information.


So with zkcli.sh login zookeeper, input command rmr/hbase, and then restart HBase, sure enough to build the table passed smoothly.


Touched the recent days of HBase, found its very cumbersome, need to be tightly bound with the zookeeper, of course, in order to recover in some cases, it also appears very important.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.