【记录】springboot集成hbase添加列族出错NoSuchColumnFamilyException: Column family table does not exist in region hbase:meta,,1.1588230740 in table 'hbase:meta'


问题:在已存在的表中添加列族报错NoSuchColumnFamilyException: Column family table does not exist in region hbase:meta,,1.1588230740 in table 'hbase:meta'

hbase的版本是2.3.3

<dependency>
    <groupId>org.apache.hbase</groupId>
    <artifactId>hbase-client</artifactId>
    <version>2.3.3</version>
</dependency>

 

解决:是因为hbase服务端版本过低,客户端版本不能高于服务端版本,最后用1.2.0-cdh5.7.0版本就好了

<dependency>
    <groupId>org.apache.hbase</groupId>
    <artifactId>hbase-client</artifactId>
    <version>1.2.0-cdh5.7.0</version>
</dependency>

 

参考文章:https://blog.csdn.net/helloworld0906/article/details/103114427


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM