Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12758

zookeeper discovery does not work due to missed dependency

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8.1
    • Component/s: None
    • Labels:
      None

      Description

      in new zookeeper 3.5.5 version part of classes were moved in new jar:
      https://mvnrepository.com/artifact/org.apache.zookeeper/zookeeper-jute/3.5.5
      which is missed in Apache Ignite release.

      Sever fails to start with the following exception:

       

      [15:16:14,514][SEVERE][main][IgniteKernal] Got exception while starting (will rollback startup routine).
      java.lang.NoClassDefFoundError: org/apache/zookeeper/data/Id
      at org.apache.zookeeper.ZooDefs$Ids.<clinit>(ZooDefs.java:111)
      at org.apache.ignite.spi.discovery.zk.internal.ZookeeperClient.<clinit>(ZookeeperClient.java:68)
      at org.apache.ignite.spi.discovery.zk.internal.ZookeeperDiscoveryImpl.joinTopology(ZookeeperDiscoveryImpl.java:783)
      at org.apache.ignite.spi.discovery.zk.internal.ZookeeperDiscoveryImpl.startJoinAndWait(ZookeeperDiscoveryImpl.java:714)
      at org.apache.ignite.spi.discovery.zk.ZookeeperDiscoverySpi.spiStart(ZookeeperDiscoverySpi.java:483)
      at org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:297)
      at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.start(GridDiscoveryManager.java:943)
      at org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1960)
      at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1276)
      at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2038)
      at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1703)
      at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1117)
      at org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:1035)
      at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:921)
      at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:820)
      at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:690)
      at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:659)
      at org.apache.ignite.Ignition.start(Ignition.java:346)
      at org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:300)
      Caused by: java.lang.ClassNotFoundException: org.apache.zookeeper.data.Id
      at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
      ... 19 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mmuzaf Maxim Muzafarov
                Reporter:
                mcherkasov Mikhail Cherkasov
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m