I have a use-case in which I want to utilize initialization-actions in dataproc to run a script that will install the necessary items. I have used a couple of initialization actions scripts on dataproc which work well, and does install on both master and worker nodes. But here, I would like to run it on master node only.
Specifically I m installing on top of yarn on master node ,So that it will automatically install on other nodes (worker nodes).
Is there any flag in Dataproc Initialization actions which will skip installing on worker nodes?