You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by se...@apache.org on 2019/07/03 22:34:59 UTC

[flink] 04/07: [hotfix] [examples] Distinguish 'netcat' arguments for Linux and Windows in the SocketWIndowWordcount JavaDocs

This is an automated email from the ASF dual-hosted git repository.

sewen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 5c9caa7d2cc4d917898879ad9518c07e5cca5b49
Author: Jason <ji...@163.com>
AuthorDate: Mon Jun 3 14:25:30 2019 +0800

    [hotfix] [examples] Distinguish 'netcat' arguments for Linux and Windows in the SocketWIndowWordcount JavaDocs
    
    This closes #8593.
---
 .../apache/flink/streaming/examples/socket/SocketWindowWordCount.java   | 2 +-
 .../flink/streaming/scala/examples/socket/SocketWindowWordCount.scala   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/socket/SocketWindowWordCount.java b/flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/socket/SocketWindowWordCount.java
index 646a74a..921ab3a 100644
--- a/flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/socket/SocketWindowWordCount.java
+++ b/flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/socket/SocketWindowWordCount.java
@@ -33,7 +33,7 @@ import org.apache.flink.util.Collector;
  * The easiest way to try this out is to open a text server (at port 12345)
  * using the <i>netcat</i> tool via
  * <pre>
- * nc -l 12345
+ * nc -l 12345 on Linux or nc -l -p 12345 on Windows
  * </pre>
  * and run this example with the hostname and the port as arguments.
  */
diff --git a/flink-examples/flink-examples-streaming/src/main/scala/org/apache/flink/streaming/scala/examples/socket/SocketWindowWordCount.scala b/flink-examples/flink-examples-streaming/src/main/scala/org/apache/flink/streaming/scala/examples/socket/SocketWindowWordCount.scala
index e607f61..bdb1561 100644
--- a/flink-examples/flink-examples-streaming/src/main/scala/org/apache/flink/streaming/scala/examples/socket/SocketWindowWordCount.scala
+++ b/flink-examples/flink-examples-streaming/src/main/scala/org/apache/flink/streaming/scala/examples/socket/SocketWindowWordCount.scala
@@ -29,7 +29,7 @@ import org.apache.flink.streaming.api.windowing.time.Time
  * The easiest way to try this out is to open a text sever (at port 12345) 
  * using the ''netcat'' tool via
  * {{{
- * nc -l 12345
+ * nc -l 12345 on Linux or nc -l -p 12345 on Windows
  * }}}
  * and run this example with the hostname and the port as arguments..
  */