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
fix useExplicitVersion #3559
fix useExplicitVersion #3559
Conversation
); | ||
return TaskStatus.failure(getId()); | ||
if (indexerSchema.getTuningConfig().isUseExplicitVersion()) { | ||
if (specVersion.compareTo(version) < 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
null/empty check for specVersion
? where isUseExplicitVersion
is set to true but specVersion
is missing in HadoopIngestionSpec.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, HadoopTunningConfig is taking care of above,
this.version = version == null ? new DateTime().toString() : version;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think specVersion
cannot be null, see this - https://github.com/druid-io/druid/blob/master/indexing-hadoop/src/main/java/io/druid/indexer/HadoopTuningConfig.java#L115
👍 |
👍 after travis. |
👍 |
regression in #3554