Description
There are several APIs in YarnClient which can be used when the ApplicationId is available. For a YARN service getting the ApplicationId corresponding to a service name will open up all these APIs for the service. Hence making the below API public will be very helpful.
private synchronized ApplicationId getAppId(String serviceName)