YARN-1761. Modified RMAdmin CLI to check whether HA is enabled or not before it executes any of the HA admin related commands. Contributed by Xuan Gong. svn merge --ignore-ancestry -c 1574661 ../../trunk/