Skip to content

Fix LookupSerdeModule double-binding in Coordinator-as-Overlord mode.#7765

Merged
gianm merged 1 commit intoapache:masterfrom
gianm:fix-be-overlord
May 26, 2019
Merged

Fix LookupSerdeModule double-binding in Coordinator-as-Overlord mode.#7765
gianm merged 1 commit intoapache:masterfrom
gianm:fix-be-overlord

Conversation

@gianm
Copy link
Copy Markdown
Contributor

@gianm gianm commented May 26, 2019

Fixes #7762.

@gianm gianm added the Bug label May 26, 2019
@gianm gianm added this to the 0.15.0 milestone May 26, 2019
Copy link
Copy Markdown
Member

@clintropolis clintropolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

} else {
// Only add LookupSerdeModule if !beOverlord, since CliOverlord includes it, and having two copies causes
// the injector to get confused due to having multiple bindings for the same classes.
modules.add(new LookupSerdeModule());
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is why CliOverloard.getModules(boolean standalone) takes the standalone flag also, so that we can take care of these things in there if/when needed.

jihoonson pushed a commit to implydata/druid-public that referenced this pull request Jun 4, 2019
jihoonson pushed a commit to implydata/druid-public that referenced this pull request Jun 26, 2019
@gianm gianm deleted the fix-be-overlord branch September 23, 2022 19:22
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.

Regression: Coordinator startup fails with exception

3 participants