Edward Sargisson created SPARK-7096: ---------------------------------------
Summary: Java example for Streaming on site uses map instead of mapToPair Key: SPARK-7096 URL: https://issues.apache.org/jira/browse/SPARK-7096 Project: Spark Issue Type: Bug Components: Documentation, Java API Affects Versions: 1.1.0 Environment: Web Reporter: Edward Sargisson Assignee: Reynold Xin Priority: Minor https://spark.apache.org/examples.html Here word count example for java is incorrect. It should be mapToPair instead of map. Correct example is here: https://github.com/apache/spark/blob/master/examples/src/main/java/org/apache/spark/examples/JavaWordCount.java -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org