journalnode.html 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <!--
  4. Licensed to the Apache Software Foundation (ASF) under one or more
  5. contributor license agreements. See the NOTICE file distributed with
  6. this work for additional information regarding copyright ownership.
  7. The ASF licenses this file to You under the Apache License, Version 2.0
  8. (the "License"); you may not use this file except in compliance with
  9. the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing, software
  12. distributed under the License is distributed on an "AS IS" BASIS,
  13. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. See the License for the specific language governing permissions and
  15. limitations under the License.
  16. -->
  17. <html xmlns="http://www.w3.org/1999/xhtml">
  18. <head>
  19. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  20. <link rel="stylesheet" type="text/css" href="/static/bootstrap-3.4.1/css/bootstrap.min.css" />
  21. <link rel="stylesheet" type="text/css" href="/static/hadoop.css" />
  22. <title>JournalNode Information</title>
  23. </head>
  24. <body>
  25. <header class="navbar navbar-inverse bs-docs-nav" role="banner">
  26. <div class="container">
  27. <div class="navbar-header">
  28. <div class="navbar-brand">Hadoop</div>
  29. </div>
  30. <ul class="nav navbar-nav" id="ui-tabs">
  31. <li><a href="#tab-overview">Overview</a></li>
  32. <li class="dropdown">
  33. <a href="#" class="dropdown-toggle" data-toggle="dropdown">Utilities <b class="caret"></b></a>
  34. <ul class="dropdown-menu">
  35. <li><a href="logs/">Logs</a></li>
  36. <li><a href="logLevel">Log Level</a></li>
  37. <li><a href="jmx">Metrics</a></li>
  38. <li><a href="conf">Configuration</a></li>
  39. <li><a href="stacks">Process Thread Dump</a></li>
  40. </ul>
  41. </li>
  42. </ul>
  43. </div>
  44. </header>
  45. <div class="container">
  46. <div id="alert-panel">
  47. <div class="alert alert-danger">
  48. <button type="button" class="close" onclick="$('#alert-panel').hide();">&times;</button>
  49. <div class="alert-body" id="alert-panel-body"></div>
  50. </div>
  51. </div>
  52. <div class="tab-content">
  53. <div class="tab-pane" id="tab-overview"></div>
  54. </div>
  55. <div class="row">
  56. <hr />
  57. <div class="col-xs-2"><p>Hadoop, {release-year-token}.</p></div>
  58. </div>
  59. </div>
  60. <script type="text/x-dust-template" id="tmpl-jn">
  61. {#jn}
  62. <div class="page-header"><h1>JournalNode on <small>{HostAndPort}</small></h1></div>
  63. <table class="table table-bordered table-striped">
  64. <tr><th>Cluster ID:</th><td>{ClusterIds}</td></tr>
  65. <tr><th>Version:</th><td>{Version}</td></tr>
  66. </table>
  67. {/jn}
  68. <div class="page-header"><h1>Journal Status</h1></div>
  69. <table class="table">
  70. <thead>
  71. <tr>
  72. <th>Nameservice</th>
  73. <th>Current Transaction ID</th>
  74. <th>Current Lag Transactions</th>
  75. <th>Last Journal Timestamp</th>
  76. </tr>
  77. </thead>
  78. {#journals}
  79. <tr>
  80. <td>{NameService}</td>
  81. <td>{LastWrittenTxId}</td>
  82. <td>{CurrentLagTxns}</td>
  83. <td>{#helper_date_tostring value="{LastJournalTimestamp}"/}</td>
  84. </tr>
  85. {/journals}
  86. </table>
  87. </script>
  88. <script type="text/javascript" src="/static/jquery-3.5.1.min.js"></script>
  89. <script type="text/javascript" src="/static/bootstrap-3.4.1/js/bootstrap.min.js"></script>
  90. <script type="text/javascript" src="/static/moment.min.js"></script>
  91. <script type="text/javascript" src="/static/dust-full-2.0.0.min.js"></script>
  92. <script type="text/javascript" src="/static/dust-helpers-1.1.1.min.js"></script>
  93. <script type="text/javascript" src="/static/dfs-dust.js"></script>
  94. <script type="text/javascript" src="jn.js"></script>
  95. </body>
  96. </html>