flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Till Rohrmann <trohrm...@apache.org>
Subject Re: downloading dependency in apache flink
Date Wed, 24 Feb 2016 13:42:19 GMT
What is the error message you receive?

On Wed, Feb 24, 2016 at 1:49 PM, Pankaj Kumar <pancsenitt@gmail.com> wrote:

> Hi Till ,
>
> I was able to make fat jar, but i am not able to execute this jar through
> flink command line.
>
> On Wed, Feb 24, 2016 at 4:31 PM, Till Rohrmann <trohrmann@apache.org>
> wrote:
>
>> Hi Pankaj,
>>
>> are you creating a fat jar when you create your use code jar? This can be
>> done using maven's shade plugin or the assembly plugin. We provide a maven
>> archetype to set up a pom file which will make sure that a fat jar is built
>> [1].
>>
>> [1]
>> https://ci.apache.org/projects/flink/flink-docs-master/quickstart/java_api_quickstart.html
>>
>> Cheers,
>> Till
>>
>> On Wed, Feb 24, 2016 at 11:31 AM, Pankaj Kumar <pancsenitt@gmail.com>
>> wrote:
>>
>>> i am trying to write a job, using maven project.
>>>
>>> Job is working fine in my editor , but when i am running that job
>>> through flink command line its giving ClassNotFoundException exception
>>> . Its not to find dependency.
>>>
>>> If i will create a jar , will flink download all its dependency before
>>> executing that jar. if not that how can we run one-jar.
>>>
>>>
>>> Thanks
>>>
>>
>>
>

Mime
View raw message