hbase cannot find an existing table

前端 未结 10 1457
执念已碎
执念已碎 2020-12-15 19:34

I set up a hbase cluster to store data from opentsdb. Recently due to reboot of some of the nodes, hbase lost the table \"tsdb\". I can still it on hbase\'s master node page

相关标签:
10条回答
  • 2020-12-15 20:17

    More instructions on deleting the tables:

    ~/hbase-0.94.12/bin/hbase shell
    
    > truncate 'tsdb'
    > truncate 'tsdb-meta'
    > truncate 'tsdb-uid'
    > truncate 'tsdb-tree'
    > exit
    

    I also had to restart the tsd daemon.

    0 讨论(0)
  • 2020-12-15 20:17

    I do face these issues at my workplace. I usually either delete the znodes and them remove the corresponding table or restart hbase both HMaster and Hregionserver to get hbck status OK.

    0 讨论(0)
  • 2020-12-15 20:22

    try to fix meta

    1. hbase hbck
    2. hbase hbck -fixMeta
    3. hbase hbck -fixAssignments
    4. hbase hbck -fixReferenceFiles

    after and try again

    0 讨论(0)
  • 2020-12-15 20:23

    I get a similar error message when I try an HBase connection from a Java client on a machine that doesn't have the TCP privilege to access the HBase machines. The table indeed exists when I do hbase shell on the HBase machine itself.

    Does opentsdb has all the privileges/port config to access the HBase machine ?

    0 讨论(0)
提交回复
热议问题