#!/bin/bash
stop-hbase.sh
zkServer.sh stop
res=`ps -ef|grep RunJar|grep Hive | awk {‘print $2’}`
for i in $res
do
kill -9 $i
done
stop-all.sh
记得运行脚本时更改权限
#!/bin/bash
stop-hbase.sh
zkServer.sh stop
res=`ps -ef|grep RunJar|grep Hive | awk {‘print $2’}`
for i in $res
do
kill -9 $i
done
stop-all.sh
记得运行脚本时更改权限