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

Chesnay Schepler commented on FLINK-9267:
-----------------------------------------

I setup a local 1.3.1 cluster, freshly built from source, no modifications to 
/lib or flink-conf.yaml.

I can successfully run the job after placing {{gradoop-demo-shaded.jar}} into 
the /lib folder.

I can also successfully submit jobs using the {{RemoteEnvironment}} after 
hard-coding the absolute path to the fat-jar ({{gradoop-demo-shaded.jar}}) in 
the {{RemoteEnvironment}} constructor call in 
{{Server#getExecutionEnvironment}}, at commit 
b7737c43364ebd0eb8724be64f1f53b60c845ffd.

As it stands I cannot reproduce the problem.

I used maven 3.5 and openjdk 1.8.0_162.

> Classloading issues when using RemoteEnvironment ...
> ----------------------------------------------------
>
>                 Key: FLINK-9267
>                 URL: https://issues.apache.org/jira/browse/FLINK-9267
>             Project: Flink
>          Issue Type: Bug
>          Components: Job-Submission
>    Affects Versions: 1.4.2
>         Environment: I have tried with Flink 1.3.3, Flink 1.4.2 and Flink 
> 1.6.0-SNAPSHOT.
> Oracle JDK 1.8.0_161 on Mac with a local cluster containing one JM and one TM.
>            Reporter: Kedar Mhaswade
>            Priority: Major
>
> See these two threads:
>  * [Nov 
> 2017|http://mail-archives.apache.org/mod_mbox/flink-user/201711.mbox/%3c66d706ad-5e47-4bd2-a7af-1db41cce7...@gmail.com%3E]
>  * [April 
> 2018|http://mail-archives.apache.org/mod_mbox/flink-user/201804.mbox/%3CCABzSAw_sQ149F8%2BS2Mpg%3DCH75F_7PuUx3hQYjdnLmOUL5O23oQ%40mail.gmail.com%3E]
> Both these threads show the classloading problems with using the 
> {{RemoteEnvironment}}. The instructions to [reproduce are 
> here|http://mail-archives.apache.org/mod_mbox/flink-user/201804.mbox/%3ccabzsaw_0qw_44xvjdtwz9y+s-pfgg2+cfx2c46gwqqngjj0...@mail.gmail.com%3E].
>  



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

Reply via email to