Github user HeartSaVioR commented on the issue:
https://github.com/apache/spark/pull/21497
@arunmahadevan
Yes, before the patch Spark connects to socket server twice: one for
getting schema, and another one for reading data.
And `-k` flag is only supported for specific distribution, and that's why I
had to set breakpoint and started nc again after temp reader is stopped.
For example, in my local dev. (macOS 10.12.6), netcat doesn't support -k
flag.
```
netcat (The GNU Netcat) 0.7.1
```
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]