You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ian Babrou (JIRA)" <ji...@apache.org> on 2014/10/22 12:01:34 UTC
[jira] [Created] (SPARK-4046) Incorrect examples on site
Ian Babrou created SPARK-4046:
---------------------------------
Summary: Incorrect examples on site
Key: SPARK-4046
URL: https://issues.apache.org/jira/browse/SPARK-4046
Project: Spark
Issue Type: Bug
Components: Documentation, Java API
Environment: Web
Reporter: Ian Babrou
Priority: Critical
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org