diff --git a/hbase-server/src/main/resources/hbase-webapps/master/hbck.jsp b/hbase-server/src/main/resources/hbase-webapps/master/hbck.jsp index 6ae5d68f68d..7b4e164ac55 100644 --- a/hbase-server/src/main/resources/hbase-webapps/master/hbck.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/master/hbck.jsp @@ -86,9 +86,13 @@
<% if (hbckChore.isDisabled()) { %> - HBCK chore is currently disabled. Set hbase.master.hbck.chore.interval > 0 in the config & do a rolling-restart to enable it. + HBCK chore is currently disabled. Set hbase.master.hbck.chore.interval > 0 in the config & do a rolling-restart to enable it. + <% } else if (startTimestamp == 0 && endTimestamp == 0){ %> + No report created. Execute hbck_chore_run in hbase shell to generate a new sub-report. + <% } else if (startTimestamp > 0 && endTimestamp == 0){ %> + Checking started at <%= iso8601start %>. Please wait for checking to generate a new sub-report. <% } else { %> - Checking started at <%= iso8601start %> and generated report at <%= iso8601end %>. Execute hbck_chore_run in hbase shell to generate a new sub-report. + Checking started at <%= iso8601start %> and generated report at <%= iso8601end %>. Execute hbck_chore_run in hbase shell to generate a new sub-report. <% } %>
@@ -192,7 +196,12 @@Report created: <%= iso8601reportTime %> (now=<%= iso8601Now %>). Run catalogjanitor_run in hbase shell to generate a new sub-report.
++ <% if (report != null) { %> + Report created: <%= iso8601reportTime %> (now=<%= iso8601Now %>). Run catalogjanitor_run in hbase shell to generate a new sub-report.
+ <% } else { %> + No report created. Run catalogjanitor_run in hbase shell to generate a new sub-report. + <% } %>