during role selection, Is there any easy way to say that 1 machine is the master , so it is the Yarn resourcemanager.
Every other machine is a worker ( ie.e node manager).
I do not want to assign roles to every machine for every service I have selected ( hadoop, spark, zookeper, etc).
The master machine should get all the master roles for every service.
You will have to specify roles for every service which you have installed. But yes, once you have installed basic services like HDFS, then for the next time, whenever you are installing a new service the recommendation will appear in the same manner, specific to master and slaves only.