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

fix useExplicitVersion #3559

Merged
merged 1 commit into from Oct 10, 2016
Merged

fix useExplicitVersion #3559

merged 1 commit into from Oct 10, 2016

Conversation

pjain1
Copy link
Member

@pjain1 pjain1 commented Oct 10, 2016

regression in #3554

@pjain1 pjain1 added the Bug label Oct 10, 2016
@pjain1 pjain1 added this to the 0.9.3 milestone Oct 10, 2016
);
return TaskStatus.failure(getId());
if (indexerSchema.getTuningConfig().isUseExplicitVersion()) {
if (specVersion.compareTo(version) < 0) {
Copy link
Contributor

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.

Copy link
Contributor

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;

Copy link
Member Author

@pjain1 pjain1 Oct 10, 2016

Choose a reason for hiding this comment

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

@cheddar
Copy link
Contributor

cheddar commented Oct 10, 2016

👍

@akashdw
Copy link
Contributor

akashdw commented Oct 10, 2016

👍 after travis.

@himanshug
Copy link
Contributor

👍

@himanshug himanshug merged commit 1e79a1b into apache:master Oct 10, 2016
fundead pushed a commit to fundead/druid that referenced this pull request Dec 7, 2016
dgolitsyn pushed a commit to metamx/druid that referenced this pull request Feb 14, 2017
@pjain1 pjain1 deleted the fix_spec_version branch May 6, 2017 16:40
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.

None yet

4 participants