sahara-plugin-spark/sahara_plugin_spark/plugins/spark/resources/images/ubuntu/turn_off_services

8 lines
155 B
Bash

#!/bin/bash
if [ $test_only -eq 0 ]; then
update-rc.d -f hadoop-hdfs-datanode remove
update-rc.d -f hadoop-hdfs-namenode remove
else
exit 0
fi