[ 
https://issues.apache.org/jira/browse/FLINK-9980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Anderson updated FLINK-9980:
----------------------------------
    Description: The docs wiki-edit quickstart example should emphasize the 
need to remove the provided scope from the flink dependencies. Otherwise the 
example can't be run from the command line, and this is confusing. See 
[https://stackoverflow.com/questions/51550479/caused-by-java-io-ioexception-unable-to-serialize-default-value-of-type-tuple2|https://stackoverflow.com/questions/51550479/caused-by-java-io-ioexception-unable-to-serialize-default-value-of-type-tuple2,].
  (was: Following the instructions in the docs, I find that this example runs 
in intellij, but when run from the command line as instructed

{{mvn exec:java -Dexec.mainClass=wikiedits.WikipediaAnalysis}}

it fails with 

{{java.lang.NoClassDefFoundError: 
org/apache/flink/streaming/api/functions/source/SourceFunction}}

I discovered this when trying to reproduce a problem reported on stack 
overflow: 
[https://stackoverflow.com/questions/51550479/caused-by-java-io-ioexception-unable-to-serialize-default-value-of-type-tuple2]

That user is getting a different runtime error.)
    Component/s:     (was: Examples)
                 Documentation
        Summary: wiki-edits quickstart docs aren't clear enough  (was: 
wiki-edits quickstart example fails when run outside of IDE)

> wiki-edits quickstart docs aren't clear enough
> ----------------------------------------------
>
>                 Key: FLINK-9980
>                 URL: https://issues.apache.org/jira/browse/FLINK-9980
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.5.1
>            Reporter: David Anderson
>            Priority: Major
>             Fix For: 1.6.0
>
>
> The docs wiki-edit quickstart example should emphasize the need to remove the 
> provided scope from the flink dependencies. Otherwise the example can't be 
> run from the command line, and this is confusing. See 
> [https://stackoverflow.com/questions/51550479/caused-by-java-io-ioexception-unable-to-serialize-default-value-of-type-tuple2|https://stackoverflow.com/questions/51550479/caused-by-java-io-ioexception-unable-to-serialize-default-value-of-type-tuple2,].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to