Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- start() {
- source "/etc/profile.d/hadoop.sh"
- start-dfs.sh
- start-yarn.sh
- }
- stop() {
- source "/etc/profile.d/hadoop.sh"
- stop-yarn.sh
- stop-dfs.sh
- }
- case $1 in
- start|stop) "$1" ;;
- esac
- exit 0
Add Comment
Please, Sign In to add comment