一些好的操作和维护脚本。
add hadoop && hbase install script
lock scripts:
/usr/bin/flock -xn /tmp/command.lock /path/to/command.sh