Thanks @StevenOD. we have a similar layout. But more jobs are adding to the cluster every day, as a result, there are some resource constraints. we are not expanding the cluster this year, hence searching for other routes like adding NM on top of RM and NN. Is it good to add NM on the Master nodes where NN and RM are hosted?
I wouldn't recommend putting the node manager on the master nodes. You want the node managers to run where the data are stored. So putting the node manager on the master nodes implies that you would also be using the master nodes as data nodes. Ideally, you want to isolate the master nodes and services that manage the platform out from where the computation and processing are happening i.e. the data nodes.