You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2018/05/01 15:47:00 UTC
[jira] [Commented] (FLINK-9267) Classloading issues when using
RemoteEnvironment ...
[ 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-1DB41CCE7AEA@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+CFx2C46gwQqNGJj0B3A@mail.gmail.com%3E].
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)