我们可以利用 Hbase-shell 进行版本的查看
进入Hbase-shell 后可以看到 hbase版本
[root@cdh-manager ~]# hbase shell
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
HBase Shell
Use "help" to get list of supported commands.
Use "exit" to quit this interactive shell.
Version 2.0.0-cdh6.0.1, rUnknown, Wed Sep 19 09:14:00 PDT 2018
Took 0.0042 seconds
Version 2.0.0-cdh6.0.1, rUnknown, Wed Sep 19 09:14:00 PDT 2018
=====================================================
除此之外,我们还可以通过 version 指令,查看到所用的hbase的版本号
指令
version
[root@cdh-manager ~]# hbase shell
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
HBase Shell
Use "help" to get list of supported commands.
Use "exit" to quit this interactive shell.
Version 2.0.0-cdh6.0.1, rUnknown, Wed Sep 19 09:14:00 PDT 2018
Took 0.0042 seconds
hbase(main):001:0> version
2.0.0-cdh6.0.1, rUnknown, Wed Sep 19 09:14:00 PDT 2018
Took 0.0038 seconds
hbase(main):002:0>
2.0.0-cdh6.0.1, rUnknown, Wed Sep 19 09:14:00 PDT 2018