Tuesday, 25 August 2015

Automate Thrift Server Start/Stop in Hortonworks Hbase using shell script

1. Create a .sh file

2.      sudo kill -9 `sudo netstat -nlp|grep 9090 | awk '{print $7}' | cut -c1-5`
         hbase thrift start -threadpool

3. Copy the above lines.

4. Execute the shell script. -> /home/brillio/xxxxxxx.sh

5. Done.

No comments:

Post a Comment