标签: hbase hdfs
我将进行集成测试,为此我启动MiniHbaseCluster(http://hbase.apache.org/)。如何在其上运行hbase shell脚本?
答案 0 :(得分:0)
根据以下示例,您只需编写使用相同的bash脚本EOF
#!/bin/sh hbase shell <<EOF scan 'mytable',{LIMIT => 10} exit EOF