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

8 lines
141 B
Bash

#!/bin/bash
if [ $test_only -eq 0 ]; then
systemctl stop hadoop-hdfs-datanode
systemctl stop hadoop-hdfs-namenode
else
exit 0
fi