Hi,
Please double check that you moved all ZooKeeper module related libs from
“{apache_build}/libs/optional/ignite-zookeper” into “{apache_build}/libs/“ and
start the nodes using ignite.sh using your configuration.
If you start the nodes from IDEA please make sure that there are no any curator
libs that are imported by your idea. It’s better to import ignite-zookeeper
module using Maven to avoid exceptions like the one below.
Please let me know if my suggestions doesn’t work for you and you need more
assistance.
—
Denis
> On Jun 19, 2016, at 1:48 PM, huynq88 <[email protected]> wrote:
>
> configuration.xml
> <http://apache-ignite-users.70518.x6.nabble.com/file/n5740/configuration.xml>Hi
> all,
> I got a problem when running spark job with Ignite. Just can't figure out why
> the driver program keeps notifying that can't find method:
> creatingParentContainersIfNeeded. I'm using the Ignite 1.6 and the built in
> curator (2.9.1). I tried to replace the curator libraries with curator 2.10.0
> but things still happen the same. (NOTE 1)
> I also tried to point out the curator CuratorFrameworkImpl class in the
> configuration but it turns out to be another error (NOTE 2)
> Please help me out with this situation. Thanks a million
> (I also included my configuration file - NOTE 3)
> NOTE 1
> 16/06/18 15:36:53 WARN scheduler.TaskSetManager: Lost task 1.0 in stage 1.0
> (TID 3, host05): java.lang.NoSuchMethodError:
> org.apache.curator.framework.api.CreateBuilder.creatingParentContainersIfNeeded()Lorg/apache/curator/framework/api/ProtectACLCreateModePathAndBytesable;
> at
> org.apache.curator.x.discovery.details.ServiceDiscoveryImpl.internalRegisterService(ServiceDiscoveryImpl.java:224)
> at
> org.apache.curator.x.discovery.details.ServiceDiscoveryImpl.registerService(ServiceDiscoveryImpl.java:190)
> at
> org.apache.ignite.spi.discovery.tcp.ipfinder.zk.TcpDiscoveryZookeeperIpFinder.registerAddresses(TcpDiscoveryZookeeperIpFinder.java:225)
>
> NOTE 2
> Cannot create inner bean
> 'org.apache.curator.framework.imps.CuratorFrameworkImpl#51e2adc7' of type
> [org.apache.curator.framework.imps.CuratorFrameworkImpl] while setting bean
> property 'curator'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'org.apache.curator.framework.imps.CuratorFrameworkImpl#51e2adc7'
> defined in URL
> [file:/u01/dwh_app/apache-ignite-fabric-1.6.0-bin/config/default-config.xml]:
> Instantiation of bean failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Could not instantiate
> bean class [org.apache.curator.framework.imps.CuratorFrameworkImpl]: No
> default constructor found; nested exception is
> java.lang.NoSuchMethodException:
> org.apache.curator.framework.imps.CuratorFrameworkImpl.()] at
> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:906)
> at org.apache.ignite.Ignition.start(Ignition.java:350) at
> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
> Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
> instantiate Spring XML application context
> [springUrl=file:/u01/dwh_app/apache-ignite-fabric-1.6.0-bin/config/default-config.xml,
> err=Error creating bean with name
> 'org.apache.ignite.configuration.IgniteConfiguration#0' defined in URL
> [file:/u01/dwh_app/apache-ignite-fabric-1.6.0-bin/config/default-config.xml]:
> Cannot create inner bean
> 'org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi#fad74ee' of type
> [org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi] while setting bean
> property 'discoverySpi'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi#fad74ee'
> defined in URL
> [file:/u01/dwh_app/apache-ignite-fabric-1.6.0-bin/config/default-config.xml]:
> Cannot create inner bean
> NOTE 3
> In file attached
> View this message in context: Problem with curator-framework package when
> running spark job on Ignite
> <http://apache-ignite-users.70518.x6.nabble.com/Problem-with-curator-framework-package-when-running-spark-job-on-Ignite-tp5740.html>
> Sent from the Apache Ignite Users mailing list archive
> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.