dcos package uninstall hdfs
docker run mesosphere/janitor /janitor.py -r hdfs-role -p hdfs-principal -z dcos-hdfs
dcos-shell
/opt/mesosphere/bin/pkgpanda uninstall
rm -rf /opt/mesosphere /var/lib/mesos /var/lib/dcos /var/lib/zookeeper /var/log/mesos /etc/mesosphere /var/lib/mesosphere /tmp/dcos
rm -rf /etc/profile.d/dcos.sh /etc/systemd/journald.conf.d/dcos.conf /etc/systemd/system/dcos-download.service /etc/systemd/system/dcos-link-env.service
rm -rf /etc/systemd/system/dcos.target /etc/systemd/system/dcos.target.wants
rm -rf /etc/systemd/system/dcos-setup.service /etc/systemd/system/multi-user.target.wants/dcos-setup.service /etc/systemd/system/multi-user.target.wants/dcos.target
mkdir /tmp/dcos && cd /tmp/dcos
curl -O http://192.168.1.230:8888/dcos_install.sh
chmod 755 dcos_install.sh
./dcos_install.sh master
./dcos_install.sh slave
./dcos_install.sh slave_public