HBase报错系列之建表问题

问题描述:HBase建表时

ERROR: Table already exists: ods_yz_trader_transactionsd_1!

删除此表时报:table not exists

解决办法:

1 查看hdfs 相应的目录下是否有该表

hdfs dfs -ls /hbases/data/default/TABLEName

如果不存在,进入zookeeper服务器,执行/usr/bin/zookeeper-client

删除改表的路径

rmr /hbases/table/ods_account_hsb_record

然后重新创建该表就可以了

create 't1', 'f1'

原文地址:https://www.cnblogs.com/sunt9/p/6670488.html