HBASE-24031 TestHRegion.testCheckAndMutate_WithFilters is flaky (#1316)
[hbase.git] / hbase-rest / src / main / resources / hbase-webapps / rest / rest.jsp
blobed4e9c2841310354349a59df95e55d94bae7ad55
1 <%--
2 /**
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
19 --%>
20 <%@ page contentType="text/html;charset=UTF-8"
21 import="org.apache.hadoop.conf.Configuration"
22 import="org.apache.hadoop.hbase.HBaseConfiguration"
23 import="org.apache.hadoop.hbase.util.VersionInfo"
24 import="java.util.Date"%>
26 Configuration conf = (Configuration)getServletContext().getAttribute("hbase.conf");
27 long startcode = conf.getLong("startcode", System.currentTimeMillis());
28 String listenPort = conf.get("hbase.rest.port", "8080");
30 <!DOCTYPE html>
31 <?xml version="1.0" encoding="UTF-8" ?>
32 <html lang="en">
33 <head>
34 <meta charset="utf-8">
35 <title>HBase REST Server: <%= listenPort %></title>
36 <meta name="viewport" content="width=device-width, initial-scale=1.0">
37 <meta name="description" content="">
39 <link href="/static/css/bootstrap.min.css" rel="stylesheet">
40 <link href="/static/css/bootstrap-theme.min.css" rel="stylesheet">
41 <link href="/static/css/hbase.css" rel="stylesheet">
42 </head>
44 <body>
45 <div class="navbar navbar-fixed-top navbar-default">
46 <div class="container-fluid">
47 <div class="navbar-header">
48 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
49 <span class="icon-bar"></span>
50 <span class="icon-bar"></span>
51 <span class="icon-bar"></span>
52 </button>
53 <a class="navbar-brand" href="/rest.jsp"><img src="/static/hbase_logo_small.png" alt="HBase Logo"/></a>
54 </div>
55 <div class="collapse navbar-collapse">
56 <ul class="nav navbar-nav">
57 <li class="active"><a href="/rest.jsp">Home</a></li>
58 <li><a href="/logs/">Local logs</a></li>
59 <li><a href="/logLevel">Log Level</a></li>
60 <li><a href="/jmx">Metrics Dump</a></li>
61 <li><a href="/prof">Profiler</a></li>
62 <% if (HBaseConfiguration.isShowConfInServlet()) { %>
63 <li><a href="/conf">HBase Configuration</a></li>
64 <% } %>
65 </ul>
66 </div><!--/.nav-collapse -->
67 </div>
68 </div>
70 <div class="container-fluid content">
71 <div class="row inner_header">
72 <div class="page-header">
73 <h1>RESTServer <small><%= listenPort %></small></h1>
74 </div>
75 </div>
76 <div class="row">
78 <section>
79 <h2>Software Attributes</h2>
80 <table id="attributes_table" class="table table-striped">
81 <tr>
82 <th>Attribute Name</th>
83 <th>Value</th>
84 <th>Description</th>
85 </tr>
86 <tr>
87 <td>HBase Version</td>
88 <td><%= VersionInfo.getVersion() %>, revision=<%= VersionInfo.getRevision() %></td>
89 <td>HBase version and revision</td>
90 </tr>
91 <tr>
92 <td>HBase Compiled</td>
93 <td><%= VersionInfo.getDate() %>, <%= VersionInfo.getUser() %></td>
94 <td>When HBase version was compiled and by whom</td>
95 </tr>
96 <tr>
97 <td>REST Server Start Time</td>
98 <td><%= new Date(startcode) %></td>
99 <td>Date stamp of when this REST server was started</td>
100 </tr>
101 </table>
102 </section>
103 </div>
104 <div class="row">
106 <section>
107 <a href="http://hbase.apache.org/book.html#_rest">Apache HBase documentation about REST</a>
108 </section>
109 </div>
110 </div>
111 <script src="/static/js/jquery.min.js" type="text/javascript"></script>
112 <script src="/static/js/bootstrap.min.js" type="text/javascript"></script>
113 <script src="/static/js/tab.js" type="text/javascript"></script>
114 </body>
115 </html>