001package org.apache.hadoop.hdfs.server.journalservice;
002
003import javax.servlet.*;
004import javax.servlet.http.*;
005import javax.servlet.jsp.*;
006import org.apache.hadoop.hdfs.server.common.JspHelper;
007import org.apache.hadoop.util.ServletUtil;
008
009public final class journalstatus_jsp extends org.apache.jasper.runtime.HttpJspBase
010    implements org.apache.jasper.runtime.JspSourceDependent {
011
012
013  //for java.io.Serializable
014  private static final long serialVersionUID = 1L;
015
016  private static java.util.List _jspx_dependants;
017
018  public Object getDependants() {
019    return _jspx_dependants;
020  }
021
022  public void _jspService(HttpServletRequest request, HttpServletResponse response)
023        throws java.io.IOException, ServletException {
024
025    JspFactory _jspxFactory = null;
026    PageContext pageContext = null;
027    HttpSession session = null;
028    ServletContext application = null;
029    ServletConfig config = null;
030    JspWriter out = null;
031    Object page = this;
032    JspWriter _jspx_out = null;
033    PageContext _jspx_page_context = null;
034
035
036    try {
037      _jspxFactory = JspFactory.getDefaultFactory();
038      response.setContentType("text/html; charset=UTF-8");
039      pageContext = _jspxFactory.getPageContext(this, request, response,
040                        null, true, 8192, true);
041      _jspx_page_context = pageContext;
042      application = pageContext.getServletContext();
043      config = pageContext.getServletConfig();
044      session = pageContext.getSession();
045      out = pageContext.getOut();
046      _jspx_out = out;
047
048
049/*
050 * Licensed to the Apache Software Foundation (ASF) under one
051 * or more contributor license agreements.  See the NOTICE file 
052 * distributed with this work for additional information
053 * regarding copyright ownership.  The ASF licenses this file
054 * to you under the Apache License, Version 2.0 (the
055 * "License"); you may not use this file except in compliance
056 * with the License.  You may obtain a copy of the License at
057 *
058 *     http://www.apache.org/licenses/LICENSE-2.0
059 *
060 * Unless required by applicable law or agreed to in writing, software
061 * distributed under the License is distributed on an "AS IS" BASIS,
062 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
063 * See the License for the specific language governing permissions and
064 * limitations under the License.
065 */
066
067      out.write("<!DOCTYPE html>\n<html>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/static/hadoop.css\">\n<title>Hadoop JournalNode</title>\n    \n<body>\n<h1>JournalNode</h1>\n");
068      out.print( JspHelper.getVersionTable() );
069      out.write("<hr />\n\n<br />\n<b><a href=\"/logs/\">Logs</a></b>\n");
070      out.print( ServletUtil.htmlFooter() );
071    } catch (Throwable t) {
072      if (!(t instanceof SkipPageException)){
073        out = _jspx_out;
074        if (out != null && out.getBufferSize() != 0)
075          out.clearBuffer();
076        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
077      }
078    } finally {
079      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
080    }
081  }
082}