[yarn] set the same user for the services running in the YARN containers.
Fix #584
Fix #568