src/main/java/org/apache/hadoop/hdfs/server/namenode/analytics/web/NamenodeAnalyticsMethods.java
@GET
  @Path("/loadingStatus")
  @Produces({MediaType.APPLICATION_JSON})
  public Response loadingStatus() {
    final NameNodeLoader nnLoader = (NameNodeLoader) context.getAttribute(NNA_NN_LOADER);
    try {
      before();
      nnLoader.sendLoadingStatus(response);
      return Response.ok().build();
    } catch (Exception ex) {
      return handleException(ex);
    } finally {
      after();
    }
  }
/**
   * LOADINGSTATUS endpoint is meant to show the loading status of the NNA instance in JSON form.
   */
LOADINGSTATUS endpoint is meant to show the loading status of the NNA instance in JSON form.
LOADINGSTATUS endpoint is meant to show the loading status of the NNA instance in JSON form .
@GET
  @Path("/loadingStatus")
  @Produces({MediaType.APPLICATION_JSON})
  public Response loadingStatus() {
    final NameNodeLoader nnLoader = (NameNodeLoader) context.getAttribute(NNA_NN_LOADER);
    try {
      before();
      nnLoader.sendLoadingStatus(response);
      return Response.ok().build();
    } catch (Exception ex) {
      return handleException(ex);
    } finally {
      after();
    }
  }
@ GET @ Path ( "/loadingStatus" ) @ Produces ( { MediaType . APPLICATION_JSON } ) public Response loadingStatus ( ) { final NameNodeLoader nnLoader = ( NameNodeLoader ) context . getAttribute ( NNA_NN_LOADER ) ; try { before ( ) ; nnLoader . sendLoadingStatus ( response ) ; return Response . ok ( ) . build ( ) ; } catch ( Exception ex ) { return handleException ( ex ) ; } finally { after ( ) ; } }
LOADINGSTATUS endpoint is meant to show the loading status of the NNA instance in JSON form.
LOADINGSTATUS endpoint is meant to show the loading status of the NNA instance in JSON form .