To stop Hiveserver2 using the maprcli:

  1. Make a list of nodes on which Hiveserver2 is configured.
  2. Issue the maprcli node services command:
    maprcli node services -name hs2 -action stop -nodes <space delimited list of nodes>