【記錄】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