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

[SPARK-8393] [Streaming] Handle InterruptedException on awaitTermination variants #6969

Closed
wants to merge 4 commits into from

Conversation

rekhajoshm
Copy link
Contributor

Handle InterruptedException on awaitTermination variants

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

} catch {
case e: InterruptedException =>
logger.info("StreamingContext interrupted at awaitTerminationOrTimeout")
false
Copy link
Member

Choose a reason for hiding this comment

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

You can't return false in this case, and I also don't think there is value in also logging any exception here. Refer to the JIRA for the intended change here, which was just a documentation update. You might close this PR and just open a new one.

@andrewor14
Copy link
Contributor

@rekhajoshm can you address the comments? In particular, I think the proposal is just to fix the documentation for now. I would recommend that we close this PR and open a new one if needed..

@rekhajoshm
Copy link
Contributor Author

ack @andrewor14

@rekhajoshm rekhajoshm closed this Jun 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants