Removed bug, where YarnConfiguration was always created new