Viraj Jasani created PHOENIX-7498:
-------------------------------------
Summary: Shutdown clients and coprocs if PhoenixMasterObserver is
not configured
Key: PHOENIX-7498
URL: https://issues.apache.org/jira/browse/PHOENIX-7498
Project: Phoenix
Issue Type: Sub-task
Reporter: Viraj Jasani
While PhoenixMasterObserver is the first ever master coproc being introduced in
Phoenix, the only way it can be enabled is by using HBase site config
"hbase.coprocessor.master.classes".
In general, it is expected that HBase deployments would deploy Phoenix in both
regionservers and master servers. Therefore, one way we can ensure that the
master coproc is set to PhoenixMasterObserver by the user is introducing check
in one of the common coproc which is deployed on each regionserver, and also
adding the same check in CQSI init(). The check can shutdown the server if
"hbase.coprocessor.master.classes" does not contain PhoenixMasterObserver.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)