ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul.S" <rahu...@tayana.in>
Subject Facing problem in examples.
Date Sun, 18 Jun 2017 06:51:55 GMT
Hi Ignite Team,
I am new to the Ignite and its application,
I was intended to work with C++ examples, in the put-get example the cache
name was not given in the example source code, i gave that part and its up
and good to go, the executable is starting and writing the contents in the
cache and reading from the cache but to create a cluster i am starting the
one more ignite node in the same server (also tried in the different server)
but i am getting this error, in the start of the second node (the second
node may be the executable of the one more instance by executing ignite.sh).


Here is the error that i am getting:
[xyz@V235-Dev putget-example]$ ./ignite-putgetexample
TBR--->   main Started
TBR--->   Loading the config/example-cache.xml
TBR--->   Loaded the config/example-cache.xml
TBR--->   Startignt ignite node.
Jun 18, 2017 1:10:41 PM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from URL
[file:/home/xyz/rahul/ignite/apache-ignite-fabric-2.0.0-bin/platforms/cpp/examples/putget-example/config/example-cache.xml]
Jun 18, 2017 1:10:41 PM
org.springframework.context.support.AbstractApplicationContext
prepareRefresh
INFO: Refreshing
org.springframework.context.support.GenericApplicationContext@18e8568:
startup date [Sun Jun 18 13:10:41 IST 2017]; root of context hierarchy
[13:10:41]    __________  ________________
[13:10:41]   /  _/ ___/ |/ /  _/_  __/ __/
[13:10:41]  _/ // (7 7    // /  / / / _/
[13:10:41] /___/\___/_/|_/___/ /_/ /___/
[13:10:41]
[13:10:41] ver. 2.0.0#20170430-sha1:d4eef3c6
[13:10:41] 2017 Copyright(C) Apache Software Foundation
[13:10:41]
[13:10:41] Ignite documentation: http://ignite.apache.org
[13:10:41]
[13:10:41] Quiet mode.
[13:10:41]   ^-- Logging to file
'/home/xyz/rahul/ignite/apache-ignite-fabric-2.0.0-bin/work/log/ignite-16234208.0.log'
[13:10:41]   ^-- To see **FULL** console log here add -DIGNITE_QUIET=false
or "-v" to ignite.{sh|bat}
[13:10:41]
[13:10:41] OS: Linux 3.10.0-327.el7.x86_64 amd64
[13:10:41] VM information: Java(TM) SE Runtime Environment 1.8.0_131-b11
Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.131-b11
[13:10:41] Configured plugins:
[13:10:41]   ^-- None
[13:10:41]
[13:10:41] 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:10:41] Security status [authentication=off, tls/ssl=off]
[13:10:42,259][SEVERE][main][IgniteKernal] Failed to start manager:
GridManagerAdapter [enabled=true,
name=o.a.i.i.managers.discovery.GridDiscoveryManager]
class org.apache.ignite.IgniteCheckedException: Failed to start SPI:
TcpDiscoverySpi [addrRslvr=null, sockTimeout=5000, ackTimeout=5000,
marsh=JdkMarshaller [], reconCnt=10, maxAckTimeout=600000,
forceSrvMode=false, clientReconnectDisabled=false]
        at
org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:300)
        at
org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.start(GridDiscoveryManager.java:699)
        at
org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1745)
        at
org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:968)
        at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1895)
        at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1647)
        at
org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1075)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:573)
        at
org.apache.ignite.internal.processors.platform.PlatformAbstractBootstrap.start(PlatformAbstractBootstrap.java:48)
        at
org.apache.ignite.internal.processors.platform.PlatformIgnition.start(PlatformIgnition.java:76)
Caused by: class org.apache.ignite.spi.IgniteSpiException: Non-shared IP
finder must have IP addresses specified in
TcpDiscoveryIpFinder.getRegisteredAddresses() configuration property
(specify list of IP addresses in configuration).
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl.spiStart(ServerImpl.java:343)
        at
org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.spiStart(TcpDiscoverySpi.java:1831)
        at
org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:297)
        ... 9 more
[13:10:42,261][SEVERE][main][IgniteKernal] Got exception while starting
(will rollback startup routine).
class org.apache.ignite.IgniteCheckedException: Failed to start manager:
GridManagerAdapter [enabled=true,
name=org.apache.ignite.internal.managers.discovery.GridDiscoveryManager]
        at
org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1750)
        at
org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:968)
        at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1895)
        at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1647)
        at
org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1075)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:573)
        at
org.apache.ignite.internal.processors.platform.PlatformAbstractBootstrap.start(PlatformAbstractBootstrap.java:48)
        at
org.apache.ignite.internal.processors.platform.PlatformIgnition.start(PlatformIgnition.java:76)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to start
SPI: TcpDiscoverySpi [addrRslvr=null, sockTimeout=5000, ackTimeout=5000,
marsh=JdkMarshaller [], reconCnt=10, maxAckTimeout=600000,
forceSrvMode=false, clientReconnectDisabled=false]
        at
org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:300)
        at
org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.start(GridDiscoveryManager.java:699)
        at
org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1745)
        ... 7 more
Caused by: class org.apache.ignite.spi.IgniteSpiException: Non-shared IP
finder must have IP addresses specified in
TcpDiscoveryIpFinder.getRegisteredAddresses() configuration property
(specify list of IP addresses in configuration).
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl.spiStart(ServerImpl.java:343)
        at
org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.spiStart(TcpDiscoverySpi.java:1831)
        at
org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:297)
        ... 9 more
[13:10:47,279][SEVERE][main][IgniteKernal] Failed to stop component
(ignoring): GridManagerAdapter [enabled=true,
name=o.a.i.i.managers.discovery.GridDiscoveryManager]
java.lang.NullPointerException
        at
org.apache.ignite.spi.IgniteSpiAdapter.unregisterMBean(IgniteSpiAdapter.java:431)
        at
org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.spiStop(TcpDiscoverySpi.java:1959)
        at
org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.stop(GridDiscoveryManager.java:1383)
        at
org.apache.ignite.internal.IgniteKernal.stop0(IgniteKernal.java:2180)
        at
org.apache.ignite.internal.IgniteKernal.stop(IgniteKernal.java:2047)
        at
org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1052)
        at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1895)
        at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1647)
        at
org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1075)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:573)
        at
org.apache.ignite.internal.processors.platform.PlatformAbstractBootstrap.start(PlatformAbstractBootstrap.java:48)
        at
org.apache.ignite.internal.processors.platform.PlatformIgnition.start(PlatformIgnition.java:76)
[13:10:47] Ignite node stopped wih ERRORS [uptime=00:00:06:358]
>>> An error occurred: Failed to start manager: GridManagerAdapter
>>> [enabled=true,
>>> name=org.apache.ignite.internal.managers.discovery.GridDiscoveryManager]

>>> Example finished, press 'Enter' to exit ...

[xyz@V235-Dev putget-example]$




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Facing-problem-in-examples-tp13894.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message