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-16031] Add debug-only socket source in Structured Streaming #13748

Closed
wants to merge 3 commits into from

Conversation

mateiz
Copy link
Contributor

@mateiz mateiz commented Jun 18, 2016

What changes were proposed in this pull request?

This patch adds a text-based socket source similar to the one in Spark Streaming for debugging and tutorials. The source is clearly marked as debug-only so that users don't try to run it in production applications, because this type of source cannot provide HA without storing a lot of state in Spark.

How was this patch tested?

Unit tests and manual tests in spark-shell.

@SparkQA
Copy link

SparkQA commented Jun 18, 2016

Test build #60740 has finished for PR 13748 at commit da3513d.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class TextSocketSource(host: String, port: Int, sqlContext: SQLContext)
    • class TextSocketSourceProvider extends StreamSourceProvider with DataSourceRegister with Logging

@SparkQA
Copy link

SparkQA commented Jun 18, 2016

Test build #60746 has finished for PR 13748 at commit 189e409.

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

@SparkQA
Copy link

SparkQA commented Jun 19, 2016

Test build #60819 has finished for PR 13748 at commit e61adfd.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class TextSocketStreamSuite extends StreamTest with SharedSQLContext with BeforeAndAfterEach

@rxin
Copy link
Contributor

rxin commented Jun 20, 2016

LGTM - merging in master/2.0.

asfgit pushed a commit that referenced this pull request Jun 20, 2016
## What changes were proposed in this pull request?

This patch adds a text-based socket source similar to the one in Spark Streaming for debugging and tutorials. The source is clearly marked as debug-only so that users don't try to run it in production applications, because this type of source cannot provide HA without storing a lot of state in Spark.

## How was this patch tested?

Unit tests and manual tests in spark-shell.

Author: Matei Zaharia <matei@databricks.com>

Closes #13748 from mateiz/socket-source.

(cherry picked from commit 4f17fdd)
Signed-off-by: Reynold Xin <rxin@databricks.com>
@asfgit asfgit closed this in 4f17fdd Jun 20, 2016
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.

3 participants