Skip to content

Fix NPE for taskGroupId when rolling update#6168

Merged
fjy merged 6 commits intoapache:masterfrom
jihoonson:fix-npe-taskGroupId
Aug 17, 2018
Merged

Fix NPE for taskGroupId when rolling update#6168
fjy merged 6 commits intoapache:masterfrom
jihoonson:fix-npe-taskGroupId

Conversation

@jihoonson
Copy link
Copy Markdown
Contributor

Fixes #6163.

String supervisorId,
int taskGroupId,
@Nullable String taskId,
Integer taskGroupId,
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.

should taskGroupId be nullable instead of taskId ?

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.

Thanks. Fixed.

@pdeva
Copy link
Copy Markdown
Contributor

pdeva commented Aug 13, 2018

note that this issue can occur well after the rolling update. we are seeing this on our fully updated cluster

@jihoonson
Copy link
Copy Markdown
Contributor Author

@pdeva this error should never happen once the cluster is fully updated. Do you have the overlord and task logs? If you have, please add them to #6163.

@pdeva
Copy link
Copy Markdown
Contributor

pdeva commented Aug 13, 2018

replied on druid-dev thread. they have recovered for now but will indeed post logs if it occurs again.

@jihoonson
Copy link
Copy Markdown
Contributor Author

@pdeva thanks.

BTW, this patch is incomplete. I think we need a way to find taskGroup using baseSequenceName to fully support rolling update. I'll update this PR soon.

@jihoonson jihoonson added the WIP label Aug 13, 2018
@jihoonson jihoonson removed the WIP label Aug 14, 2018
@fjy
Copy link
Copy Markdown
Contributor

fjy commented Aug 17, 2018

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants