Class AmRestApi.StopResource

java.lang.Object
org.apache.drill.yarn.appMaster.http.AmRestApi.StopResource
Enclosing class:
AmRestApi

@Path("/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.
  • Constructor Details

    • StopResource

      public StopResource()
  • Method Details

    • postStop

      @POST @Produces("application/json") public Map<String,String> postStop()