Timothy St. Clair created MESOS-705:
---------------------------------------
Summary: Zookeeper dependencies isolation
Key: MESOS-705
URL: https://issues.apache.org/jira/browse/MESOS-705
Project: Mesos
Issue Type: Bug
Components: test
Affects Versions: 0.15.0
Reporter: Timothy St. Clair
In packaging Mesos for Fedora
(https://fedoraproject.org/wiki/SIGs/bigdata/packaging/Mesos#JNI_reaching_into_zookeeper_utility_classes)
, and updating the Zookeeper dependency we found that JNI dependencies are
reaching into utility classes which are subject to change across versions and
becomes quite the integration headache.
More specifically fedora is running zookeeper-3.4.5, and in
mesos/src/jvm/org/apache/zookeeper.hpp the NIOServerCnxn objects & signatures
have changed, thus causing issues.
Also the hard refs on classpath : mesos/src/tests/zookeeper.cpp caused issues.
In summary, the encapsulation of the dependency needs to be isolated to the api
where possible, and (conf) the loading abilities as the dep-graph for the
classpath can change, not to mention JNI is quite specific :-(
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira