webapp.groomserver.groomserver.jsp Maven / Gradle / Ivy
The newest version!
<%@ page
contentType="text/html; charset=UTF-8"
import="javax.servlet.*"
import="javax.servlet.http.*"
import="java.io.*"
import="java.util.*"
import="java.text.DecimalFormat"
import="org.apache.hama.bsp.*"
import="org.apache.hama.util.*"
%>
<%! private static final long serialVersionUID = 1L;
%>
<%
GroomServer groom = (GroomServer) application.getAttribute("groom.server");
String groomName = groom.getGroomServerName();
%>
<%= groomName %> - Server Status
<%= groomName %>
Running tasks
Task Attempts Status
<%
Iterator itr = groom.getRunningTaskStatuses().iterator();
while (itr.hasNext()) {
TaskStatus status = (TaskStatus) itr.next();
out.print("" + status.getTaskId());
out.print(" " + status.getRunState());
out.print(" \n");
}
%>
Local Logs
Log directory
<%
out.println(BSPServletUtil.htmlFooter());
%>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy