Class AmRestApi.StatusResource

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

@Path("/status") @PermitAll public static class AmRestApi.StatusResource extends Object
Returns cluster status as a tree of JSON objects. Done as explicitly-defined maps to specify the key names (which must not change to avoid breaking compatibility) and to handle type conversions.
  • Constructor Details

    • StatusResource

      public StatusResource()
  • Method Details

    • getStatus

      @GET @Produces("application/json") public Map<String,Object> getStatus()