Apache HBaseの使用

Apache HBaseは、分散型でスケーラブルなビッグ・データ・ストアです。

Apache HBaseの詳細は、Apache HBaseのWebサイトを参照してください。

HBase構成プロパティ

ビッグ・データ・サービス3.1.1以降に含まれるHBase構成プロパティ。

設定 プロパティ 説明
hbase-env hbase_gc_logging HBase javaガベージ・コレクション・ロギング
hbase_jmx_base HBase JMXベース
hbase_thrift_opts HBaseスリフト・オプション
hbase_zookeeper_opts HBase zookeeperオプション
hbase_jvm_opts HBase JVMオプション
hbase_jvm_master_opts HBase JVMマスター・オプション
hbase_jvm_regionserver_opts HBase JVMリージョン・サーバー・オプション
hbase_kerberos_opts Kerberos認証関連の構成のHBaseオプション
hbase_kerberos_master_opts Kerberos認証関連構成のHBaseマスター・オプション
hbase_kerberos_regionserver_opts HBase Kerberos認証関連の構成のリージョン・サーバー・オプション
hbase_master_opts_for_master_remotejmx master_remotejmxが有効になっている場合のHBaseマスター・オプション
hbase_regionserver_opts_for_regionserver_remotejmx regionserver_remotejmxが有効になっている場合のHBaseマスター・オプション

HBCK2の実行

HBCK2は、Apache HBaseクラスタの修復ツールです。

HBCK2修復ツールを実行する構文は次のとおりです。

hbase hbck -j /usr/odh/current/hbase-client/hbase-operator-tools/hbase-hbck2-<version_number>.jar <options> COMMAND <ARGS>

ODH 2.0の例:

hbase hbck -j /usr/odh/current/hbase-client/hbase-operator-tools/hbase-hbck2-2.4.13.jar -h 
hbase hbck -j /usr/odh/current/hbase-client/hbase-operator-tools/hbase-hbck2-2.4.13.jar 
    addFsRegionsMissingInMeta default:testtable

ODH 1.0の例:

hbase hbck -j /usr/odh/current/hbase-client/hbase-operator-tools/hbase-hbck2-2.2.6.jar -h 
   hbase hbck -j /usr/odh/current/hbase-client/hbase-operator-tools/hbase-hbck2-2.2.6.jar 
   addFsRegionsMissingInMeta default:testtable

HBCK2コマンドの詳細は、HBCK2ドキュメントを参照してください。