Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将进行集成测试,为此我启动 MiniHbaseCluster ( http://hbase.apache.org/ )。如何在其上运行 hbase shell 脚本?
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