Hello, I got this error but I couldn't solve it.

=======================
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:222)
        at
org.apache.curator.x.discovery.details.ServiceDiscoveryImpl.registerService(ServiceDiscoveryImpl.java:188)
        at
org.apache.ignite.spi.discovery.tcp.ipfinder.zk.TcpDiscoveryZookeeperIpFinder.registerAddresses(TcpDiscoveryZookeeperIpFinder.java:237)
        at
org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinderAdapter.initializeLocalAddresses(TcpDiscoveryIpFinderAdapter.java:61)
        at
org.apache.ignite.spi.discovery.tcp.TcpDiscoveryImpl.registerLocalNodeAddress(TcpDiscoveryImpl.java:294)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl.spiStart(ServerImpl.java:334)
        at
org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.spiStart(TcpDiscoverySpi.java:1850)
        at
org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:268)
        at
org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.start(GridDiscoveryManager.java:685)
        at
org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1626)
        at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:924)
        at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1799)
        at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1602)
        at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1042)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:569)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:530)
        at org.apache.ignite.Ignition.getOrStart(Ignition.java:414)
        at org.apache.ignite.spark.IgniteContext.ignite(IgniteContext.scala:143)
        at
org.apache.ignite.spark.IgniteContext$$anonfun$1.apply(IgniteContext.scala:54)
        at
org.apache.ignite.spark.IgniteContext$$anonfun$1.apply(IgniteContext.scala:54)
        at
org.apache.spark.rdd.RDD$$anonfun$foreachPartition$1$$anonfun$apply$29.apply(RDD.scala:925)
        at
org.apache.spark.rdd.RDD$$anonfun$foreachPartition$1$$anonfun$apply$29.apply(RDD.scala:925)
        at
org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1944)
        at
org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1944)
        at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:87)
        at org.apache.spark.scheduler.Task.run(Task.scala:99)
        at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:282)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)

===============================

My SBT file only includes Ignite related

====== SBT   ============
libraryDependencies += ("org.apache.ignite" % "ignite-spark" % "1.9.0")
  .exclude("org.scalatest", "scalatest_2.10")
  .exclude("com.twitter", "chill_2.10")
  .exclude("org.apache.spark", "spark-unsafe_2.10")
  .exclude("org.apache.spark", "spark-tags_2.10")

libraryDependencies += "org.apache.ignite" % "ignite-zookeeper" % "1.9.0"
=======================


I have no problem on launching it on my local through IDEA. However, when I
submit the jar file on my server cluster, it reports such error.

===== submit command =============

spark-submit --packages
org.apache.ignite:ignite-spark:1.9.0,org.apache.ignite:ignite-zookeeper:1.9.0 
--conf 'spark.mesos.coarse=true' ignitemaster_2.11-1.0.jar

==================

I think this command has included everything, but I don't know where is the
conflict.

Could you please provide steps that I should check one by one? Thanks,











--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/NoSuchMethodError-org-apache-curator-framework-api-CreateBuilder-creatingParentContainersIfNeeded-tp12363.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to