Currently, CLI/REST API is provided in Resource Manager to allow users to specify labels for nodes. For labels which may change over time, users will have to start a cron job to update the labels. This has the following limitations:
- The cron job needs to be run in the YARN admin user.
- This makes it a little complicate to maintain as users will have to make sure this service/daemon is alive.
Adding a Node Labels Provider in Resource Manager will provide user more flexibility.