Refine search
config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); out.write('\n'); out.write('\n'); out.write("\n<!DOCTYPE html>\n<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta charset=\"utf-8\">\n <title>"); out.print( request.getParameter("pageTitle")); out.write("</title>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <meta name=\"description\" content=\"\">\n <meta name=\"author\" content=\"\">\n\n <link href=\"/static/css/bootstrap.min.css\" rel=\"stylesheet\">\n <link href=\"/static/css/bootstrap-theme.min.css\" rel=\"stylesheet\">\n <link href=\"/static/css/hbase.css\" rel=\"stylesheet\">\n </head>\n <body>\n <div class=\"navbar navbar-fixed-top navbar-default\">\n <div class=\"container-fluid\">\n <div class=\"navbar-header\">\n <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\"\n data-target=\".navbar-collapse\">\n <span class=\"icon-bar\"></span>\n <span class=\"icon-bar\"></span>\n <span class=\"icon-bar\"></span>\n </button>\n <a class=\"navbar-brand\" href=\"/master-status\">\n <img src=\"/static/hbase_logo_small.png\" alt=\"HBase Logo\"/>\n </a>\n </div>\n <div class=\"collapse navbar-collapse\">\n <ul class=\"nav navbar-nav\">\n <li><a href=\"/master-status\">Home</a></li>\n"); out.write(" <li><a href=\"/tablesDetailed.jsp\">Table Details</a></li>\n "); if (master.isActiveMaster()){ out.write("\n <li><a href=\"/procedures.jsp\">Procedures & Locks</a></li>\n "); out.write("\n <li><a href=\"/processMaster.jsp\">Process Metrics</a></li>\n <li><a href=\"/logs/\">Local Logs</a></li>\n <li><a href=\"/logLevel\">Log Level</a></li>\n <li><a href=\"/dump\">Debug Dump</a></li>\n <li><a href=\"/jmx\">Metrics Dump</a></li>\n "); if (HBaseConfiguration.isShowConfInServlet()) { out.write("\n <li><a href=\"/conf\">HBase Configuration</a></li>\n "); out.write("\n </ul>\n </div><!--/.nav-collapse -->\n </div>\n </div>\n"); } catch (Throwable t) { if (!(t instanceof SkipPageException)){
config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); out.write("\n\n<!DOCTYPE html>\n<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta charset=\"utf-8\">\n <title>"); out.print( request.getParameter("pageTitle")); out.write("</title>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <meta name=\"description\" content=\"\">\n <meta name=\"author\" content=\"\">\n\n <link href=\"/static/css/bootstrap.min.css\" rel=\"stylesheet\">\n <link href=\"/static/css/bootstrap-theme.min.css\" rel=\"stylesheet\">\n <link href=\"/static/css/hbase.css\" rel=\"stylesheet\">\n </head>\n <body>\n <div class=\"navbar navbar-fixed-top navbar-default\">\n <div class=\"container-fluid\">\n <div class=\"navbar-header\">\n <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\"\n data-target=\".navbar-collapse\">\n <span class=\"icon-bar\"></span>\n <span class=\"icon-bar\"></span>\n <span class=\"icon-bar\"></span>\n </button>\n <a class=\"navbar-brand\" href=\"/rs-status\">\n <img src=\"/static/hbase_logo_small.png\" alt=\"HBase Logo\"/>\n </a>\n </div>\n <div class=\"collapse navbar-collapse\">\n <ul class=\"nav navbar-nav\">\n <li><a href=\"/rs-status\">Home</a></li>\n"); out.write(" <li><a href=\"/processRS.jsp\">Process Metrics</a></li>\n <li><a href=\"/logs/\">Local Logs</a></li>\n <li><a href=\"/logLevel\">Log Level</a></li>\n <li><a href=\"/dump\">Debug Dump</a></li>\n <li><a href=\"/jmx\">Metrics Dump</a></li>\n "); if (HBaseConfiguration.isShowConfInServlet()) { out.write("\n <li><a href=\"/conf\">HBase Configuration</a></li>\n "); out.write("\n </ul>\n </div><!--/.nav-collapse -->\n </div>\n </div>\n"); } catch (Throwable t) { if (!(t instanceof SkipPageException)){
@Override public int doEndTag() throws JspException { try { final ASN1InputStream decoder = new ASN1InputStream(value); ASN1Primitive primitive = decoder.readObject(); while (primitive != null && !(primitive instanceof ASN1Null)) { pageContext.getOut().write(doPrimitive(primitive)); primitive = decoder.readObject(); } } catch (Exception ex) { throw new JspException(ex.getMessage()); } return super.doEndTag(); }
config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write('\n'); out.write('\n'); out.write('\n'); String remoteUser = request.getRemoteUser(); out.write("\n\n<!--[if IE]>\n<!DOCTYPE html>\n<![endif]-->\n<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\">\n <title>HiveServer2</title>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <meta name=\"description\" content=\"\">\n\n <link href=\"/static/css/bootstrap.min.css\" rel=\"stylesheet\">\n <link href=\"/static/css/bootstrap-theme.min.css\" rel=\"stylesheet\">\n <link href=\"/static/css/hive.css\" rel=\"stylesheet\">\n\n <link rel=\"stylesheet\" type=\"text/css\" href=\"/static/css/json.human.css\">\n <script src=\"/static/js/jquery.min.js\"></script>\n <script src=\"/static/js/json.human.js\"></script>\n <script src=\"/static/js/logconf.js\"></script>\n</head>\n\n<body>\n <div class=\"navbar navbar-fixed-top navbar-default\">\n <div class=\"container\">\n <div class=\"navbar-header\">\n <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n <span class=\"icon-bar\"></span>\n <span class=\"icon-bar\"></span>\n"); out.write(" <span class=\"icon-bar\"></span>\n </button>\n <a class=\"navbar-brand\" href=\"/hiveserver2.jsp\"><img src=\"/static/hive_logo.jpeg\" alt=\"Hive Logo\"/></a>\n </div>\n <div class=\"collapse navbar-collapse\">\n <ul class=\"nav navbar-nav\">\n <li class=\"active\"><a href=\"/\">Home</a></li>\n <li><a href=\"/logs/\">Local logs</a></li>\n <li><a href=\"/jmx\">Metrics Dump</a></li>\n <li><a href=\"/conf\">Hive Configuration</a></li>\n <li><a href=\"/stacks\">Stack Trace</a></li>\n <li><a href=\"/llap.html\">Llap Daemons</a></li>\n <li><a href=\"/logconf.jsp\">Configure logging</a></li>\n </ul>\n </div><!--/.nav-collapse -->\n </div>\n </div>\n\n\n <div class=\"container\">\n <div class=\"row inner_header\">\n <div class=\"page-header\">\n <h2>Configure HiveServer2 logging</h2>\n </div>\n"); out.write(" </div>\n <div class=\"row\">\n\n <div id=\"current-logs-container\">\n <table id=\"current-logs-table\" class=\"table\">\n <thead>\n <tr>\n <th>Logger name</th>\n <th>Log level</th>\n </tr>\n </thead>\n <tbody id=\"current-logs\">\n\n </tbody>\n </table>\n </div>\n\n <h2>Set new logging rules</h2>\n\n <form class=\"form-inline\">\n <div class=\"form-group\">\n <input type=\"text\" id=\"logger-name\" class=\"form-control\" placeholder=\"Logger name\">\n </div>\n <div class=\"form-group\">\n <select id=\"log-level\" class=\"form-control\">\n <option value=\"TRACE\">TRACE</option>\n <option value=\"DEBUG\">DEBUG</option>\n <option value=\"INFO\">INFO</option>\n <option value=\"WARN\">WARN</option>\n"); out.write(" <option value=\"ERROR\">ERROR</option>\n <option value=\"FATAL\">FATAL</option>\n </select>\n </div>\n\n <button id=\"log-level-submit\" type=\"button\" class=\"btn btn-primary\">Submit</button>\n </form>\n\n </div>\n </div>\n\n</body>\n</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out.write('\n'); out.write('\n'); String listenPort = conf.get("hbase.rest.port", "8080"); out.write("\n<!DOCTYPE html>\n<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <title>HBase REST Server: "); out.print( listenPort ); out.write("</title>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <meta name=\"description\" content=\"\">\n\n <link href=\"/static/css/bootstrap.min.css\" rel=\"stylesheet\">\n <link href=\"/static/css/bootstrap-theme.min.css\" rel=\"stylesheet\">\n <link href=\"/static/css/hbase.css\" rel=\"stylesheet\">\n </head>\n\n <body>\n <div class=\"navbar navbar-fixed-top navbar-default\">\n <div class=\"container-fluid\">\n <div class=\"navbar-header\">\n <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n <span class=\"icon-bar\"></span>\n <span class=\"icon-bar\"></span>\n <span class=\"icon-bar\"></span>\n </button>\n <a class=\"navbar-brand\" href=\"/rest.jsp\"><img src=\"/static/hbase_logo_small.png\" alt=\"HBase Logo\"/></a>\n </div>\n <div class=\"collapse navbar-collapse\">\n <ul class=\"nav navbar-nav\">\n <li class=\"active\"><a href=\"/rest.jsp\">Home</a></li>\n"); out.write(" <li><a href=\"/logs/\">Local logs</a></li>\n <li><a href=\"/logLevel\">Log Level</a></li>\n <li><a href=\"/jmx\">Metrics Dump</a></li>\n "); if (HBaseConfiguration.isShowConfInServlet()) { out.write("\n <li><a href=\"/conf\">HBase Configuration</a></li>\n "); out.write("\n </ul>\n </div><!--/.nav-collapse -->\n </div>\n </div>\n\n<div class=\"container-fluid content\">\n <div class=\"row inner_header\">\n <div class=\"page-header\">\n <h1>RESTServer <small>"); out.print( listenPort ); out.write("</small></h1>\n </div>\n </div>\n <div class=\"row\">\n\n <section>\n <h2>Software Attributes</h2>\n <table id=\"attributes_table\" class=\"table table-striped\">\n <tr>\n <th>Attribute Name</th>\n <th>Value</th>\n <th>Description</th>\n </tr>\n <tr>\n <td>HBase Version</td>\n <td>"); out.print( VersionInfo.getVersion() ); out.write(", revision="); out.print( VersionInfo.getRevision() ); out.write("</td>\n <td>HBase version and revision</td>\n </tr>\n <tr>\n <td>HBase Compiled</td>\n <td>"); out.print( VersionInfo.getDate() ); out.write(','); out.write(' '); out.print( VersionInfo.getUser() ); out.write("</td>\n <td>When HBase version was compiled and by whom</td>\n </tr>\n <tr>\n <td>REST Server Start Time</td>\n <td>"); out.print( new Date(startcode) ); out.write("</td>\n <td>Date stamp of when this REST server was started</td>\n </tr>\n </table>\n </section>\n </div>\n <div class=\"row\">\n\n <section>\n<a href=\"http://hbase.apache.org/book.html#_rest\">Apache HBase documentation about REST</a>\n </section>\n </div>\n</div>\n<script src=\"/static/js/jquery.min.js\" type=\"text/javascript\"></script>\n<script src=\"/static/js/bootstrap.min.js\" type=\"text/javascript\"></script>\n<script src=\"/static/js/tab.js\" type=\"text/javascript\"></script>\n</body>\n</html>\n\n"); } catch (Throwable t) { if (!(t instanceof SkipPageException)){
out.write("\n\n\n\n"); out.write("\n<!DOCTYPE html>\n<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <title>HBase Thrift Server: "); out.print( listenPort ); out.write("</title>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <meta name=\"description\" content=\"\">\n\n <link href=\"/static/css/bootstrap.min.css\" rel=\"stylesheet\">\n <link href=\"/static/css/bootstrap-theme.min.css\" rel=\"stylesheet\">\n <link href=\"/static/css/hbase.css\" rel=\"stylesheet\">\n </head>\n\n <body>\n <div class=\"navbar navbar-fixed-top navbar-default\">\n <div class=\"container-fluid\">\n <div class=\"navbar-header\">\n <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n <span class=\"icon-bar\"></span>\n <span class=\"icon-bar\"></span>\n <span class=\"icon-bar\"></span>\n </button>\n <a class=\"navbar-brand\" href=\"/thrift.jsp\"><img src=\"/static/hbase_logo_small.png\" alt=\"HBase Logo\"/></a>\n </div>\n <div class=\"collapse navbar-collapse\">\n <ul class=\"nav navbar-nav\">\n <li class=\"active\"><a href=\"/\">Home</a></li>\n"); out.write(" <li><a href=\"/logs/\">Local logs</a></li>\n <li><a href=\"/logLevel\">Log Level</a></li>\n <li><a href=\"/jmx\">Metrics Dump</a></li>\n "); if (HBaseConfiguration.isShowConfInServlet()) { out.write("\n <li><a href=\"/conf\">HBase Configuration</a></li>\n "); out.write("\n </ul>\n </div><!--/.nav-collapse -->\n </div>\n </div>\n\n<div class=\"container-fluid content\">\n <div class=\"row inner_header\">\n <div class=\"page-header\">\n <h1>ThriftServer <small>"); out.print( listenPort ); out.write("</small></h1>\n </div>\n </div>\n <div class=\"row\">\n\n <section>\n <h2>Software Attributes</h2>\n <table id=\"attributes_table\" class=\"table table-striped\">\n <tr>\n <th>Attribute Name</th>\n <th>Value</th>\n <th>Description</th>\n </tr>\n <tr>\n <td>HBase Version</td>\n <td>"); out.print( VersionInfo.getVersion() ); out.write(", r"); out.print( VersionInfo.getRevision() ); out.write("</td>\n <td>HBase version and revision</td>\n </tr>\n <tr>\n <td>HBase Compiled</td>\n <td>"); out.print( VersionInfo.getDate() ); out.write(','); out.write(' '); out.print( VersionInfo.getUser() ); out.write("</td>\n <td>When HBase version was compiled and by whom</td>\n </tr>\n <tr>\n <td>Thrift Server Start Time</td>\n <td>"); out.print( new Date(startcode) ); out.write("</td>\n <td>Date stamp of when this Thrift server was started</td>\n </tr>\n <tr>\n <td>Thrift Impl Type</td>\n <td>"); out.print( implType.getOption() ); out.write("</td>\n <td>Thrift RPC engine implementation type chosen by this Thrift server</td>\n </tr>\n <tr>\n <td>Compact Protocol</td>\n <td>"); out.print( compact ); out.write("</td>\n <td>Thrift RPC engine uses compact protocol</td>\n </tr>\n <tr>\n <td>Framed Transport</td>\n <td>"); out.print( framed ); out.write("</td>\n <td>Thrift RPC engine uses framed transport</td>\n </tr>\n </table>\n </section>\n </div>\n <div class=\"row\">\n <section>\n <a href=\"http://hbase.apache.org/book.html#_thrift\">Apache HBase Reference Guide chapter on Thrift</a>\n </section>\n </div>\n</div>\n<script src=\"/static/js/jquery.min.js\" type=\"text/javascript\"></script>\n<script src=\"/static/js/bootstrap.min.js\" type=\"text/javascript\"></script>\n<script src=\"/static/js/tab.js\" type=\"text/javascript\"></script>\n</body>\n</html>\n");
out.write("\n\n\n\n\n"); out.write('\n'); org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "header.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("pageTitle", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${pageTitle}", java.lang.String.class, (PageContext)_jspx_page_context, null), request.getCharacterEncoding()), out, false); out.write("\n\n<div class=\"container-fluid content\">\n <div class=\"row inner_header\">\n <div class=\"page-header\">\n <h1>User Tables</h1>\n </div>\n </div>\n\n "); List<TableDescriptor> tables = new ArrayList<TableDescriptor>(); String errorMessage = MasterStatusTmplImpl.getUserTables(master, tables); if (tables.size() == 0 && errorMessage != null) { out.write("\n <p> "); out.print( errorMessage ); out.write(" </p>\n "); out.write("\n <table class=\"table table-striped\">\n <tr>\n <th>Table</th>\n <th>Description</th>\n </tr>\n "); for (TableDescriptor htDesc : tables) { out.write("\n <tr>\n <td>\n <a href=\"/table.jsp?name="); out.print( escapeXml(htDesc.getTableName().getNameAsString()) ); out.write('"'); out.write('>'); out.print( escapeXml( htDesc.getTableName().getNameAsString()) ); out.write("\n </a></td>\n <td>"); out.print( htDesc.toString() ); out.write("\n </td>\n </tr>\n "); out.write("\n\n <p>"); out.print( tables.size() ); out.write(" table(s) in set.</p>\n </table>\n "); out.write("\n</div>\n\n");
config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); out.write('\n'); out.write('\n'); out.write('\n'); org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "header.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("pageTitle", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("Zookeeper Dump", request.getCharacterEncoding()), out, false); out.write("\n <div class=\"container-fluid content\">\n <div class=\"row inner_header\">\n <div class=\"page-header\">\n <h1>ZooKeeper Dump</h1>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"span12\">\n <pre>"); out.print( StringEscapeUtils.escapeHtml4(ZKUtil.dump(watcher).trim()) ); out.write("</pre>\n </div>\n </div>\n </div>\n"); org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "footer.jsp", out, false); out.write('\n'); } catch (Throwable t) { if (!(t instanceof SkipPageException)){
out.write('\n'); out.write('\n'); pageContext.setAttribute("pageTitle", "HBase RegionServer: " + rs.getServerName()); out.write('\n'); org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "header.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("pageTitle", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${pageTitle}", java.lang.String.class, (PageContext)_jspx_page_context, null), request.getCharacterEncoding()), out, false); out.write("\n\n <div class=\"container-fluid content\">\n <div class=\"row inner_header\">\n <div class=\"page-header\">\n <h4>StoreFile: "); out.print( storeFile ); out.write("</h4>\n </div>\n </div>\n <pre>\n"); printer.processFile(new Path(storeFile)); String text = byteStream.toString(); out.write("\n "); out.print( text ); out.write("\n "); out.write("\n "); out.print( e ); out.write("\n "); out.write("\n </pre>\n</div>\n\n"); org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "footer.jsp", out, false); out.write('\n'); } catch (Throwable t) { if (!(t instanceof SkipPageException)){
out.write("\n\n\n"); out.write("\n\n\n"); if (format.equals("html")) { out.write('\n'); org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "header.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("pageTitle", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${pageTitle}", java.lang.String.class, (PageContext)_jspx_page_context, null), request.getCharacterEncoding()), out, false); out.write("\n<div class=\"container-fluid content\">\n <div class=\"row\">\n <div class=\"page-header\">\n <h1>Regions in transition</h1>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"page-header\">\n <a href=\"/rits.jsp?format=txt&filter=region&table="); out.print(table); out.write("&state="); out.print(state); out.write("\" class=\"btn btn-primary\">Regions in text format</a>\n <a href=\"/rits.jsp?format=txt&filter=procedure&table="); out.print(table); out.write("&state="); out.print(state); out.write("\" class=\"btn btn-info\">Procedures in text format</a>\n <p>regions and procedures in text format can be copied and passed to command-line utils such as hbck2</p>\n </div>\n </div>\n\n "); if (rit != null && rit.size() > 0) { out.write("\n <table class=\"table table-striped\">\n <tr>\n <th>Region</th>\n <th>Table</th>\n <th>RegionState</th>\n <th>Procedure</th>\n <th>ProcedureState</th>\n </tr>\n "); for (RegionStateNode regionStateNode : rit) { out.write("\n <tr>\n <td>"); out.print( regionStateNode.getRegionInfo().getEncodedName() ); out.write("</td>\n <td>"); out.print( regionStateNode.getRegionInfo().getTable() ); out.write("</td>\n <td>"); out.print( regionStateNode.getState() ); out.write("</td>\n <td>"); out.print( regionStateNode.getProcedure().getProcId() ); out.write("</td>\n <td>"); out.print( escapeXml(regionStateNode.getProcedure().getState().toString() + (regionStateNode.getProcedure().isBypass() ? "(Bypassed)" : "")) ); out.write("</td>\n </tr>\n ");
out.write('\n'); out.write('\n'); out.write('\n'); org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "header.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("pageTitle", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${pageTitle}", java.lang.String.class, (PageContext)_jspx_page_context, null), request.getCharacterEncoding()), out, false); out.write("\n\n<div class=\"container-fluid content\">\n <div class=\"row\">\n <div class=\"page-header\">\n <h1>"); out.print( JSONMetricUtil.getCommmand().split(" ")[0] ); out.write("</h1>\n </div>\n </div>\n <table class=\"table table-striped\" width=\"90%\" >\n <tr>\n <th>Started</th>\n <th>Uptime</th>\n <th>PID</th>\n <th>JvmPauseMonitor Count </th>\n <th>Owner</th>\n </tr>\n <tr>\n <tr>\n <td>"); out.print( new Date(runtimeBean.getStartTime()) ); out.write("</td>\n <td>"); out.print( StringUtils.humanTimeDiff(runtimeBean.getUptime()) ); out.write("</td>\n <td>"); out.print( JSONMetricUtil.getProcessPID() ); out.write("</td>\n <td>"); out.print( (long)JSONMetricUtil.getValueFromMBean(rsMetrics, "pauseWarnThresholdExceeded") + (long)JSONMetricUtil.getValueFromMBean(rsMetrics, "pauseInfoThresholdExceeded") ); out.write("</td>\n <td>"); out.print( runtimeBean.getSystemProperties().get("user.name") ); out.write("</td>\n </tr>\n </table>\n</div>\n<div class=\"container-fluid content\">\n <div class=\"row\">\n <div class=\"page-header\">\n <h2>Threads</h2>\n </div>\n </div>\n <table class=\"table table-striped\" width=\"90%\" >\n <tr>\n <th>ThreadsNew</th>\n <th>ThreadsRunable</th>\n <th>ThreadsBlocked</th>\n <th>ThreadsWaiting</th>\n <th>ThreadsTimeWaiting</th>\n <th>ThreadsTerminated</th>\n </tr>\n <tr>\n <tr>\n <td>"); out.print( JSONMetricUtil.getValueFromMBean(jvmMetrics, "ThreadsNew") ); out.write("</td>\n <td>"); out.print( JSONMetricUtil.getValueFromMBean(jvmMetrics, "ThreadsRunnable")); out.write("</td>\n <td>"); out.print( JSONMetricUtil.getValueFromMBean(jvmMetrics, "ThreadsBlocked")); out.write("</td>\n <td>"); out.print( JSONMetricUtil.getValueFromMBean(jvmMetrics, "ThreadsWaiting")); out.write("</td>\n <td>"); out.print( JSONMetricUtil.getValueFromMBean(jvmMetrics, "ThreadsTimedWaiting")); out.write("</td>\n <td>");
out.write('\n'); out.write('\n'); out.write('\n'); org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "header.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("pageTitle", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${pageTitle}", java.lang.String.class, (PageContext)_jspx_page_context, null), request.getCharacterEncoding()), out, false); out.write("\n\n <div class=\"container-fluid content\">\n <div class=\"row inner_header\">\n <div class=\"page-header\">\n <h1>Region: "); out.print( displayName ); out.write("</h1>\n </div>\n </div>\n\n"); if(region != null) { // List<? extends Store> stores = region.getStores(); String cf = store.getColumnFamilyName(); Collection<? extends StoreFile> storeFiles = store.getStorefiles(); out.write("\n\n <h3>Column Family: "); out.print( cf ); out.write("</h3>\n\n <h4>Memstore size (MB): "); out.print( (int) (store.getMemStoreSize().getHeapSize() / 1024 / 1024) ); out.write("</h4>\n\n <h4>Store Files</h4>\n\n <table class=\"table table-striped\">\n <tr>\n <th>Store File</th>\n <th>Size (MB)</th>\n <th>Modification time</th>\n </tr>\n "); for(StoreFile sf : storeFiles) { out.write("\n <tr>\n <td><a href=\"storeFile.jsp?name="); out.print( sf.getPath() ); out.write('"'); out.write('>'); out.print( sf.getPath() ); out.write("</a></td>\n <td>"); out.print( (int) (rs.getFileSystem().getLength(sf.getPath()) / 1024 / 1024) ); out.write("</td>\n <td>"); out.print( new Date(sf.getModificationTimeStamp()) ); out.write("</td>\n </tr>\n ");
out.write('\n'); out.write('\n'); out.write('\n'); org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "header.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("pageTitle", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${pageTitle}", java.lang.String.class, (PageContext)_jspx_page_context, null), request.getCharacterEncoding()), out, false); out.write("\n\n<div class=\"container-fluid content\">\n <div class=\"row\">\n <div class=\"page-header\">\n <h1>"); out.print( JSONMetricUtil.getCommmand().split(" ")[0] ); out.write("</h1>\n </div>\n </div>\n <table class=\"table table-striped\" width=\"90%\" >\n <tr>\n <th>Started</th>\n <th>Uptime</th>\n <th>PID</th>\n <th>Owner</th>\n </tr>\n <tr>\n <tr>\n <td>"); out.print( new Date(runtimeBean.getStartTime()) ); out.write("</td>\n <td>"); out.print( StringUtils.humanTimeDiff(runtimeBean.getUptime()) ); out.write("</td>\n <td>"); out.print( JSONMetricUtil.getProcessPID() ); out.write("</td>\n <td>"); out.print( runtimeBean.getSystemProperties().get("user.name") ); out.write("</td>\n </tr>\n </table>\n</div>\n<div class=\"container-fluid content\">\n <div class=\"row\">\n <div class=\"page-header\">\n <h2>Threads</h2>\n </div>\n </div>\n <table class=\"table table-striped\" width=\"90%\" >\n <tr>\n <th>ThreadsNew</th>\n <th>ThreadsRunable</th>\n <th>ThreadsBlocked</th>\n <th>ThreadsWaiting</th>\n <th>ThreadsTimeWaiting</th>\n <th>ThreadsTerminated</th>\n </tr>\n <tr>\n <td>"); out.print( JSONMetricUtil.getValueFromMBean(jvmMetrics, "ThreadsNew") ); out.write("</td>\n <td>"); out.print( JSONMetricUtil.getValueFromMBean(jvmMetrics, "ThreadsRunnable")); out.write("</td>\n <td>"); out.print( JSONMetricUtil.getValueFromMBean(jvmMetrics, "ThreadsBlocked")); out.write("</td>\n <td>"); out.print( JSONMetricUtil.getValueFromMBean(jvmMetrics, "ThreadsWaiting")); out.write("</td>\n <td>"); out.print( JSONMetricUtil.getValueFromMBean(jvmMetrics, "ThreadsTimedWaiting")); out.write("</td>\n <td>"); out.print( JSONMetricUtil.getValueFromMBean(jvmMetrics, "ThreadsTerminated")); out.write("</td>\n </tr>\n </table>\n</div>\n<div class=\"container-fluid content\">\n <div class=\"row\">\n <div class=\"page-header\">\n <h2>GC Collectors</h2>\n </div>\n </div>\n "); if (gcBeans.size() == 2) {
out.write('\n'); out.write('\n'); out.write('\n'); out.write('\n'); org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "header.jsp" + "?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("pageTitle", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${pageTitle}", java.lang.String.class, (PageContext)_jspx_page_context, null), request.getCharacterEncoding()), out, false); out.write("\n\n<div class=\"container-fluid content\">\n"); if (snapshot == null) { out.write("\n <div class=\"row inner_header\">\n <div class=\"page-header\">\n <h1>Snapshot \""); out.print( snapshotName ); out.write("\" does not exist</h1>\n </div>\n </div>\n "); org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "redirect.jsp", out, false); out.write('\n'); } else { out.write("\n <div class=\"row\">\n <div class=\"page-header\">\n <h1>Snapshot: "); out.print( snapshotName ); out.write("</h1>\n </div>\n </div>\n <h2>Snapshot Attributes</h2>\n <table class=\"table table-striped\" width=\"90%\" >\n <tr>\n <th>Table</th>\n <th>Creation Time</th>\n <th>Type</th>\n <th>Format Version</th>\n <th>State</th>\n </tr>\n <tr>\n\n <td>\n "); if (tableExists) { out.write("\n <a href=\"table.jsp?name="); out.print( snapshotTable.getNameAsString() ); out.write("\">\n "); out.print( snapshotTable.getNameAsString() ); out.write("</a>\n "); } else { out.write("\n "); out.print( snapshotTable.getNameAsString() ); out.write("\n "); out.write("\n </td>\n <td>");
config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); out.write("\n<meta HTTP-EQUIV=\"REFRESH\" content=\"0;url=/master-status\"/>\n"); } catch (Throwable t) { if (!(t instanceof SkipPageException)){
config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); out.write("\n <script src=\"/static/js/jquery.min.js\" type=\"text/javascript\"></script>\n <script src=\"/static/js/bootstrap.min.js\" type=\"text/javascript\"></script>\n <script src=\"/static/js/tab.js\" type=\"text/javascript\"></script>\n <script type=\"text/javascript\">\n $(document).ready(function() {\n $('li.active').removeClass('active');\n $('a[href=\"' + location.pathname + '\"]').closest('li').addClass('active');\n });\n </script>\n </body>\n</html>\n"); } catch (Throwable t) { if (!(t instanceof SkipPageException)){