Skip to content

[Spark-13705][Docs]UpdateStateByKey Operation documentation incorrectly refers to StatefulNetworkWordCount #11545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

rishitesh
Copy link

What changes were proposed in this pull request?

The reference to StatefulNetworkWordCount.scala from updateStatesByKey documentation should be removed, till there is a example for updateStatesByKey.

How was this patch tested?

Have tested the new documentation with jekyll build.

rmishra added 2 commits March 6, 2016 16:25
…Operation and goes onto give an example. However for complete code sample it referes to {{site.SPARK_GITHUB_URL}}/blob/master/examples/src/main/scala/org/apache

/spark/examples/streaming/StatefulNetworkWordCount.scala). StatefulNetworkWordCount.scala has changed to demonstrate more recent API mapWithState.
This creates confusion in the document.

Till the time more detailed explanation of mapWIthState is added the reference to StatefulNetworkWordCount.scala should be removed.
…teByKey Operation and goes onto give an example. However for complete code sample it referes to {{site.SPARK_GITHUB_URL}}/blob/master/examples/src/main/scala/org/apache"

This reverts commit 65a34c7.
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

…Operation and goes onto give an example. However for complete code sample it referes to {{site.SPARK_GITHUB_URL}}/blob/master/examples/src/main/scala/org/apache

/spark/examples/streaming/StatefulNetworkWordCount.scala). StatefulNetworkWordCount.scala has changed to demonstrate more recent API mapWithState.
This creates confusion in the document.

Till the time more detailed explanation of mapWIthState is added the reference to StatefulNetworkWordCount.scala should be removed.
@rishitesh rishitesh changed the title Spark 13705 Spark 13705 : UpdateStateByKey Operation documentation incorrectly refers to StatefulNetworkWordCount Mar 6, 2016
@srowen
Copy link
Member

srowen commented Mar 6, 2016

@rishitesh you need to read https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark before opening a JIRA or PR. You didn't link them.

@rishitesh rishitesh changed the title Spark 13705 : UpdateStateByKey Operation documentation incorrectly refers to StatefulNetworkWordCount [Spark 13705][Docs]UpdateStateByKey Operation documentation incorrectly refers to StatefulNetworkWordCount Mar 7, 2016
@rishitesh rishitesh changed the title [Spark 13705][Docs]UpdateStateByKey Operation documentation incorrectly refers to StatefulNetworkWordCount [Spark-13705][Docs]UpdateStateByKey Operation documentation incorrectly refers to StatefulNetworkWordCount Mar 7, 2016
@srowen
Copy link
Member

srowen commented Mar 7, 2016

Merged to master/1.6

@asfgit asfgit closed this in 4b13896 Mar 7, 2016
asfgit pushed a commit that referenced this pull request Mar 7, 2016
…tly refers to StatefulNetworkWordCount

## What changes were proposed in this pull request?
The reference to StatefulNetworkWordCount.scala from updateStatesByKey documentation should be removed, till there is a example for updateStatesByKey.

## How was this patch tested?
Have tested the new documentation with jekyll build.

Author: rmishra <rmishra@pivotal.io>

Closes #11545 from rishitesh/SPARK-13705.

(cherry picked from commit 4b13896)
Signed-off-by: Sean Owen <sowen@cloudera.com>
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
…tly refers to StatefulNetworkWordCount

## What changes were proposed in this pull request?
The reference to StatefulNetworkWordCount.scala from updateStatesByKey documentation should be removed, till there is a example for updateStatesByKey.

## How was this patch tested?
Have tested the new documentation with jekyll build.

Author: rmishra <rmishra@pivotal.io>

Closes apache#11545 from rishitesh/SPARK-13705.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants