You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/01/04 15:26:39 UTC

[jira] [Updated] (SPARK-12513) SocketReceiver hang in Netcat example

     [ https://issues.apache.org/jira/browse/SPARK-12513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen updated SPARK-12513:
------------------------------
    Assignee: Shawn Guo

> SocketReceiver hang in Netcat example
> -------------------------------------
>
>                 Key: SPARK-12513
>                 URL: https://issues.apache.org/jira/browse/SPARK-12513
>             Project: Spark
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 1.5.2
>            Reporter: Shawn Guo
>            Assignee: Shawn Guo
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> I add a SocketReceiver test based on the NetworkWordCount.
> Using pipeline and tail the continuous output to netcat
> tail -f xxx.log | nc -lk 9999
> and create a SocketReceiver to receive the continuous output from remote netcat.
> After about 10 hours, SocketReceiver hang and can not receive no more data.
> Netcat only accept one socket connection and push "tail -f xxx.log" to connected socket. other connection is wating in the netcat queue.
> When restart SocketReceive, new socket connection is created to connect to Netcat. However old connection is not closed properly. new connection can not read anything from Netcat. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org