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

Roman Shtykh commented on IGNITE-2718:
--------------------------------------

[~dustin.chesterman]
I re-checked it. Zookeeper module is correctly built.
To run an example, you have to add the above-mentioned dependencies to your 
pom.xml. No need to look at {{target/libs}}.
If you are building from the sources, do {{maven clean install -DskipTests}} at 
the root of the whole project first. That will suffice to run your example app.

If you need jars (probably you don't if you use maven), they all can be found 
in 
{{ignite_src_dir/target/bin/apache-ignite-fabric-1.6.0-SNAPSHOT-bin.zip}}. See 
{{libs/optional}}

Makes sense?

> modules/zookeeper/target/libs directory does not have all dependencies
> ----------------------------------------------------------------------
>
>                 Key: IGNITE-2718
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2718
>             Project: Ignite
>          Issue Type: Bug
>          Components: build, ignite-zookeeper
>            Reporter: Dustin Chesterman
>            Priority: Critical
>              Labels: community
>             Fix For: 1.6
>
>
> If you specify the zookeeper ip finder in the example cache config there are 
> a host of classnotfound exceptions.  I believe these need to be populated 
> into the build target lib dir.
> {code}        <property name="discoverySpi">
>             <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
>                 <property name="ipFinder">
>                     <!--
>                         Ignite provides several options for automatic 
> discovery that can be used
>                         instead os static IP based discovery. For information 
> on all options refer
>                         to our documentation: 
> http://apacheignite.readme.io/docs/cluster-config
>                     -->
>                     <!-- Uncomment static IP finder to enable static-based 
> discovery of initial nodes. -->
>                     <!--<bean 
> class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">-->
>                     <bean 
> class="org.apache.ignite.spi.discovery.tcp.ipfinder.zk.TcpDiscoveryZookeeperIpFinder">
>                         <property name="allowDuplicateRegistrations" 
> value="false" />
>                         <property name="basePath" value="/grid" />
>                         <property name="serviceName" value="myService" />
>                         <property name="zkConnectionString" 
> value="192.168.200.11:2181" />
>                     </bean>
>                 </property>
>             </bean>
>         </property>{code}



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

Reply via email to