Skip to content

Conversation

@tdas
Copy link
Contributor

@tdas tdas commented May 29, 2015

Attempts to restart the socket receiver when it is supposed to be stopped causes undesirable error messages.

@tdas tdas changed the title [SPARK-7931] Do not restart receiver when stopped [SPARK-7931][STREAMING] Do not restart receiver when stopped May 29, 2015
@tdas
Copy link
Contributor Author

tdas commented May 29, 2015

@zsxwing Can you take a quick look, so that this can be merged for Spark 1.4.0

Copy link
Member

Choose a reason for hiding this comment

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

It's better to put logInfo("Stopped receiving") to the else clause like this:

if (!isStopped()) {
        restart("Socket data stream had no more data")
} else {
       logInfo("Stopped receiving")
}

@zsxwing
Copy link
Member

zsxwing commented May 29, 2015

LGTM except the minor comment.

@SparkQA
Copy link

SparkQA commented May 29, 2015

Test build #33703 has finished for PR 6483 at commit 09aeee1.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@pwendell
Copy link
Contributor

I will adjust for the comment on merging, thanks.

@asfgit asfgit closed this in e714ecf May 29, 2015
asfgit pushed a commit that referenced this pull request May 29, 2015
Attempts to restart the socket receiver when it is supposed to be stopped causes undesirable error messages.

Author: Tathagata Das <tathagata.das1565@gmail.com>

Closes #6483 from tdas/SPARK-7931 and squashes the following commits:

09aeee1 [Tathagata Das] Do not restart receiver when stopped
@tdas
Copy link
Contributor Author

tdas commented May 29, 2015

@pwendell Thanks for merging this!

jeanlyn pushed a commit to jeanlyn/spark that referenced this pull request Jun 12, 2015
Attempts to restart the socket receiver when it is supposed to be stopped causes undesirable error messages.

Author: Tathagata Das <tathagata.das1565@gmail.com>

Closes apache#6483 from tdas/SPARK-7931 and squashes the following commits:

09aeee1 [Tathagata Das] Do not restart receiver when stopped
nemccarthy pushed a commit to nemccarthy/spark that referenced this pull request Jun 19, 2015
Attempts to restart the socket receiver when it is supposed to be stopped causes undesirable error messages.

Author: Tathagata Das <tathagata.das1565@gmail.com>

Closes apache#6483 from tdas/SPARK-7931 and squashes the following commits:

09aeee1 [Tathagata Das] Do not restart receiver when stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants