You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "zhouyanming (JIRA)" <ji...@apache.org> on 2010/01/22 12:11:21 UTC

[jira] Created: (ZOOKEEPER-652) package server and client separately

package server and client separately
------------------------------------

                 Key: ZOOKEEPER-652
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-652
             Project: Zookeeper
          Issue Type: Improvement
          Components: build
            Reporter: zhouyanming


is it possible split zookeeper.jar to zookeeper-server.jar and zookeeper-client.jar?
so app can only use client jar 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-652) package server and client separately

Posted by "Benjamin Reed (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803718#action_12803718 ] 

Benjamin Reed commented on ZOOKEEPER-652:
-----------------------------------------

it is definitely nice to have client code in the server jar so that you always have a client to do problem determination. is the purpose to make the client jar smaller?

> package server and client separately
> ------------------------------------
>
>                 Key: ZOOKEEPER-652
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-652
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: build
>            Reporter: zhouyanming
>
> is it possible split zookeeper.jar to zookeeper-server.jar and zookeeper-client.jar?
> so app can only use client jar 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-652) package server and client separately

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803787#action_12803787 ] 

Patrick Hunt commented on ZOOKEEPER-652:
----------------------------------------

See ZOOKEEPER-537 - 3.3.0 already has the bin/src/jdoc split.

keep in mind that in 3.3.0 we have 4 jars, the legacy jar, and bin/src/jdoc jars. If we move fwd on this idea we would have something like 7 jars. ;-)

Also there would be a bit of work to determine/separate the shared code. in ZOOKEEPER-233 there was an issue wrt this, in particular you might
end up with 10 jars as a result... Ugh.

With 3.3.0 the bin jar is smaller (no source), not sure how much real benefit there is to splitting out the client at that point.


> package server and client separately
> ------------------------------------
>
>                 Key: ZOOKEEPER-652
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-652
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: build
>            Reporter: zhouyanming
>
> is it possible split zookeeper.jar to zookeeper-server.jar and zookeeper-client.jar?
> so app can only use client jar 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-652) package server and client separately

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803701#action_12803701 ] 

Yonik Seeley commented on ZOOKEEPER-652:
----------------------------------------

I sort of like the fact that everything you need is in one jar.
Although not including the source code in the jar might be nice to reduce it's size.

> package server and client separately
> ------------------------------------
>
>                 Key: ZOOKEEPER-652
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-652
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: build
>            Reporter: zhouyanming
>
> is it possible split zookeeper.jar to zookeeper-server.jar and zookeeper-client.jar?
> so app can only use client jar 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.