Skip to content

[Backport] More fine-grained DI for management node types. Don't allocate processing resources on Router#4478

Merged
fjy merged 1 commit intoapache:0.10.1from
gianm:backport-4429-to-0.10.1
Jun 28, 2017
Merged

[Backport] More fine-grained DI for management node types. Don't allocate processing resources on Router#4478
fjy merged 1 commit intoapache:0.10.1from
gianm:backport-4429-to-0.10.1

Conversation

@gianm
Copy link
Copy Markdown
Contributor

@gianm gianm commented Jun 28, 2017

Backport of #4429 to 0.10.1.

…sing resources on Router (apache#4429)

* Remove DruidProcessingModule, QueryableModule and QueryRunnerFactoryModule from DI for coordinator, overlord, middle-manager. Add RouterDruidProcessing not to allocate processing resources on router

* Fix examples

* Fixes

* Revert Peon configs and add comments

* Remove qualifier
@gianm gianm added the Backport label Jun 28, 2017
@gianm gianm added this to the 0.10.1 milestone Jun 28, 2017
@leventov
Copy link
Copy Markdown
Member

Note that this change led to a usability problem for us, when some extension includes some query-related and non-query-related stuff, and loaded on all types of nodes, and with this change that approach fails on the node types which don't include query-stuff anymore, like coordinator, because certain things couldn't be injected. The solution is #4438, so I changed it's milestone to 0.10.1 as well.

@fjy fjy merged commit a36d906 into apache:0.10.1 Jun 28, 2017
@gianm gianm deleted the backport-4429-to-0.10.1 branch September 23, 2022 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants