Hello! I think that you need to add ignite-hadoop from libs/optional to libs/, probably other modules as well.
Regards, -- Ilya Kasnacheev пт, 8 мар. 2019 г. в 09:44, mehdi sey <[email protected]>: > hi. i want to start ignite node with a configuration name as > example-igfs.xml. i have alter this configuration for using IGFS as cache > layer for HDFS. but when i execute the below command for start ignite node > i encounter with error: > /usr/local/apache-ignite-fabric-2.6.0-bin/bin/ignite.sh > > /usr/local/apache-ignite-fabric-2.6.0-bin/examples/config/filesystem/example-igfs.xml > > but after executing above command i will encounter below error: > / _/ ___/ |/ / _/_ __/ __/ > [09:57:48] _/ // (7 7 // / / / / _/ > [09:57:48] /___/\___/_/|_/___/ /_/ /___/ > [09:57:48] > [09:57:48] ver. 2.6.0#20180710-sha1:669feacc > [09:57:48] 2018 Copyright(C) Apache Software Foundation > [09:57:48] > [09:57:48] Ignite documentation: http://ignite.apache.org > [09:57:48] > [09:57:48] Quiet mode. > [09:57:48] ^-- Logging to file > '/usr/local/apache-ignite-fabric-2.6.0-bin/work/log/ignite-246509e8.0.log' > [09:57:48] ^-- Logging by 'JavaLogger [quiet=true, config=null]' > [09:57:48] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false > or "-v" to ignite.{sh|bat} > [09:57:48] > [09:57:48] OS: Linux 4.15.0-43-generic amd64 > [09:57:48] VM information: Java(TM) SE Runtime Environment 1.8.0_192-ea-b04 > Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.192-b04 > [09:57:48] Configured plugins: > [09:57:48] ^-- None > [09:57:48] > [09:57:48] Configured failure handler: [hnd=StopNodeOrHaltFailureHandler > [tryStop=false, timeout=0]] > [09:57:48] Message queue limit is set to 0 which may lead to potential > OOMEs > when running cache operations in FULL_ASYNC or PRIMARY_SYNC modes due to > message queues growth on sender and receiver sides. > [09:57:48] Security status [authentication=off, tls/ssl=off] > [09:57:49,412][SEVERE][main][IgniteKernal] Exception during start > processors, node will be stopped and close connections > java.lang.NoClassDefFoundError: com/google/common/base/Preconditions > at > > org.apache.hadoop.conf.Configuration$DeprecationDelta.<init>(Configuration.java:361) > at > > org.apache.hadoop.conf.Configuration$DeprecationDelta.<init>(Configuration.java:374) > at > org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:456) > at > > org.apache.ignite.internal.processors.hadoop.impl.HadoopUtils.safeCreateConfiguration(HadoopUtils.java:334) > at > > org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopBasicFileSystemFactoryDelegate.start(HadoopBasicFileSystemFactoryDelegate.java:129) > at > > org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopCachingFileSystemFactoryDelegate.start(HadoopCachingFileSystemFactoryDelegate.java:58) > at > > org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopIgfsSecondaryFileSystemDelegateImpl.start(HadoopIgfsSecondaryFileSystemDelegateImpl.java:413) > at > > org.apache.ignite.hadoop.fs.IgniteHadoopIgfsSecondaryFileSystem.start(IgniteHadoopIgfsSecondaryFileSystem.java:276) > at > > org.apache.ignite.internal.processors.igfs.IgfsImpl.<init>(IgfsImpl.java:185) > at > > org.apache.ignite.internal.processors.igfs.IgfsContext.<init>(IgfsContext.java:102) > at > > org.apache.ignite.internal.processors.igfs.IgfsProcessor.start(IgfsProcessor.java:116) > at > > org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1739) > at > org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:990) > at > > org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2014) > at > > org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1723) > at > org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1151) > at > > org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:1069) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:955) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:854) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:724) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:693) > at org.apache.ignite.Ignition.start(Ignition.java:352) > at > > org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:301) > Caused by: java.lang.ClassNotFoundException: > com.google.common.base.Preconditions > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ... 23 more > [09:57:49,414][SEVERE][main][IgniteKernal] Got exception while starting > (will rollback startup routine). > java.lang.NoClassDefFoundError: com/google/common/base/Preconditions > at > > org.apache.hadoop.conf.Configuration$DeprecationDelta.<init>(Configuration.java:361) > at > > org.apache.hadoop.conf.Configuration$DeprecationDelta.<init>(Configuration.java:374) > at > org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:456) > at > > org.apache.ignite.internal.processors.hadoop.impl.HadoopUtils.safeCreateConfiguration(HadoopUtils.java:334) > at > > org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopBasicFileSystemFactoryDelegate.start(HadoopBasicFileSystemFactoryDelegate.java:129) > at > > org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopCachingFileSystemFactoryDelegate.start(HadoopCachingFileSystemFactoryDelegate.java:58) > at > > org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopIgfsSecondaryFileSystemDelegateImpl.start(HadoopIgfsSecondaryFileSystemDelegateImpl.java:413) > at > > org.apache.ignite.hadoop.fs.IgniteHadoopIgfsSecondaryFileSystem.start(IgniteHadoopIgfsSecondaryFileSystem.java:276) > at > > org.apache.ignite.internal.processors.igfs.IgfsImpl.<init>(IgfsImpl.java:185) > at > > org.apache.ignite.internal.processors.igfs.IgfsContext.<init>(IgfsContext.java:102) > at > > org.apache.ignite.internal.processors.igfs.IgfsProcessor.start(IgfsProcessor.java:116) > at > > org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1739) > at > org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:990) > at > > org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2014) > at > > org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1723) > at > org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1151) > at > > org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:1069) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:955) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:854) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:724) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:693) > at org.apache.ignite.Ignition.start(Ignition.java:352) > at > > org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:301) > Caused by: java.lang.ClassNotFoundException: > com.google.common.base.Preconditions > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ... 23 more > [09:57:49] Ignite node stopped OK [uptime=00:00:01.862] > java.lang.NoClassDefFoundError: com/google/common/base/Preconditions > at > > org.apache.hadoop.conf.Configuration$DeprecationDelta.<init>(Configuration.java:361) > at > > org.apache.hadoop.conf.Configuration$DeprecationDelta.<init>(Configuration.java:374) > at > org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:456) > at > > org.apache.ignite.internal.processors.hadoop.impl.HadoopUtils.safeCreateConfiguration(HadoopUtils.java:334) > at > > org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopBasicFileSystemFactoryDelegate.start(HadoopBasicFileSystemFactoryDelegate.java:129) > at > > org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopCachingFileSystemFactoryDelegate.start(HadoopCachingFileSystemFactoryDelegate.java:58) > at > > org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopIgfsSecondaryFileSystemDelegateImpl.start(HadoopIgfsSecondaryFileSystemDelegateImpl.java:413) > at > > org.apache.ignite.hadoop.fs.IgniteHadoopIgfsSecondaryFileSystem.start(IgniteHadoopIgfsSecondaryFileSystem.java:276) > at > > org.apache.ignite.internal.processors.igfs.IgfsImpl.<init>(IgfsImpl.java:185) > at > > org.apache.ignite.internal.processors.igfs.IgfsContext.<init>(IgfsContext.java:102) > at > > org.apache.ignite.internal.processors.igfs.IgfsProcessor.start(IgfsProcessor.java:116) > at > > org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1739) > at > org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:990) > at > > org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2014) > at > > org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1723) > at > org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1151) > at > > org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:1069) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:955) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:854) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:724) > at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:693) > at org.apache.ignite.Ignition.start(Ignition.java:352) > at > > org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:301) > Caused by: java.lang.ClassNotFoundException: > com.google.common.base.Preconditions > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ... 23 more > Failed to start grid: com/google/common/base/Preconditions > Note! You may use 'USER_LIBS' environment variable to specify your > classpath. > > > ================================== > this is my example-igfs file configuration: > example-igfs-hdfs.xml > < > http://apache-ignite-users.70518.x6.nabble.com/file/t2160/example-igfs-hdfs.xml> > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >
