HBASE-16026 Master UI should display status of additional ZK switches
This commit is contained in:
parent
114fe7a81e
commit
5f9d1a71c8
|
@ -39,6 +39,7 @@ org.apache.hadoop.hbase.ServerLoad;
|
||||||
org.apache.hadoop.hbase.ServerName;
|
org.apache.hadoop.hbase.ServerName;
|
||||||
org.apache.hadoop.hbase.TableName;
|
org.apache.hadoop.hbase.TableName;
|
||||||
org.apache.hadoop.hbase.client.Admin;
|
org.apache.hadoop.hbase.client.Admin;
|
||||||
|
org.apache.hadoop.hbase.client.MasterSwitchType;
|
||||||
org.apache.hadoop.hbase.client.SnapshotDescription;
|
org.apache.hadoop.hbase.client.SnapshotDescription;
|
||||||
org.apache.hadoop.hbase.master.AssignmentManager;
|
org.apache.hadoop.hbase.master.AssignmentManager;
|
||||||
org.apache.hadoop.hbase.master.DeadServer;
|
org.apache.hadoop.hbase.master.DeadServer;
|
||||||
|
@ -168,6 +169,20 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
|
||||||
is only expected to be disabled during rolling upgrade scenarios.
|
is only expected to be disabled during rolling upgrade scenarios.
|
||||||
</div>
|
</div>
|
||||||
</%if>
|
</%if>
|
||||||
|
<%if !master.isSplitOrMergeEnabled(MasterSwitchType.SPLIT) %>
|
||||||
|
<div class="alert alert-warning">
|
||||||
|
Region splits are disabled. This may be the result of HBCK aborting while
|
||||||
|
running in repair mode. Manually enable splits from the HBase shell,
|
||||||
|
or re-run HBCK in repair mode.
|
||||||
|
</div>
|
||||||
|
</%if>
|
||||||
|
<%if !master.isSplitOrMergeEnabled(MasterSwitchType.MERGE) %>
|
||||||
|
<div class="alert alert-warning">
|
||||||
|
Region merges are disabled. This may be the result of HBCK aborting while
|
||||||
|
running in repair mode. Manually enable merges from the HBase shell,
|
||||||
|
or re-run HBCK in repair mode.
|
||||||
|
</div>
|
||||||
|
</%if>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2>Region Servers</h2>
|
<h2>Region Servers</h2>
|
||||||
|
|
Loading…
Reference in New Issue