@GET
  @Path("/config")
  @Produces(MediaType.APPLICATION_JSON)
  public Response config(){
    JSONObject object = new JSONObject();
    String fs = context.getProperties().get("webhdfs.url");
    object.put("webhdfs.url", fs);
    return Response.ok(object).build();
  }
View configuration
@return configuration of HDFS
contrib/views/pig/src/main/java/org/apache/ambari/view/pig/services/HelpService.java