批量执行hbase shell 命令
#!/bin/bash
source /etc/profile
exec $HBASE_HOME/bin/hbase shell <<EOF
truncate 'tracker_total_apk_fact_zyt'
major_compact('t_abc')
disable 't_abc'
drop 't_abc'
create 't_abc', 'info'
EOF
批量执行hbase shell 命令
#!/bin/bash
source /etc/profile
exec $HBASE_HOME/bin/hbase shell <<EOF
truncate 'tracker_total_apk_fact_zyt'
major_compact('t_abc')
disable 't_abc'
drop 't_abc'
create 't_abc', 'info'
EOF