Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.90.5, 0.92.0, 0.94.0
-
None
-
Reviewed
-
ClusterStatus client running this change running against servers without this change will encounter an error in readFields() as the new client will be expecting extra fields at the end of the Writable that the old server will not be providing.
Description
I have a multi-master HBase set up, and I'm trying to programmatically determine which of the masters is currently active. But the API does not allow me to do this. There is a getMaster() method in the HConnection class, but it returns an HMasterInterface, whose methods do not allow me to find out which master won the last race. The API should have a getActiveMasterHostname() or something to that effect.
Attachments
Attachments
Issue Links
- is depended upon by
-
HBASE-5596 Few minor bugs from HBASE-5209
- Closed
- is related to
-
HBASE-6367 List backup masters in ui.
- Closed