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

Matthias J. Sax commented on FLINK-2553:
----------------------------------------

Yes. The problem is, that this example shows how to emulate a Storm `Client` 
via `FlinkClient`. And `Client` expects the name of the jar file as string. 
This is how Storm works. Do you have any idea, how to fix it? Can I somehow 
access the current maven artifact version within Java?

The same basically holds for `FlinkSubmitter`, too. However, in this class the 
name is only contained in a comments. Because `FlinkSubmitter` is supposed to 
be used via `bin/flink` the jar file name can be extracted there and can be set 
automatically. (If `FlinkSubmitter` is use in a standalone Java Application, 
ie, IDE, the user is required to set the name manually).

> Example Jars not build correctly
> --------------------------------
>
>                 Key: FLINK-2553
>                 URL: https://issues.apache.org/jira/browse/FLINK-2553
>             Project: Flink
>          Issue Type: Bug
>          Components: flink-contrib
>            Reporter: Matthias J. Sax
>            Assignee: Matthias J. Sax
>            Priority: Minor
>
> Due to new examples that introduced some package restructuring, example jar 
> files are not build correctly. Furthermore, package/class structure got 
> messed up to some extend. Additionally, documentation need to be extended to 
> point out the correct example jar files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to