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

ASF GitHub Bot commented on FLINK-7442:
---------------------------------------

Github user aljoscha commented on the issue:

    https://github.com/apache/flink/pull/4554
  
    This is the exception I got with the class loader from 
https://github.com/apache/flink/blob/fa11845b926f8371e9cee47775ca0e48176b686e/flink-contrib/flink-statebackend-rocksdb/src/test/java/org/apache/flink/contrib/streaming/state/RocksDbMultiClassLoaderTest.java:
    ```
    org.apache.flink.client.program.ProgramInvocationException: Could not start 
the ActorSystem needed to talk to the JobManager.
        at 
org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:462)
        at 
org.apache.flink.client.program.StandaloneClusterClient.submitJob(StandaloneClusterClient.java:105)
        at 
org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:443)
        at 
org.apache.flink.streaming.api.environment.StreamContextEnvironment.execute(StreamContextEnvironment.java:66)
        at 
org.apache.flink.streaming.tests.ClassLoaderTestProgram.main(ClassLoaderTestProgram.java:95)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:538)
        at 
org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:430)
        at 
org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:383)
        at 
org.apache.flink.client.CliFrontend.executeProgram(CliFrontend.java:840)
        at org.apache.flink.client.CliFrontend.run(CliFrontend.java:285)
        at 
org.apache.flink.client.CliFrontend.parseParameters(CliFrontend.java:1088)
        at org.apache.flink.client.CliFrontend$2.call(CliFrontend.java:1135)
        at org.apache.flink.client.CliFrontend$2.call(CliFrontend.java:1132)
        at 
org.apache.flink.runtime.security.HadoopSecurityContext$1.run(HadoopSecurityContext.java:44)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:422)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1556)
        at 
org.apache.flink.runtime.security.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:41)
        at org.apache.flink.client.CliFrontend.main(CliFrontend.java:1132)
    Caused by: org.apache.flink.util.FlinkException: Could not start the 
ActorSystem lazily.
        at 
org.apache.flink.client.program.ClusterClient$LazyActorSystemLoader.get(ClusterClient.java:235)
        at 
org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:460)
        ... 22 more
    Caused by: com.typesafe.config.ConfigException$Missing: No configuration 
setting found for key 'akka.version'
        at com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:124)
        at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:145)
        at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:151)
        at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:159)
        at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:164)
        at 
com.typesafe.config.impl.SimpleConfig.getString(SimpleConfig.java:206)
        at akka.actor.ActorSystem$Settings.<init>(ActorSystem.scala:169)
        at akka.actor.ActorSystemImpl.<init>(ActorSystem.scala:505)
        at akka.actor.ActorSystem$.apply(ActorSystem.scala:142)
        at akka.actor.ActorSystem$.apply(ActorSystem.scala:119)
        at akka.actor.ActorSystem$.create(ActorSystem.scala:67)
        at 
org.apache.flink.runtime.akka.AkkaUtils$.createActorSystem(AkkaUtils.scala:106)
        at 
org.apache.flink.runtime.akka.AkkaUtils$.createActorSystem(AkkaUtils.scala:94)
        at 
org.apache.flink.runtime.akka.AkkaUtils.createActorSystem(AkkaUtils.scala)
        at 
org.apache.flink.client.program.ClusterClient$LazyActorSystemLoader.get(ClusterClient.java:231)
        ... 23 more
    ```
    
    This is on the client but just seeing it makes me believe that that class 
loader could cause problems. 


> Add option for using a child-first classloader for loading user code
> --------------------------------------------------------------------
>
>                 Key: FLINK-7442
>                 URL: https://issues.apache.org/jira/browse/FLINK-7442
>             Project: Flink
>          Issue Type: Improvement
>          Components: Local Runtime
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to