HBase Shell将命令执行结果导出到文件

1、将Hbase shell执行结果输出到文件 echo "scan 'test'" | hbase shell>my.txt 2、查看表的region数 list_regions 'test' 3、执行文件中的Hbase shell hbase shell my.txt
posted @ 2024-01-31 16:20  业余砖家  阅读(67)  评论(0编辑  收藏  举报