spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-4046) Incorrect Java example on site
Date Thu, 27 Nov 2014 00:37:12 GMT

    [ https://issues.apache.org/jira/browse/SPARK-4046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14227053#comment-14227053
] 

Reynold Xin commented on SPARK-4046:
------------------------------------

Thanks - I pushed the change and updated the website.

> Incorrect Java example on site
> ------------------------------
>
>                 Key: SPARK-4046
>                 URL: https://issues.apache.org/jira/browse/SPARK-4046
>             Project: Spark
>          Issue Type: Bug
>          Components: Documentation, Java API
>    Affects Versions: 1.1.0
>         Environment: Web
>            Reporter: Ian Babrou
>            Assignee: Reynold Xin
>            Priority: Minor
>         Attachments: SPARK-4046.diff
>
>
> 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


Mime
View raw message