Skip to content

Do not pass druid.indexer.runner.javaOpts to Peon as a property#1842

Merged
himanshug merged 1 commit intoapache:masterfrom
metamx:DRUID-1841
Oct 21, 2015
Merged

Do not pass druid.indexer.runner.javaOpts to Peon as a property#1842
himanshug merged 1 commit intoapache:masterfrom
metamx:DRUID-1841

Conversation

@drcrallen
Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

extract this as a String constant, since its used at multiple places ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed

* Still places `druid.indexer.runner.javaOpts` on the command line, but the Peon no longer tries to have the property `druid.indexer.runner.javaOpts` set
* Fixes apache#1841
@nishantmonu51
Copy link
Copy Markdown
Member

👍

@drcrallen drcrallen added this to the 0.9.0 milestone Oct 20, 2015
@nishantmonu51
Copy link
Copy Markdown
Member

travis failed -
Failed tests:
DruidCoordinatorTest.testCoordinatorRun:349 expected:<1> but was:<0>
Reopening

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.

is it possible to add UT to catch the bug mentioned?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ForkingTaskRunner is pretty much void of unit tests. I'm trying to add some in the Tiering extension, but unless really required I'm not interested in spending the time doing UTs for something I'm trying to replace.

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.

ok

himanshug added a commit that referenced this pull request Oct 21, 2015
Do not pass `druid.indexer.runner.javaOpts` to Peon as a property
@himanshug himanshug merged commit b7c68ec into apache:master Oct 21, 2015
@drcrallen drcrallen deleted the DRUID-1841 branch October 21, 2015 18:16
xvrl added a commit that referenced this pull request Dec 3, 2015
[BACKPORT #1842] Do not pass `druid.indexer.runner.javaOpts` to Peon as a property
@gianm gianm mentioned this pull request Dec 4, 2015
seoeun25 pushed a commit to seoeun25/incubator-druid that referenced this pull request Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants