You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by mehdi sey <se...@gmail.com> on 2019/03/08 06:38:24 UTC

Failed to start grid: com/google/common/base/Preconditions

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/

Re: Failed to start grid: com/google/common/base/Preconditions

Posted by Mehdi Seydali <se...@gmail.com>.
i dont really know where "30s" comes from. please verify my config that are
them correct?
i SecondaryFileSystem my configPath just as below:
<property name="secondaryFileSystem">
                        <bean
class="org.apache.ignite.hadoop.fs.IgniteHadoopIgfsSecondaryFileSystem">
                            <property name="fileSystemFactory">
                                <bean
class="org.apache.ignite.hadoop.fs.CachingHadoopFileSystemFactory">
                                    <property name="uri"
value="hdfs://localhost:9000/"/>
                                    <property name="configPaths">
                                        <list>

<value>/usr/local/hadoop/etc/hadoop/core-site.xml</value>
                                        </list>
                                    </property>

                                </bean>
                            </property>
                        </bean>
                    </property>
where /usr/local/hadoop/etc/hadoop/core-site.xml file is just as below:

<property>
      <name>fs.defaultFS</name>
      <value>hdfs://localhost:9000</value>
   </property>

   <property>
      <name>hadoop.tmp.dir</name>
      <value>/app/hadoop/tmp</value>
   </property>
but when i want to execute worcount example in hadoop i have use a config
in ignite_config folder for hadoop just as below. ignite_config folder
consist of two files name as core-site.xml and mapred-site.xml.
hint: command for executing wordcount example in hadoop
time hadoop --config
/home/mehdi/ignite-conf/ignite-configs-master/igfs-hadoop-fs-cache/ignite_conf
jar
/usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.2.0.jar
wordcount /user/input/ /output

i have attached core-site.xml and mapred-site.xml. please give me an
aknowledge that is it correct this configuration for using igfs as cache
for hdfs?



On Tue, Mar 12, 2019 at 6:46 PM Ilya Kasnacheev <il...@gmail.com>
wrote:

> Hello!
>
> Where does this "30s" setting comes from? I guess it should be nominated
> in ms, as a number. However, unless this value comes from Ignite in some
> way, we're not related to that.
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> вт, 12 мар. 2019 г. в 13:14, Mehdi Seydali <se...@gmail.com>:
>
>> i added java.lang.ClassNotFoundException:
>> com.ctc.wstx.io.InputBootstrapper from previous email and added to ignite
>> lib. after adding this library ignite node started but i have encounter
>> another error just like below:
>>
>> [13:03:28]    __________  ________________
>> [13:03:28]   /  _/ ___/ |/ /  _/_  __/ __/
>> [13:03:28]  _/ // (7 7    // /  / / / _/
>> [13:03:28] /___/\___/_/|_/___/ /_/ /___/
>> [13:03:28]
>> [13:03:28] ver. 2.6.0#20180710-sha1:669feacc
>> [13:03:28] 2018 Copyright(C) Apache Software Foundation
>> [13:03:28]
>> [13:03:28] Ignite documentation: http://ignite.apache.org
>> [13:03:28]
>> [13:03:28] Quiet mode.
>> [13:03:28]   ^-- Logging to file
>> '/usr/local/apache-ignite-fabric-2.6.0-bin/work/log/ignite-41a0490a.log'
>> [13:03:28]   ^-- Logging by 'Log4JLogger [quiet=true,
>> config=/usr/local/apache-ignite-fabric-2.6.0-bin/config/ignite-log4j.xml]'
>> [13:03:28]   ^-- To see **FULL** console log here add
>> -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat}
>> [13:03:28]
>> [13:03:28] OS: Linux 4.15.0-46-generic amd64
>> [13:03:28] 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
>> [13:03:28] Configured plugins:
>> [13:03:28]   ^-- Ignite Native I/O Plugin [Direct I/O]
>> [13:03:28]   ^-- Copyright(C) Apache Software Foundation
>> [13:03:28]
>> [13:03:28] Configured failure handler: [hnd=StopNodeOrHaltFailureHandler
>> [tryStop=false, timeout=0]]
>> [13:03:28] 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.
>> [13:03:29] Security status [authentication=off, tls/ssl=off]
>> SLF4J: Class path contains multiple SLF4J bindings.
>> SLF4J: Found binding in
>> [jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/slf4j-nop-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>> SLF4J: Found binding in
>> [jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/htrace%20dependency/slf4j-nop-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>> SLF4J: Found binding in
>> [jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/ignite-rest-http/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>> SLF4J: Found binding in
>> [jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/ignite-yarn/ignite-yarn-2.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>> SLF4J: Found binding in
>> [jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/ignite-zookeeper/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
>> explanation.
>> SLF4J: Actual binding is of type [org.slf4j.helpers.NOPLoggerFactory]
>> [13:03:31] HADOOP_HOME is set to /usr/local/hadoop
>> [13:03:31] Resolved Hadoop classpath locations:
>> /usr/local/hadoop/share/hadoop/common, /usr/local/hadoop/share/hadoop/hdfs,
>> /usr/local/hadoop/share/hadoop/mapreduce
>> [13:03:32] Nodes started on local machine require more than 20% of
>> physical RAM what can lead to significant slowdown due to swapping (please
>> decrease JVM heap size, data region size or checkpoint buffer size)
>> [required=5344MB, available=7953MB]
>> [13:03:34] Performance suggestions for grid  (fix if possible)
>> [13:03:34] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
>> [13:03:34]   ^-- Enable G1 Garbage Collector (add '-XX:+UseG1GC' to JVM
>> options)
>> [13:03:34]   ^-- Set max direct memory size if getting 'OOME: Direct
>> buffer memory' (add '-XX:MaxDirectMemorySize=<size>[g|G|m|M|k|K]' to JVM
>> options)
>> [13:03:34]   ^-- Disable processing of calls to System.gc() (add
>> '-XX:+DisableExplicitGC' to JVM options)
>> [13:03:34] Refer to this page for more performance suggestions:
>> https://apacheignite.readme.io/docs/jvm-and-system-tuning
>> [13:03:34]
>> [13:03:34] To start Console Management & Monitoring run
>> ignitevisorcmd.{sh|bat}
>> [13:03:34]
>> [13:03:34] Ignite node started OK (id=41a0490a)
>> [13:03:34] Topology snapshot [ver=4, servers=2, clients=0, CPUs=8,
>> offheap=3.1GB, heap=2.0GB]
>> [13:03:34]   ^-- Node [id=41A0490A-8A7B-4977-A48B-B5D98D49CF1B,
>> clusterState=ACTIVE]
>> [13:03:34] Data Regions Configured:
>> [13:03:34]   ^-- default [initSize=256.0 MiB, maxSize=1.6 GiB,
>> persistenceEnabled=false]
>> [13:03:42] New version is available at ignite.apache.org: 2.7.0
>> [13:03:56] Topology snapshot [ver=5, servers=1, clients=0, CPUs=8,
>> offheap=1.6GB, heap=1.0GB]
>> [13:03:56]   ^-- Node [id=41A0490A-8A7B-4977-A48B-B5D98D49CF1B,
>> clusterState=ACTIVE]
>> [13:03:56] Data Regions Configured:
>> [13:03:56]   ^-- default [initSize=256.0 MiB, maxSize=1.6 GiB,
>> persistenceEnabled=false]
>> [2019-03-12 13:04:08,878][ERROR][igfs-igfs-ipc-#64][IgfsImpl] File info
>> operation in DUAL mode failed [path=/output]
>> class org.apache.ignite.IgniteException: For input string: "30s"
>>     at
>> org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap.getOrCreate(HadoopLazyConcurrentMap.java:100)
>>     at
>> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopCachingFileSystemFactoryDelegate.getWithMappedName(HadoopCachingFileSystemFactoryDelegate.java:53)
>>     at
>> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopBasicFileSystemFactoryDelegate.get(HadoopBasicFileSystemFactoryDelegate.java:75)
>>     at
>> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopBasicFileSystemFactoryDelegate.get(HadoopBasicFileSystemFactoryDelegate.java:43)
>>     at
>> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopIgfsSecondaryFileSystemDelegateImpl.fileSystemForUser(HadoopIgfsSecondaryFileSystemDelegateImpl.java:517)
>>     at
>> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopIgfsSecondaryFileSystemDelegateImpl.info
>> (HadoopIgfsSecondaryFileSystemDelegateImpl.java:296)
>>     at
>> org.apache.ignite.hadoop.fs.IgniteHadoopIgfsSecondaryFileSystem.info
>> (IgniteHadoopIgfsSecondaryFileSystem.java:240)
>>     at
>> org.apache.ignite.internal.processors.igfs.IgfsImpl.resolveFileInfo(IgfsImpl.java:1600)
>>     at
>> org.apache.ignite.internal.processors.igfs.IgfsImpl.access$800(IgfsImpl.java:110)
>>     at
>> org.apache.ignite.internal.processors.igfs.IgfsImpl$6.call(IgfsImpl.java:524)
>>     at
>> org.apache.ignite.internal.processors.igfs.IgfsImpl$6.call(IgfsImpl.java:517)
>>     at
>> org.apache.ignite.internal.processors.igfs.IgfsImpl.safeOp(IgfsImpl.java:1756)
>>     at org.apache.ignite.internal.processors.igfs.IgfsImpl.info
>> (IgfsImpl.java:517)
>>     at
>> org.apache.ignite.internal.processors.igfs.IgfsIpcHandler$2.apply(IgfsIpcHandler.java:341)
>>     at
>> org.apache.ignite.internal.processors.igfs.IgfsIpcHandler$2.apply(IgfsIpcHandler.java:332)
>>     at
>> org.apache.ignite.igfs.IgfsUserContext.doAs(IgfsUserContext.java:54)
>>     at
>> org.apache.ignite.internal.processors.igfs.IgfsIpcHandler.processPathControlRequest(IgfsIpcHandler.java:332)
>>     at
>> org.apache.ignite.internal.processors.igfs.IgfsIpcHandler.execute(IgfsIpcHandler.java:241)
>>     at
>> org.apache.ignite.internal.processors.igfs.IgfsIpcHandler.access$000(IgfsIpcHandler.java:57)
>>     at
>> org.apache.ignite.internal.processors.igfs.IgfsIpcHandler$1.run(IgfsIpcHandler.java:167)
>>     at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>>     at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>>     at java.lang.Thread.run(Thread.java:748)
>> Caused by: class org.apache.ignite.IgniteCheckedException: For input
>> string: "30s"
>>     at
>> org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:7307)
>>     at
>> org.apache.ignite.internal.util.future.GridFutureAdapter.resolve(GridFutureAdapter.java:259)
>>     at
>> org.apache.ignite.internal.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:171)
>>     at
>> org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:140)
>>     at
>> org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap$ValueWrapper.getValue(HadoopLazyConcurrentMap.java:191)
>>     at
>> org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap.getOrCreate(HadoopLazyConcurrentMap.java:93)
>>     ... 22 more
>> Caused by: java.lang.NumberFormatException: For input string: "30s"
>>     at
>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>>     at java.lang.Long.parseLong(Long.java:589)
>>     at java.lang.Long.parseLong(Long.java:631)
>>     at
>> org.apache.hadoop.conf.Configuration.getLong(Configuration.java:1538)
>>     at org.apache.hadoop.hdfs.DFSClient$Conf.<init>(DFSClient.java:430)
>>     at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:540)
>>     at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:524)
>>     at
>> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:146)
>>     at
>> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3303)
>>     at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:476)
>>     at org.apache.hadoop.fs.FileSystem$1.run(FileSystem.java:217)
>>     at org.apache.hadoop.fs.FileSystem$1.run(FileSystem.java:214)
>>     at java.security.AccessController.doPrivileged(Native Method)
>>     at javax.security.auth.Subject.doAs(Subject.java:422)
>>     at
>> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1730)
>>     at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:214)
>>     at
>> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopBasicFileSystemFactoryDelegate.create(HadoopBasicFileSystemFactoryDelegate.java:117)
>>     at
>> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopBasicFileSystemFactoryDelegate.getWithMappedName(HadoopBasicFileSystemFactoryDelegate.java:95)
>>     at
>> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopCachingFileSystemFactoryDelegate.access$001(HadoopCachingFileSystemFactoryDelegate.java:32)
>>     at
>> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopCachingFileSystemFactoryDelegate$1.createValue(HadoopCachingFileSystemFactoryDelegate.java:37)
>>     at
>> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopCachingFileSystemFactoryDelegate$1.createValue(HadoopCachingFileSystemFactoryDelegate.java:35)
>>     at
>> org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap$ValueWrapper.init(HadoopLazyConcurrentMap.java:173)
>>     at
>> org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap$ValueWrapper.access$100(HadoopLazyConcurrentMap.java:154)
>>     at
>> org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap.getOrCreate(HadoopLazyConcurrentMap.java:82)
>>     ... 22 more
>> ============================================
>> i have three exm configuration file just like beow, i have execute hadoop
>> with below command with config switch
>>
>> time hadoop --config
>> /home/mehdi/ignite-conf/ignite-configs-master/igfs-hadoop-fs-cache/ignite_conf
>> jar
>> /usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.2.0.jar
>> wordcount /user/input/ /output
>>
>> i have created /user/input directory in hdfs and i want to put result in
>> output folder.
>>
>>
>>

