2


我将进行集成测试,为此我启动 MiniHbaseCluster ( http://hbase.apache.org/ )。如何在其上运行 hbase shell 脚本?

4

1 回答 1

0

Simply you can write use same bash scripting EOF as per the below example

#!/bin/sh
hbase shell <<EOF 
scan 'mytable',{LIMIT => 10}
exit
EOF
于 2016-01-31T10:22:20.583 回答