flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-4403) RPC proxy classloading should use Flink class' classloader
Date Tue, 16 Aug 2016 19:16:20 GMT
Stephan Ewen created FLINK-4403:

             Summary: RPC proxy classloading should use Flink class' classloader
                 Key: FLINK-4403
                 URL: https://issues.apache.org/jira/browse/FLINK-4403
             Project: Flink
          Issue Type: Sub-task
          Components: Distributed Coordination
         Environment: FLIP-6 feature branch
            Reporter: Stephan Ewen
            Assignee: Stephan Ewen
             Fix For: 1.2.0

The RPC service's proxies use the {{ClassLoader.getSystemClassLoader()}} for all reflective

In settings where Flink runs embedded, the Flink framework classes may not be in the System
classloader, but for example in the classloader of an OSGI bundle. It is hence better to use
the classloader of a Flink Framework class. In most cases, that will be the system classloader,
in other cases it will be the classloader for the Flink code bundle: {{RpcService.class.getClassLoader()}}.

This message was sent by Atlassian JIRA

View raw message