Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClusteredBeamTuning rejectionPolicy #51

Closed
eyalgo opened this issue Nov 17, 2015 · 1 comment
Closed

ClusteredBeamTuning rejectionPolicy #51

eyalgo opened this issue Nov 17, 2015 · 1 comment

Comments

@eyalgo
Copy link

eyalgo commented Nov 17, 2015

Hi,
I tried to set window period for 1 year (windowPeriod = new Period("P1Y")).
We need this as sometimes we might to re-index our data.

I got the following error from druid: java.lang.UnsupportedOperationException, exceptionMessage=Cannot convert to Duration as this period contains years and years vary in length}

I guess it's not valid to send 1 year.

So I wanted to set rejectionPolicy in the tuning to 'none'.
But this option is not available.
I there a plan to add rejection to the tuning?

Thanks

@gianm
Copy link
Member

gianm commented Jan 8, 2016

Hey @eyalgo, due to the way tranquility works, it must use a specific rejection policy that involves a windowPeriod. The rationale is described in the doc here: https://github.com/druid-io/tranquility/blob/master/docs/overview.md

We intend to change this in the future, see apache/druid#1642. But for now it is a limitation.

@gianm gianm closed this as completed Jan 8, 2016
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

No branches or pull requests

2 participants