HBase Canary
2023-09-27 14:26:55 时间
HBase Canary 用于检测HBase 系统的状态。它对指定表的每一个region 抓取一行,来探测失败或者延迟。
hbase org.apache.hadoop.hbase.tool.Canary -help
Usage: bin/hbase org.apache.hadoop.hbase.tool.Canary [opts] [table1 [table2]...] | [regionserver1 [regionserver2]..] where [opts] are: -help Show this help and exit. -regionserver replace the table argument to regionserver, which means to enable regionserver mode -daemon Continuous check at defined intervals. -interval <N> Interval between checks (sec) -e Use region/regionserver as regular expression which means the region/regionserver is regular expression pattern -f <B> stop whole program if first error occurs, default is true -t <N> timeout for a check, default is 600000 (milisecs)
(1)检测每一个表的每一个region的每一个列簇。
hbase org.apache.hadoop.hbase.tool.Canary
(2)检测指定表的每一个region的每一个列簇,表之间用空格分开
hbase orghapache.hadoop.hbase.tool.Canary test-01 test-02
(3)检测regionserver
hbase orghapache.hadoop.hbase.tool.Canary -regionserver
(4)正则表达式检测
hbase orghapache.hadoop.hbase.tool.Canary -e test-0[1-2]
(5)以daemon模式运行
hbase orghapache.hadoop.hbase.tool.Canary -daemon
时间间隔为50000毫秒,出现错误不会停止
hbase orghapache.hadoop.hbase.tool.Canary -daemon -interval 50000 -f false(6)指定超时
hbase orghapache.hadoop.hbase.tool.Canary -daemon -t 6000000
相关文章
- Hbase架构和读写流程
- DbVisualizer连接hbase
- 转载:HBASE配置说明
- hbase中各种过滤器的使用
- 解决hbase的 count计数的问题
- 大数据入门第十四天——Hbase详解(一)入门与安装配置
- Hive、Pig、HBase的关系与区别
- HBase启动和停止命令
- HIVE和HBASE区别
- Hbase客户端优化
- Hbase replication操作
- HBase Compaction
- HBase 二级索引与Join
- HBase中创建索引
- 分布式NoSQL列存储数据库Hbase(一)Hbase的功能与应用场景、基本设计思想
- 分布式NoSQL列存储数据库Hbase操作(二)
- 分布式NoSQL列存储数据库Hbase Java API(四)
- HBase 和 Hive 你能分清楚吗?(转拉勾教育)
- hadoop hbase集群断电数据块被破坏无法启动
- hbase 基础理论总结