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-2379] Fix the bug that streaming's receiver may fall into a dead loop #1694

Closed
wants to merge 4 commits into from

Conversation

joyyoj
Copy link
Contributor

@joyyoj joyyoj commented Jul 31, 2014

No description provided.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@tdas
Copy link
Contributor

tdas commented Jul 31, 2014

Jenkins, this is ok to test.

@@ -138,7 +138,7 @@ private[streaming] abstract class ReceiverSupervisor(
onReceiverStop(message, error)
} catch {
case t: Throwable =>
stop("Error stopping receiver " + streamId, Some(t))
logError("Error stopping receiver " + streamId + t.getStackTraceString)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you also add reportError() so that this error gets reported to the driver? Its easier to debug when all the error gets reported to the driver.

@SparkQA
Copy link

SparkQA commented Jul 31, 2014

QA tests have started for PR 1694. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/17598/consoleFull

@SparkQA
Copy link

SparkQA commented Jul 31, 2014

QA results for PR 1694:
- This patch PASSES unit tests.
- This patch merges cleanly
- This patch adds no public classes

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/17598/consoleFull

@alexanderdai
Copy link

Thanks.

@tdas
Copy link
Contributor

tdas commented Aug 1, 2014

@joyyoj I am just gonna merge this and deal with reportError later.

asfgit pushed a commit that referenced this pull request Aug 1, 2014
…ad loop

Author: joyyoj <sunshch@gmail.com>

Closes #1694 from joyyoj/SPARK-2379 and squashes the following commits:

d73790d [joyyoj] SPARK-2379 Fix the bug that streaming's receiver may fall into a dead loop
22e7821 [joyyoj] Merge remote-tracking branch 'apache/master'
3f4a602 [joyyoj] Merge remote-tracking branch 'remotes/apache/master'
f4660c5 [joyyoj] [SPARK-1998] SparkFlumeEvent with body bigger than 1020 bytes are not read properly

(cherry picked from commit b270309)
Signed-off-by: Tathagata Das <tathagata.das1565@gmail.com>
@asfgit asfgit closed this in b270309 Aug 1, 2014
@joyyoj
Copy link
Contributor Author

joyyoj commented Aug 5, 2014

@tdas Thanks for reminding me to add reportError, i didn't notice your reply before. It's a good idea to add it in this patch.

@tdas
Copy link
Contributor

tdas commented Aug 5, 2014

Well, I have merged this patch already, in an attempt to squeeze it in 1.1 release. If you open another patch to make the change, I can try squeezing that too. Thanks for detecting and fixing this bug!

xiliu82 pushed a commit to xiliu82/spark that referenced this pull request Sep 4, 2014
…ad loop

Author: joyyoj <sunshch@gmail.com>

Closes apache#1694 from joyyoj/SPARK-2379 and squashes the following commits:

d73790d [joyyoj] SPARK-2379 Fix the bug that streaming's receiver may fall into a dead loop
22e7821 [joyyoj] Merge remote-tracking branch 'apache/master'
3f4a602 [joyyoj] Merge remote-tracking branch 'remotes/apache/master'
f4660c5 [joyyoj] [SPARK-1998] SparkFlumeEvent with body bigger than 1020 bytes are not read properly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants