yarn 优雅退役措施?
echo " <hosts><host></host></hosts> " > /etc/hadoop/excludes.xml"
source /etc/profile && yarn rmadmin -refreshNodes -g 1800 -client
echo " <hosts><host></host></hosts> " > /etc/hadoop/excludes.xml"
source /etc/profile && yarn rmadmin -refreshNodes -g 1800 -client