[
https://issues.apache.org/jira/browse/FLINK-13179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16882559#comment-16882559
]
Jiangjie Qin commented on FLINK-13179:
--------------------------------------
[~rmetzger] the example that I was trying to run was
[StateMachineExample|http://[https://github.com/apache/flink/tree/master/flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/statemachine]].
It is not covered in the page you mentioned. The readme page mentioned the
main class to run, but did not mention the Flink jar in the lib directory is
also needed. So the actual command I used to run the example was:
{{java -cp StateMachineExample.jar:../../lib/flink-dist_2.11-1.9-SNAPSHOT.jar
org.apache.flink.streaming.examples.statemachine.StateMachineExample
--kafka-topic smachine}}
This is may take a while for users to figure this out.
> Add document on how to run examples.
> ------------------------------------
>
> Key: FLINK-13179
> URL: https://issues.apache.org/jira/browse/FLINK-13179
> Project: Flink
> Issue Type: Improvement
> Components: Documentation, Examples
> Reporter: Jiangjie Qin
> Priority: Major
>
> Some of the examples in Flink do not have sufficient document so users may
> not able to run them easily. We can probably have a shell script to run the
> examples. The shell script should include necessary libraries and maybe log4j
> configs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)