DO NOT USE THIS INSTANCE FOR LIVE DATA!!!!
In yarnadmin command help getServiceState command is not mentioned.