Shalin Shekhar Mangar created SOLR-11370:
--------------------------------------------
Summary: Unentangle initialization of CoreContainer and
ZkController
Key: SOLR-11370
URL: https://issues.apache.org/jira/browse/SOLR-11370
Project: Solr
Issue Type: Wish
Security Level: Public (Default Security Level. Issues are Public)
Components: SolrCloud
Reporter: Shalin Shekhar Mangar
Fix For: master (8.0), 7.1
CoreContainer creates ZkController which creates Overseer. Therefore during the
init method, zkController.getCoreContainer can return null. This is trappy
because if you aren't careful, it is easy to initialize internal attributes of
overseer components to null values which throw a NPE in future. This is
especially a problem for autoscaling components.
Ideally the CoreContainer should be created fully and a separate init method
should create other components such as ZkController.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]