可以利用shell 脚本执行hbase shell中的一些操作
#!/bin/sh
exec $HBASE_HOME/bin/hbase shell <<EOF
create 'test', {NAME => 't', VERSIONS => 1}
EOF
可以利用shell 脚本执行hbase shell中的一些操作
#!/bin/sh
exec $HBASE_HOME/bin/hbase shell <<EOF
create 'test', {NAME => 't', VERSIONS => 1}
EOF