[jira] [Updated] (SPARK-4046) Incorrect Java example on site
[ https://issues.apache.org/jira/browse/SPARK-4046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brennon York updated SPARK-4046: Attachment: SPARK-4046.diff Pulled down the site at the [Apache repo|https://svn.apache.org/repos/asf/spark/site], made the change, and attached the .diff file to resolve the issue. > 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 >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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Updated] (SPARK-4046) Incorrect Java example on site
[ https://issues.apache.org/jira/browse/SPARK-4046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Owen updated SPARK-4046: - Priority: Minor (was: Critical) Affects Version/s: 1.1.0 Summary: Incorrect Java example on site (was: Incorrect examples on site) > 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 >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