hbase常用工具

xiaoxiao2021-02-28  95

统计表分区分布 echo “scan ‘hbase:meta’,{STARTROW=>’ table,ENDROW=> table`’}” | hbase shell | grep “value=.*16020” | awk -F ‘[:=]’ ‘{id=NF-1;print $id}’ | sort | uniq -c查看hfile文件 hbase org.apache.hadoop.hbase.io.hfile.HFile -m -b -f 文件hdfs路径查看hlog日志 hbase hlog wal日志hdfs路径
转载请注明原文地址: https://www.6miu.com/read-65705.html

最新回复(0)