src/main/java/org/apache/hadoop/hdfs/server/namenode/analytics/web/NamenodeAnalyticsMethods.java
@GET
  @Path("/operations")
  @Produces({MediaType.APPLICATION_JSON})
  public Response operations() {
    try {
      before();
      return Response.ok(Helper.toJsonList(Operation.values()), MediaType.APPLICATION_JSON).build();
    } catch (Exception ex) {
      return handleException(ex);
    } finally {
      after();
    }
  }
/**
   * OPERATIONS endpoint is meant to showcase the different types of operations available in JSON
   * form. These are only applicable under the /submitOperation endpoint. Under /submitOperation,
   * the "&operation=" type dictates what operation to do with the filtered set.
   */
OPERATIONS endpoint is meant to showcase the different types of operations available in JSON
form. These are only applicable under the /submitOperation endpoint. Under /submitOperation,
the "&operation=" type dictates what operation to do with the filtered set.
OPERATIONS endpoint is meant to showcase the different types of operations available in JSON form . These are only applicable under the / submitOperation endpoint . Under / submitOperation the " &operation = " type dictates what operation to do with the filtered set .
@GET
  @Path("/operations")
  @Produces({MediaType.APPLICATION_JSON})
  public Response operations() {
    try {
      before();
      return Response.ok(Helper.toJsonList(Operation.values()), MediaType.APPLICATION_JSON).build();
    } catch (Exception ex) {
      return handleException(ex);
    } finally {
      after();
    }
  }
@ GET @ Path ( "/operations" ) @ Produces ( { MediaType . APPLICATION_JSON } ) public Response operations ( ) { try { before ( ) ; return Response . ok ( Helper . toJsonList ( Operation . values ( ) ) , MediaType . APPLICATION_JSON ) . build ( ) ; } catch ( Exception ex ) { return handleException ( ex ) ; } finally { after ( ) ; } }
OPERATIONS endpoint is meant to showcase the different types of operations available in JSON
 form.
OPERATIONS endpoint is meant to showcase the different types of operations available in JSON form .