Re: Failed to start grid: com/google/common/base/Preconditions

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

Where does this "30s" setting comes from? I guess it should be nominated in
ms, as a number. However, unless this value comes from Ignite in some way,
we're not related to that.

Regards,
-- 
Ilya Kasnacheev


вт, 12 мар. 2019 г. в 13:14, Mehdi Seydali <se...@gmail.com>:

> i added java.lang.ClassNotFoundException:
> com.ctc.wstx.io.InputBootstrapper from previous email and added to ignite
> lib. after adding this library ignite node started but i have encounter
> another error just like below:
>
> [13:03:28]    __________  ________________
> [13:03:28]   /  _/ ___/ |/ /  _/_  __/ __/
> [13:03:28]  _/ // (7 7    // /  / / / _/
> [13:03:28] /___/\___/_/|_/___/ /_/ /___/
> [13:03:28]
> [13:03:28] ver. 2.6.0#20180710-sha1:669feacc
> [13:03:28] 2018 Copyright(C) Apache Software Foundation
> [13:03:28]
> [13:03:28] Ignite documentation: http://ignite.apache.org
> [13:03:28]
> [13:03:28] Quiet mode.
> [13:03:28]   ^-- Logging to file
> '/usr/local/apache-ignite-fabric-2.6.0-bin/work/log/ignite-41a0490a.log'
> [13:03:28]   ^-- Logging by 'Log4JLogger [quiet=true,
> config=/usr/local/apache-ignite-fabric-2.6.0-bin/config/ignite-log4j.xml]'
> [13:03:28]   ^-- To see **FULL** console log here add -DIGNITE_QUIET=false
> or "-v" to ignite.{sh|bat}
> [13:03:28]
> [13:03:28] OS: Linux 4.15.0-46-generic amd64
> [13:03:28] 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
> [13:03:28] Configured plugins:
> [13:03:28]   ^-- Ignite Native I/O Plugin [Direct I/O]
> [13:03:28]   ^-- Copyright(C) Apache Software Foundation
> [13:03:28]
> [13:03:28] Configured failure handler: [hnd=StopNodeOrHaltFailureHandler
> [tryStop=false, timeout=0]]
> [13:03:28] 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.
> [13:03:29] Security status [authentication=off, tls/ssl=off]
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/slf4j-nop-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/htrace%20dependency/slf4j-nop-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/ignite-rest-http/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/ignite-yarn/ignite-yarn-2.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/ignite-zookeeper/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> SLF4J: Actual binding is of type [org.slf4j.helpers.NOPLoggerFactory]
> [13:03:31] HADOOP_HOME is set to /usr/local/hadoop
> [13:03:31] Resolved Hadoop classpath locations:
> /usr/local/hadoop/share/hadoop/common, /usr/local/hadoop/share/hadoop/hdfs,
> /usr/local/hadoop/share/hadoop/mapreduce
> [13:03:32] Nodes started on local machine require more than 20% of
> physical RAM what can lead to significant slowdown due to swapping (please
> decrease JVM heap size, data region size or checkpoint buffer size)
> [required=5344MB, available=7953MB]
> [13:03:34] Performance suggestions for grid  (fix if possible)
> [13:03:34] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
> [13:03:34]   ^-- Enable G1 Garbage Collector (add '-XX:+UseG1GC' to JVM
> options)
> [13:03:34]   ^-- Set max direct memory size if getting 'OOME: Direct
> buffer memory' (add '-XX:MaxDirectMemorySize=<size>[g|G|m|M|k|K]' to JVM
> options)
> [13:03:34]   ^-- Disable processing of calls to System.gc() (add
> '-XX:+DisableExplicitGC' to JVM options)
> [13:03:34] Refer to this page for more performance suggestions:
> https://apacheignite.readme.io/docs/jvm-and-system-tuning
> [13:03:34]
> [13:03:34] To start Console Management & Monitoring run
> ignitevisorcmd.{sh|bat}
> [13:03:34]
> [13:03:34] Ignite node started OK (id=41a0490a)
> [13:03:34] Topology snapshot [ver=4, servers=2, clients=0, CPUs=8,
> offheap=3.1GB, heap=2.0GB]
> [13:03:34]   ^-- Node [id=41A0490A-8A7B-4977-A48B-B5D98D49CF1B,
> clusterState=ACTIVE]
> [13:03:34] Data Regions Configured:
> [13:03:34]   ^-- default [initSize=256.0 MiB, maxSize=1.6 GiB,
> persistenceEnabled=false]
> [13:03:42] New version is available at ignite.apache.org: 2.7.0
> [13:03:56] Topology snapshot [ver=5, servers=1, clients=0, CPUs=8,
> offheap=1.6GB, heap=1.0GB]
> [13:03:56]   ^-- Node [id=41A0490A-8A7B-4977-A48B-B5D98D49CF1B,
> clusterState=ACTIVE]
> [13:03:56] Data Regions Configured:
> [13:03:56]   ^-- default [initSize=256.0 MiB, maxSize=1.6 GiB,
> persistenceEnabled=false]
> [2019-03-12 13:04:08,878][ERROR][igfs-igfs-ipc-#64][IgfsImpl] File info
> operation in DUAL mode failed [path=/output]
> class org.apache.ignite.IgniteException: For input string: "30s"
>     at
> org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap.getOrCreate(HadoopLazyConcurrentMap.java:100)
>     at
> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopCachingFileSystemFactoryDelegate.getWithMappedName(HadoopCachingFileSystemFactoryDelegate.java:53)
>     at
> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopBasicFileSystemFactoryDelegate.get(HadoopBasicFileSystemFactoryDelegate.java:75)
>     at
> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopBasicFileSystemFactoryDelegate.get(HadoopBasicFileSystemFactoryDelegate.java:43)
>     at
> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopIgfsSecondaryFileSystemDelegateImpl.fileSystemForUser(HadoopIgfsSecondaryFileSystemDelegateImpl.java:517)
>     at
> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopIgfsSecondaryFileSystemDelegateImpl.info
> (HadoopIgfsSecondaryFileSystemDelegateImpl.java:296)
>     at
> org.apache.ignite.hadoop.fs.IgniteHadoopIgfsSecondaryFileSystem.info
> (IgniteHadoopIgfsSecondaryFileSystem.java:240)
>     at
> org.apache.ignite.internal.processors.igfs.IgfsImpl.resolveFileInfo(IgfsImpl.java:1600)
>     at
> org.apache.ignite.internal.processors.igfs.IgfsImpl.access$800(IgfsImpl.java:110)
>     at
> org.apache.ignite.internal.processors.igfs.IgfsImpl$6.call(IgfsImpl.java:524)
>     at
> org.apache.ignite.internal.processors.igfs.IgfsImpl$6.call(IgfsImpl.java:517)
>     at
> org.apache.ignite.internal.processors.igfs.IgfsImpl.safeOp(IgfsImpl.java:1756)
>     at org.apache.ignite.internal.processors.igfs.IgfsImpl.info
> (IgfsImpl.java:517)
>     at
> org.apache.ignite.internal.processors.igfs.IgfsIpcHandler$2.apply(IgfsIpcHandler.java:341)
>     at
> org.apache.ignite.internal.processors.igfs.IgfsIpcHandler$2.apply(IgfsIpcHandler.java:332)
>     at org.apache.ignite.igfs.IgfsUserContext.doAs(IgfsUserContext.java:54)
>     at
> org.apache.ignite.internal.processors.igfs.IgfsIpcHandler.processPathControlRequest(IgfsIpcHandler.java:332)
>     at
> org.apache.ignite.internal.processors.igfs.IgfsIpcHandler.execute(IgfsIpcHandler.java:241)
>     at
> org.apache.ignite.internal.processors.igfs.IgfsIpcHandler.access$000(IgfsIpcHandler.java:57)
>     at
> org.apache.ignite.internal.processors.igfs.IgfsIpcHandler$1.run(IgfsIpcHandler.java:167)
>     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>     at java.lang.Thread.run(Thread.java:748)
> Caused by: class org.apache.ignite.IgniteCheckedException: For input
> string: "30s"
>     at
> org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:7307)
>     at
> org.apache.ignite.internal.util.future.GridFutureAdapter.resolve(GridFutureAdapter.java:259)
>     at
> org.apache.ignite.internal.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:171)
>     at
> org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:140)
>     at
> org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap$ValueWrapper.getValue(HadoopLazyConcurrentMap.java:191)
>     at
> org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap.getOrCreate(HadoopLazyConcurrentMap.java:93)
>     ... 22 more
> Caused by: java.lang.NumberFormatException: For input string: "30s"
>     at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>     at java.lang.Long.parseLong(Long.java:589)
>     at java.lang.Long.parseLong(Long.java:631)
>     at
> org.apache.hadoop.conf.Configuration.getLong(Configuration.java:1538)
>     at org.apache.hadoop.hdfs.DFSClient$Conf.<init>(DFSClient.java:430)
>     at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:540)
>     at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:524)
>     at
> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:146)
>     at
> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3303)
>     at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:476)
>     at org.apache.hadoop.fs.FileSystem$1.run(FileSystem.java:217)
>     at org.apache.hadoop.fs.FileSystem$1.run(FileSystem.java:214)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at javax.security.auth.Subject.doAs(Subject.java:422)
>     at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1730)
>     at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:214)
>     at
> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopBasicFileSystemFactoryDelegate.create(HadoopBasicFileSystemFactoryDelegate.java:117)
>     at
> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopBasicFileSystemFactoryDelegate.getWithMappedName(HadoopBasicFileSystemFactoryDelegate.java:95)
>     at
> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopCachingFileSystemFactoryDelegate.access$001(HadoopCachingFileSystemFactoryDelegate.java:32)
>     at
> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopCachingFileSystemFactoryDelegate$1.createValue(HadoopCachingFileSystemFactoryDelegate.java:37)
>     at
> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopCachingFileSystemFactoryDelegate$1.createValue(HadoopCachingFileSystemFactoryDelegate.java:35)
>     at
> org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap$ValueWrapper.init(HadoopLazyConcurrentMap.java:173)
>     at
> org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap$ValueWrapper.access$100(HadoopLazyConcurrentMap.java:154)
>     at
> org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap.getOrCreate(HadoopLazyConcurrentMap.java:82)
>     ... 22 more
> ============================================
> i have three exm configuration file just like beow, i have execute hadoop
> with below command with config switch
>
> time hadoop --config
> /home/mehdi/ignite-conf/ignite-configs-master/igfs-hadoop-fs-cache/ignite_conf
> jar
> /usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.2.0.jar
> wordcount /user/input/ /output
>
> i have created /user/input directory in hdfs and i want to put result in
> output folder.
>
>
>

