You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2017/01/16 15:10:26 UTC

[jira] [Commented] (FLINK-5508) Remove Mesos dynamic class loading

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

Till Rohrmann commented on FLINK-5508:
--------------------------------------

The {{ZooKeeperStateHandleStore}} cannot be loaded statically because it requires a {{CuratorFramework}} argument for instantiation. Since we relocate {{Curator}} in {{flink-runtime}}, the classes are not compatible. In order to fix the problem, we either have to introduce our own interface for {{CuratorFramework}} or refrain from relocating {{Curator}} in {{flink-runtime}}. For the time being, I'll only remove the unnecessary {{ZooKeeperUtils}} class from the {{flink-mesos}} module.

> Remove Mesos dynamic class loading
> ----------------------------------
>
>                 Key: FLINK-5508
>                 URL: https://issues.apache.org/jira/browse/FLINK-5508
>             Project: Flink
>          Issue Type: Improvement
>          Components: Mesos
>    Affects Versions: 1.2.0, 1.3.0
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>            Priority: Minor
>             Fix For: 1.2.0, 1.3.0
>
>
> Mesos uses dynamic class loading in order to load the {{ZooKeeperStateHandleStore}} and the {{CuratorFramework}} class. This can be replaced by a compile time dependency.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)