Skip to content

[Bug] Fix export job sometimes stuck in exporting state after timeout#5932

Merged
morningman merged 1 commit intoapache:masterfrom
xy720:fix-export-npe
May 30, 2021
Merged

[Bug] Fix export job sometimes stuck in exporting state after timeout#5932
morningman merged 1 commit intoapache:masterfrom
xy720:fix-export-npe

Conversation

@xy720
Copy link
Member

@xy720 xy720 commented May 27, 2021

Proposed changes

Fix #5931
The reason is that sometime the method coordinate.exec() is not call when the job is timeout, so that the query profile in this coordinate is not be initialized, which will cause an NPE error in the execution of ExportExportingTask.

Types of changes

What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have created an issue on (Fix #ISSUE) and described the bug/feature there in detail
  • Compiling and unit tests pass locally with my changes

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

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

LGTM

@morningman morningman merged commit cf2e0cf into apache:master May 30, 2021
@morningman morningman added approved Indicates a PR has been approved by one committer. kind/fix Categorizes issue or PR as related to a bug. labels May 30, 2021
stdpain pushed a commit to stdpain/incubator-doris that referenced this pull request Jul 8, 2021
…apache#5932)

Fix apache#5931
The reason is that sometime the method coordinate.exec() is not call when the job is timeout,
so that the query profile in this coordinate is not be initialized,
which will cause an NPE error in the execution of ExportExportingTask.

Change-Id: I66cdf07fdbcd0396db434ae13a8f7529e4992c30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. kind/fix Categorizes issue or PR as related to a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Timeout export job sometimes stuck in exporting state

2 participants