Re: Failed to start grid: com/google/common/base/Preconditions

Posted by Mehdi Seydali <se...@gmail.com>.
i added java.lang.ClassNotFoundException: com.ctc.wstx.io.InputBootstrapper
from previous email and added to ignite lib. after adding this library
ignite node started but i have encounter another error just like below:

[13:03:28]    __________  ________________
[13:03:28]   /  _/ ___/ |/ /  _/_  __/ __/
[13:03:28]  _/ // (7 7    // /  / / / _/
[13:03:28] /___/\___/_/|_/___/ /_/ /___/
[13:03:28]
[13:03:28] ver. 2.6.0#20180710-sha1:669feacc
[13:03:28] 2018 Copyright(C) Apache Software Foundation
[13:03:28]
[13:03:28] Ignite documentation: http://ignite.apache.org
[13:03:28]
[13:03:28] Quiet mode.
[13:03:28]   ^-- Logging to file
'/usr/local/apache-ignite-fabric-2.6.0-bin/work/log/ignite-41a0490a.log'
[13:03:28]   ^-- Logging by 'Log4JLogger [quiet=true,
config=/usr/local/apache-ignite-fabric-2.6.0-bin/config/ignite-log4j.xml]'
[13:03:28]   ^-- To see **FULL** console log here add -DIGNITE_QUIET=false
or "-v" to ignite.{sh|bat}
[13:03:28]
[13:03:28] OS: Linux 4.15.0-46-generic amd64
[13:03:28] 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
[13:03:28] Configured plugins:
[13:03:28]   ^-- Ignite Native I/O Plugin [Direct I/O]
[13:03:28]   ^-- Copyright(C) Apache Software Foundation
[13:03:28]
[13:03:28] Configured failure handler: [hnd=StopNodeOrHaltFailureHandler
[tryStop=false, timeout=0]]
[13:03:28] 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.
[13:03:29] Security status [authentication=off, tls/ssl=off]
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/slf4j-nop-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/htrace%20dependency/slf4j-nop-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/ignite-rest-http/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/ignite-yarn/ignite-yarn-2.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/ignite-zookeeper/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
SLF4J: Actual binding is of type [org.slf4j.helpers.NOPLoggerFactory]
[13:03:31] HADOOP_HOME is set to /usr/local/hadoop
[13:03:31] Resolved Hadoop classpath locations:
/usr/local/hadoop/share/hadoop/common, /usr/local/hadoop/share/hadoop/hdfs,
/usr/local/hadoop/share/hadoop/mapreduce
[13:03:32] Nodes started on local machine require more than 20% of physical
RAM what can lead to significant slowdown due to swapping (please decrease
JVM heap size, data region size or checkpoint buffer size)
[required=5344MB, available=7953MB]
[13:03:34] Performance suggestions for grid  (fix if possible)
[13:03:34] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
[13:03:34]   ^-- Enable G1 Garbage Collector (add '-XX:+UseG1GC' to JVM
options)
[13:03:34]   ^-- Set max direct memory size if getting 'OOME: Direct buffer
memory' (add '-XX:MaxDirectMemorySize=<size>[g|G|m|M|k|K]' to JVM options)
[13:03:34]   ^-- Disable processing of calls to System.gc() (add
'-XX:+DisableExplicitGC' to JVM options)
[13:03:34] Refer to this page for more performance suggestions:
https://apacheignite.readme.io/docs/jvm-and-system-tuning
[13:03:34]
[13:03:34] To start Console Management & Monitoring run
ignitevisorcmd.{sh|bat}
[13:03:34]
[13:03:34] Ignite node started OK (id=41a0490a)
[13:03:34] Topology snapshot [ver=4, servers=2, clients=0, CPUs=8,
offheap=3.1GB, heap=2.0GB]
[13:03:34]   ^-- Node [id=41A0490A-8A7B-4977-A48B-B5D98D49CF1B,
clusterState=ACTIVE]
[13:03:34] Data Regions Configured:
[13:03:34]   ^-- default [initSize=256.0 MiB, maxSize=1.6 GiB,
persistenceEnabled=false]
[13:03:42] New version is available at ignite.apache.org: 2.7.0
[13:03:56] Topology snapshot [ver=5, servers=1, clients=0, CPUs=8,
offheap=1.6GB, heap=1.0GB]
[13:03:56]   ^-- Node [id=41A0490A-8A7B-4977-A48B-B5D98D49CF1B,
clusterState=ACTIVE]
[13:03:56] Data Regions Configured:
[13:03:56]   ^-- default [initSize=256.0 MiB, maxSize=1.6 GiB,
persistenceEnabled=false]
[2019-03-12 13:04:08,878][ERROR][igfs-igfs-ipc-#64][IgfsImpl] File info
operation in DUAL mode failed [path=/output]
class org.apache.ignite.IgniteException: For input string: "30s"
    at
org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap.getOrCreate(HadoopLazyConcurrentMap.java:100)
    at
org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopCachingFileSystemFactoryDelegate.getWithMappedName(HadoopCachingFileSystemFactoryDelegate.java:53)
    at
org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopBasicFileSystemFactoryDelegate.get(HadoopBasicFileSystemFactoryDelegate.java:75)
    at
org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopBasicFileSystemFactoryDelegate.get(HadoopBasicFileSystemFactoryDelegate.java:43)
    at
org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopIgfsSecondaryFileSystemDelegateImpl.fileSystemForUser(HadoopIgfsSecondaryFileSystemDelegateImpl.java:517)
    at
org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopIgfsSecondaryFileSystemDelegateImpl.info
(HadoopIgfsSecondaryFileSystemDelegateImpl.java:296)
    at org.apache.ignite.hadoop.fs.IgniteHadoopIgfsSecondaryFileSystem.info
(IgniteHadoopIgfsSecondaryFileSystem.java:240)
    at
org.apache.ignite.internal.processors.igfs.IgfsImpl.resolveFileInfo(IgfsImpl.java:1600)
    at
org.apache.ignite.internal.processors.igfs.IgfsImpl.access$800(IgfsImpl.java:110)
    at
org.apache.ignite.internal.processors.igfs.IgfsImpl$6.call(IgfsImpl.java:524)
    at
org.apache.ignite.internal.processors.igfs.IgfsImpl$6.call(IgfsImpl.java:517)
    at
org.apache.ignite.internal.processors.igfs.IgfsImpl.safeOp(IgfsImpl.java:1756)
    at org.apache.ignite.internal.processors.igfs.IgfsImpl.info
(IgfsImpl.java:517)
    at
org.apache.ignite.internal.processors.igfs.IgfsIpcHandler$2.apply(IgfsIpcHandler.java:341)
    at
org.apache.ignite.internal.processors.igfs.IgfsIpcHandler$2.apply(IgfsIpcHandler.java:332)
    at org.apache.ignite.igfs.IgfsUserContext.doAs(IgfsUserContext.java:54)
    at
org.apache.ignite.internal.processors.igfs.IgfsIpcHandler.processPathControlRequest(IgfsIpcHandler.java:332)
    at
org.apache.ignite.internal.processors.igfs.IgfsIpcHandler.execute(IgfsIpcHandler.java:241)
    at
org.apache.ignite.internal.processors.igfs.IgfsIpcHandler.access$000(IgfsIpcHandler.java:57)
    at
org.apache.ignite.internal.processors.igfs.IgfsIpcHandler$1.run(IgfsIpcHandler.java:167)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: class org.apache.ignite.IgniteCheckedException: For input
string: "30s"
    at
org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:7307)
    at
org.apache.ignite.internal.util.future.GridFutureAdapter.resolve(GridFutureAdapter.java:259)
    at
org.apache.ignite.internal.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:171)
    at
org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:140)
    at
org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap$ValueWrapper.getValue(HadoopLazyConcurrentMap.java:191)
    at
org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap.getOrCreate(HadoopLazyConcurrentMap.java:93)
    ... 22 more
Caused by: java.lang.NumberFormatException: For input string: "30s"
    at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Long.parseLong(Long.java:589)
    at java.lang.Long.parseLong(Long.java:631)
    at org.apache.hadoop.conf.Configuration.getLong(Configuration.java:1538)
    at org.apache.hadoop.hdfs.DFSClient$Conf.<init>(DFSClient.java:430)
    at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:540)
    at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:524)
    at
org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:146)
    at
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3303)
    at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:476)
    at org.apache.hadoop.fs.FileSystem$1.run(FileSystem.java:217)
    at org.apache.hadoop.fs.FileSystem$1.run(FileSystem.java:214)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:422)
    at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1730)
    at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:214)
    at
org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopBasicFileSystemFactoryDelegate.create(HadoopBasicFileSystemFactoryDelegate.java:117)
    at
org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopBasicFileSystemFactoryDelegate.getWithMappedName(HadoopBasicFileSystemFactoryDelegate.java:95)
    at
org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopCachingFileSystemFactoryDelegate.access$001(HadoopCachingFileSystemFactoryDelegate.java:32)
    at
org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopCachingFileSystemFactoryDelegate$1.createValue(HadoopCachingFileSystemFactoryDelegate.java:37)
    at
org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopCachingFileSystemFactoryDelegate$1.createValue(HadoopCachingFileSystemFactoryDelegate.java:35)
    at
org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap$ValueWrapper.init(HadoopLazyConcurrentMap.java:173)
    at
org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap$ValueWrapper.access$100(HadoopLazyConcurrentMap.java:154)
    at
org.apache.ignite.internal.processors.hadoop.impl.fs.HadoopLazyConcurrentMap.getOrCreate(HadoopLazyConcurrentMap.java:82)
    ... 22 more
============================================
i have three exm configuration file just like beow, i have execute hadoop
with below command with config switch

time hadoop --config
/home/mehdi/ignite-conf/ignite-configs-master/igfs-hadoop-fs-cache/ignite_conf
jar
/usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.2.0.jar
wordcount /user/input/ /output

i have created /user/input directory in hdfs and i want to put result in
output folder.

Re: Failed to start grid: com/google/common/base/Preconditions

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

Can you state what's on your classpath? As far as my understanding goes we
don't even ship Ignite-Hadoop in our main redistributable.

Regards,
-- 
Ilya Kasnacheev


пн, 11 мар. 2019 г. в 12:08, Mehdi Seydali <se...@gmail.com>:

> ignite-hadoop was in lib path of ignite but i aslo copied other optional
> folder module to lib folder and i have encounter another error just like
> below:
> [12:34:14]    __________  ________________
> [12:34:14]   /  _/ ___/ |/ /  _/_  __/ __/
> [12:34:14]  _/ // (7 7    // /  / / / _/
> [12:34:14] /___/\___/_/|_/___/ /_/ /___/
> [12:34:14]
> [12:34:14] ver. 2.6.0#20180710-sha1:669feacc
> [12:34:14] 2018 Copyright(C) Apache Software Foundation
> [12:34:14]
> [12:34:14] Ignite documentation: http://ignite.apache.org
> [12:34:14]
> [12:34:14] Quiet mode.
> [12:34:14]   ^-- Logging to file
> '/usr/local/apache-ignite-fabric-2.6.0-bin/work/log/ignite-96498dcf.log'
> [12:34:14]   ^-- Logging by 'Log4JLogger [quiet=true,
> config=/usr/local/apache-ignite-fabric-2.6.0-bin/config/ignite-log4j.xml]'
> [12:34:14]   ^-- To see **FULL** console log here add -DIGNITE_QUIET=false
> or "-v" to ignite.{sh|bat}
> [12:34:14]
> [12:34:14] OS: Linux 4.15.0-46-generic amd64
> [12:34:14] 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
> [12:34:14] Configured plugins:
> [12:34:14]   ^-- Ignite Native I/O Plugin [Direct I/O]
> [12:34:14]   ^-- Copyright(C) Apache Software Foundation
> [12:34:14]
> [12:34:14] Configured failure handler: [hnd=StopNodeOrHaltFailureHandler
> [tryStop=false, timeout=0]]
> [12:34:14] 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.
> [12:34:14] Security status [authentication=off, tls/ssl=off]
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/ignite-rest-http/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/ignite-yarn/ignite-yarn-2.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/ignite-zookeeper/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
> [2019-03-11 12:34:15,475][ERROR][main][IgniteKernal] Exception during
> start processors, node will be stopped and close connections
> java.lang.NoClassDefFoundError: com/ctc/wstx/io/InputBootstrapper
>     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.ctc.wstx.io.InputBootstrapper
>     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)
>     ... 20 more
> [2019-03-11 12:34:15,478][ERROR][main][IgniteKernal] Got exception while
> starting (will rollback startup routine).
> java.lang.NoClassDefFoundError: com/ctc/wstx/io/InputBootstrapper
>     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.ctc.wstx.io.InputBootstrapper
>     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)
>     ... 20 more
> [12:34:15] Ignite node stopped OK [uptime=00:00:05.308]
> java.lang.NoClassDefFoundError: com/ctc/wstx/io/InputBootstrapper
>     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.ctc.wstx.io.InputBootstrapper
>     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)
>     ... 20 more
> Failed to start grid: com/ctc/wstx/io/InputBootstrapper
> Note! You may use 'USER_LIBS' environment variable to specify your
> classpath.
>
>
> On Mon, Mar 11, 2019 at 11:12 AM Ilya Kasnacheev <
> ilya.kasnacheev@gmail.com> wrote:
>
>> 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 <se...@gmail.com>:
>>
>>> 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/
>>>
>>

Re: Failed to start grid: com/google/common/base/Preconditions

Posted by Mehdi Seydali <se...@gmail.com>.
ignite-hadoop was in lib path of ignite but i aslo copied other optional
folder module to lib folder and i have encounter another error just like
below:
[12:34:14]    __________  ________________
[12:34:14]   /  _/ ___/ |/ /  _/_  __/ __/
[12:34:14]  _/ // (7 7    // /  / / / _/
[12:34:14] /___/\___/_/|_/___/ /_/ /___/
[12:34:14]
[12:34:14] ver. 2.6.0#20180710-sha1:669feacc
[12:34:14] 2018 Copyright(C) Apache Software Foundation
[12:34:14]
[12:34:14] Ignite documentation: http://ignite.apache.org
[12:34:14]
[12:34:14] Quiet mode.
[12:34:14]   ^-- Logging to file
'/usr/local/apache-ignite-fabric-2.6.0-bin/work/log/ignite-96498dcf.log'
[12:34:14]   ^-- Logging by 'Log4JLogger [quiet=true,
config=/usr/local/apache-ignite-fabric-2.6.0-bin/config/ignite-log4j.xml]'
[12:34:14]   ^-- To see **FULL** console log here add -DIGNITE_QUIET=false
or "-v" to ignite.{sh|bat}
[12:34:14]
[12:34:14] OS: Linux 4.15.0-46-generic amd64
[12:34:14] 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
[12:34:14] Configured plugins:
[12:34:14]   ^-- Ignite Native I/O Plugin [Direct I/O]
[12:34:14]   ^-- Copyright(C) Apache Software Foundation
[12:34:14]
[12:34:14] Configured failure handler: [hnd=StopNodeOrHaltFailureHandler
[tryStop=false, timeout=0]]
[12:34:14] 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.
[12:34:14] Security status [authentication=off, tls/ssl=off]
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/ignite-rest-http/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/ignite-yarn/ignite-yarn-2.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/usr/local/apache-ignite-fabric-2.6.0-bin/libs/ignite-zookeeper/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[2019-03-11 12:34:15,475][ERROR][main][IgniteKernal] Exception during start
processors, node will be stopped and close connections
java.lang.NoClassDefFoundError: com/ctc/wstx/io/InputBootstrapper
    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.ctc.wstx.io.InputBootstrapper
    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)
    ... 20 more
[2019-03-11 12:34:15,478][ERROR][main][IgniteKernal] Got exception while
starting (will rollback startup routine).
java.lang.NoClassDefFoundError: com/ctc/wstx/io/InputBootstrapper
    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.ctc.wstx.io.InputBootstrapper
    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)
    ... 20 more
[12:34:15] Ignite node stopped OK [uptime=00:00:05.308]
java.lang.NoClassDefFoundError: com/ctc/wstx/io/InputBootstrapper
    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.ctc.wstx.io.InputBootstrapper
    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)
    ... 20 more
Failed to start grid: com/ctc/wstx/io/InputBootstrapper
Note! You may use 'USER_LIBS' environment variable to specify your
classpath.


On Mon, Mar 11, 2019 at 11:12 AM Ilya Kasnacheev <il...@gmail.com>
wrote:

> 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 <se...@gmail.com>:
>
>> 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/
>>
>

Re: Failed to start grid: com/google/common/base/Preconditions

Posted by Ilya Kasnacheev <il...@gmail.com>.
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 <se...@gmail.com>:

> 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/
>