flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-12148) Give precedence to specified local jar when same mainClass is included in both lib and specified jar
Date Wed, 10 Apr 2019 13:31:00 GMT

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

ASF GitHub Bot updated FLINK-12148:
-----------------------------------
    Labels: pull-request-available  (was: )

> Give precedence to specified local jar when same mainClass is included in both lib and
specified jar
> ----------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-12148
>                 URL: https://issues.apache.org/jira/browse/FLINK-12148
>             Project: Flink
>          Issue Type: Bug
>          Components: Command Line Client
>    Affects Versions: 1.8.0
>            Reporter: leesf
>            Assignee: leesf
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.9.0
>
>
> When submitting the flink job with ./flink run -c mainClass localJar. If the main class
is included in the $FLINK_HOME/lib directory and the specified jar package, then the mainClass
in the $FLINK_HOME/lib directory is executed instead of the specified localJar.
> For example, There is flink-examples-streaming_2.11-1.9-SNAPSHOT.jar in lib directory
that contains the org.apache.flink.streaming.examples.wordcount.WordCount class, and LocalWordCount.jar
also contains org.apache.flink.streaming.examples.wordcount The .WordCount class, then use
./flink run -c org.apache.flink.streaming.examples.wordcount.WordCount /tmp/LocalWordCount.jar
to submit job, the WordCount class in flink-examples-streaming_2.11-1.9-SNAPSHOT.jar is executed
in instead of LocalWordCount.jar.



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

Mime
View raw message