@Path(value="/stop")
@PermitAll
public static class AmRestApi.StopResource
extends Object
Stop the cluster. Uses a key to validate the request. The value of the key is
set in the Drill-on-YARN configuration file. The purpose is simply to prevent
accidental cluster shutdown when experimenting with the REST API; this is
not meant to be a security mechanism.