Skip to content

Instantly share code, notes, and snippets.

@berngp
Created March 8, 2013 00:21
Show Gist options
  • Save berngp/5113159 to your computer and use it in GitHub Desktop.
Save berngp/5113159 to your computer and use it in GitHub Desktop.
Stops all Hadoop processes running in the given node.
for x in `cd /etc/init.d ; ls hadoop-*` ; do sudo service $x stop ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment