HBASE-22993 HBCK report UI showed -1 if hbck chore not running (#610)
Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
a58149827b
commit
c0e5c15887
|
@ -87,6 +87,10 @@
|
||||||
<p>
|
<p>
|
||||||
<% if (hbckChore.isDisabled()) { %>
|
<% if (hbckChore.isDisabled()) { %>
|
||||||
<span>HBCK chore is currently disabled. Set hbase.master.hbck.chore.interval > 0 in the config & do a rolling-restart to enable it.</span>
|
<span>HBCK chore is currently disabled. Set hbase.master.hbck.chore.interval > 0 in the config & do a rolling-restart to enable it.</span>
|
||||||
|
<% } else if (startTimestamp == 0 && endTimestamp == 0){ %>
|
||||||
|
<span>No report created. Execute <i>hbck_chore_run</i> in hbase shell to generate a new sub-report.</span>
|
||||||
|
<% } else if (startTimestamp > 0 && endTimestamp == 0){ %>
|
||||||
|
<span>Checking started at <%= iso8601start %>. Please wait for checking to generate a new sub-report.</span>
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<span>Checking started at <%= iso8601start %> and generated report at <%= iso8601end %>. Execute <i>hbck_chore_run</i> in hbase shell to generate a new sub-report.</span>
|
<span>Checking started at <%= iso8601start %> and generated report at <%= iso8601end %>. Execute <i>hbck_chore_run</i> in hbase shell to generate a new sub-report.</span>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
@ -192,7 +196,12 @@
|
||||||
<div class="row inner_header">
|
<div class="row inner_header">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>CatalogJanitor <em>hbase:meta</em> Consistency Issues</h1>
|
<h1>CatalogJanitor <em>hbase:meta</em> Consistency Issues</h1>
|
||||||
<p><span>Report created: <%= iso8601reportTime %> (now=<%= iso8601Now %>). Run <i>catalogjanitor_run</i> in hbase shell to generate a new sub-report.</span></p>
|
<p>
|
||||||
|
<% if (report != null) { %>
|
||||||
|
<span>Report created: <%= iso8601reportTime %> (now=<%= iso8601Now %>). Run <i>catalogjanitor_run</i> in hbase shell to generate a new sub-report.</span></p>
|
||||||
|
<% } else { %>
|
||||||
|
<span>No report created. Run <i>catalogjanitor_run</i> in hbase shell to generate a new sub-report.</span>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% if (report != null && !report.isEmpty()) { %>
|
<% if (report != null && !report.isEmpty()) { %>
|
||||||
|
|
Loading…
Reference in New Issue