A user fails to reduce the number of task nodes to 0 on details page of the MRS 2.x cluster, and the following information is displayed:
This operation is not allowed because the number of instances of NodeManager will be less than the minimum configuration after scale-in, which may cause data loss.
The NodeManager service of the core node is stopped. If the number of task nodes is changed to 0, there will be no NodeManager in the cluster and the Yarn service will be unavailable. Therefore, MRS allows the reduction of task nodes only when the number of NodeManagers is greater than or equal to 1.
If the Components tab is unavailable, complete IAM user synchronization first. (On the Dashboard page, click Synchronize on the right side of IAM User Sync to synchronize IAM users.)
You are advised not to stop NodeManager of the core node.