Skip to content

Instantly share code, notes, and snippets.

@mixu
Created January 3, 2014 01:13
Show Gist options
  • Save mixu/8230705 to your computer and use it in GitHub Desktop.
Save mixu/8230705 to your computer and use it in GitHub Desktop.
restart hadoop
for i in `service --status-all |& grep -Po "(zookeeper|hadoop).*"`; do sudo service $i restart; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment