Implement YARN roles