You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Patrick Hunt <ph...@apache.org> on 2009/11/11 06:59:37 UTC

Re: Some thoughts on Zookeeper after using it for a while in the CXF/DOSGi subproject

I couldn't find a JIRA for removing the sys exits so I created one:
https://issues.apache.org/jira/browse/ZOOKEEPER-575

there's also this which seems like it should be easy for someone
who knows osgi container jar format requirements:
https://issues.apache.org/jira/browse/ZOOKEEPER-425

Now we just need to find someone who's interested and who would really 
like to run the server in his osgi container to work on these... (hint 
hint) ;-)

Patrick

Ted Dunning wrote:
> Running ZK in an OSGi container is a great idea and should be really easy to
> make happen.
> 
> This should be a new JIRA, in my opinion.
> 
> On Mon, Nov 9, 2009 at 12:10 PM, <da...@apache.org> wrote:
> 
>> Just wondering has any progress been made on this since? I would really
>> like
>> to run the ZooKeeper server as a bundle in my OSGi container. Is there a
>> JIRA to track this? If not I can create one :)
>>
> 
> 
> 

Re: Some thoughts on Zookeeper after using it for a while in the CXF/DOSGi subproject

Posted by da...@apache.org.
I just provided an initial patch on ZOOKEEPER-425 to solicit some
feedback. The comment in JIRA has the details.

David

2009/11/11 Benjamin Reed <br...@yahoo-inc.com>:
> david, it should be pretty easy to do since we do it in our test cases.
> (start and stop servers.) the problem is that we haven't really exposed the
> interfaces. (but we have wanted to.) and we don't have tests for those
> non-existent exposed interfaces :) with a clean interface it should be
> pretty easy to get rid of the System.exits.
>
> ben
>
> davidb@apache.org wrote:
>>
>> Ok - I get the message :)
>> Let me see if I can do some experimenting around running the zookeeper
>> server in OSGi and I'll report back...
>>
>> David
>>
>> 2009/11/10 Patrick Hunt <ph...@apache.org>
>>
>>>
>>> I couldn't find a JIRA for removing the sys exits so I created one:
>>> https://issues.apache.org/jira/browse/ZOOKEEPER-575
>>>
>>> there's also this which seems like it should be easy for someone
>>> who knows osgi container jar format requirements:
>>> https://issues.apache.org/jira/browse/ZOOKEEPER-425
>>>
>>> Now we just need to find someone who's interested and who would really
>>> like to run the server in his osgi container to work on these... (hint hint)
>>> ;-)
>>>
>>> Patrick
>>>
>>> Ted Dunning wrote:
>>>
>>>>
>>>> Running ZK in an OSGi container is a great idea and should be really
>>>> easy to
>>>> make happen.
>>>>
>>>> This should be a new JIRA, in my opinion.
>>>>
>>>> On Mon, Nov 9, 2009 at 12:10 PM, <da...@apache.org> wrote:
>>>>
>>>>
>>>>>
>>>>> Just wondering has any progress been made on this since? I would really
>>>>> like
>>>>> to run the ZooKeeper server as a bundle in my OSGi container. Is there
>>>>> a
>>>>> JIRA to track this? If not I can create one :)
>>>>>
>>>>>
>>>>
>>>>
>
>

Re: Some thoughts on Zookeeper after using it for a while in the CXF/DOSGi subproject

Posted by Benjamin Reed <br...@yahoo-inc.com>.
david, it should be pretty easy to do since we do it in our test cases. 
(start and stop servers.) the problem is that we haven't really exposed 
the interfaces. (but we have wanted to.) and we don't have tests for 
those non-existent exposed interfaces :) with a clean interface it 
should be pretty easy to get rid of the System.exits.

ben

