单项选择题

HBase的主HMaster是如何选举的?()

A.由RegionServer进行裁决
B.HMaster为双主模式,不需要进行裁决
C.通过ZooKeeper进行裁决
D.随机选举