helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ioannis Canellos (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HELIX-70) Make Helix OSGi ready
Date Wed, 10 Apr 2013 10:14:16 GMT

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

Ioannis Canellos commented on HELIX-70:
---------------------------------------

An issue I see, is that helix is using zookeeper packages that are not exported by the official
zookeeper bundle:

org.apache.zookeeper.commons,
org.apache.zookeeper.server.persistence,
org.apache.zookeeper.server.util
org.apache.zookeeper.txn

The first package is just using a utility method, so that could easily move inside helix itself
and get rid of that dependency. For the rest we have a few options, like:

i) Import them as optional packages. Users that need to use classes that require those packages
will have to find a modified zk bundle.
ii) Embed those as private packages. This means that they will end up inside the helix-core
jar.
iii) Leave helix core as is and just provide a helix uberbundle that will contain, helix-core,
zookeeper & zookeeper client.

Since, the zookeeper client is not a valid osgi bundle option (iii) while not ideal might
solve 2 issues at once. 
                
> Make Helix OSGi ready
> ---------------------
>
>                 Key: HELIX-70
>                 URL: https://issues.apache.org/jira/browse/HELIX-70
>             Project: Apache Helix
>          Issue Type: Improvement
>            Reporter: Ioannis Canellos
>             Fix For: 0.6.2-incubating
>
>


--
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

Mime
View raw message