davidb@apache.org wrote:
> Ok - I get the message :)
> Let me see if I can do some experimenting around running the zookeeper
> server in OSGi and I'll report back...
>
> David
>
> 2009/11/10 Patrick Hunt <ph...@apache.org>
>   
>> I couldn't find a JIRA for removing the sys exits so I created one:
>> https://issues.apache.org/jira/browse/ZOOKEEPER-575
>>
>> there's also this which seems like it should be easy for someone
>> who knows osgi container jar format requirements:
>> https://issues.apache.org/jira/browse/ZOOKEEPER-425
>>
>> Now we just need to find someone who's interested and who would really like to run the server in his osgi container to work on these... (hint hint) ;-)
>>
>> Patrick
>>
>> Ted Dunning wrote:
>>     
>>> Running ZK in an OSGi container is a great idea and should be really easy to
>>> make happen.
>>>
>>> This should be a new JIRA, in my opinion.
>>>
>>> On Mon, Nov 9, 2009 at 12:10 PM, <da...@apache.org> wrote:
>>>
>>>       
>>>> Just wondering has any progress been made on this since? I would really
>>>> like
>>>> to run the ZooKeeper server as a bundle in my OSGi container. Is there a
>>>> JIRA to track this? If not I can create one :)
>>>>
>>>>         
>>>
>>>       


Re: Some thoughts on Zookeeper after using it for a while in the CXF/DOSGi subproject

Posted by Patrick Hunt <ph...@apache.org>.
Seriously though, if you do pick this up feel free to ping us if you 
have questions. 425 should be easy for you (it's just updating the 
build.xml afaict?) but 575 is a bit tricky. We've removed some sysexits 
where it's been simple, however at least one of the ones that's left is 
tricky - the tricky part being to ensure the "server" shuts down in the 
case of catastrophic failure (failfast). I'd love to see these two jiras 
go in.

Thanks!

Patrick

davidb@apache.org wrote:
> Ok - I get the message :)
> Let me see if I can do some experimenting around running the zookeeper
> server in OSGi and I'll report back...
> 
> David
> 
> 2009/11/10 Patrick Hunt <ph...@apache.org>
>> I couldn't find a JIRA for removing the sys exits so I created one:
>> https://issues.apache.org/jira/browse/ZOOKEEPER-575
>>
>> there's also this which seems like it should be easy for someone
>> who knows osgi container jar format requirements:
>> https://issues.apache.org/jira/browse/ZOOKEEPER-425
>>
>> Now we just need to find someone who's interested and who would really like to run the server in his osgi container to work on these... (hint hint) ;-)
>>
>> Patrick
>>
>> Ted Dunning wrote:
>>> Running ZK in an OSGi container is a great idea and should be really easy to
>>> make happen.
>>>
>>> This should be a new JIRA, in my opinion.
>>>
>>> On Mon, Nov 9, 2009 at 12:10 PM, <da...@apache.org> wrote:
>>>
>>>> Just wondering has any progress been made on this since? I would really
>>>> like
>>>> to run the ZooKeeper server as a bundle in my OSGi container. Is there a
>>>> JIRA to track this? If not I can create one :)
>>>>
>>>
>>>

Re: Some thoughts on Zookeeper after using it for a while in the CXF/DOSGi subproject

Posted by da...@apache.org.
Ok - I get the message :)
Let me see if I can do some experimenting around running the zookeeper
server in OSGi and I'll report back...

David

2009/11/10 Patrick Hunt <ph...@apache.org>
>
> I couldn't find a JIRA for removing the sys exits so I created one:
> https://issues.apache.org/jira/browse/ZOOKEEPER-575
>
> there's also this which seems like it should be easy for someone
> who knows osgi container jar format requirements:
> https://issues.apache.org/jira/browse/ZOOKEEPER-425
>
> Now we just need to find someone who's interested and who would really like to run the server in his osgi container to work on these... (hint hint) ;-)
>
> Patrick
>
> Ted Dunning wrote:
>>
>> Running ZK in an OSGi container is a great idea and should be really easy to
>> make happen.
>>
>> This should be a new JIRA, in my opinion.
>>
>> On Mon, Nov 9, 2009 at 12:10 PM, <da...@apache.org> wrote:
>>
>>> Just wondering has any progress been made on this since? I would really
>>> like
>>> to run the ZooKeeper server as a bundle in my OSGi container. Is there a
>>> JIRA to track this? If not I can create one :)
>>>
>>
>>
>>