ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wt <waynethe...@gmail.com>
Subject Failed to activate node components
Date Mon, 03 Sep 2018 10:31:25 GMT
I am getting the following error when starting a single node cluster
(intellij) and then the instance crashes. I did have some persistence issues
so cleaned up the work dir after which this started happening

ignite-5885b9e6.log
<http://apache-ignite-developers.2346864.n4.nabble.com/file/t604/ignite-5885b9e6.log>
 

console output:

"C:\Program Files\Java\jdk1.8.0_151\bin\java" "-javaagent:C:\Program
Files\JetBrains\IntelliJ IDEA Community Edition
2017.3\lib\idea_rt.jar=51505:C:\Program Files\JetBrains\IntelliJ IDEA
Community Edition 2017.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program
Files\Java\jdk1.8.0_151\jre\lib\charsets.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\deploy.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\ext\access-bridge-64.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\ext\cldrdata.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\ext\dnsns.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\ext\jaccess.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\ext\jfxrt.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\ext\localedata.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\ext\nashorn.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\ext\sunec.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\ext\sunjce_provider.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\ext\sunmscapi.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\ext\sunpkcs11.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\ext\zipfs.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\javaws.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\jce.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\jfr.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\jfxswt.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\jsse.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\management-agent.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\plugin.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\resources.jar;C:\Program
Files\Java\jdk1.8.0_151\jre\lib\rt.jar;C:\Program
Files\Java\jdk1.8.0_151\lib\tools.jar;C:\Users\ww309\Downloads\POC5-project\target\classes;C:\Users\ww309\.m2\repository\org\apache\ignite\ignite-core\2.6.0\ignite-core-2.6.0.jar;C:\Users\ww309\.m2\repository\javax\cache\cache-api\1.0.0\cache-api-1.0.0.jar;C:\Users\ww309\.m2\repository\org\jetbrains\annotations\13.0\annotations-13.0.jar;C:\Users\ww309\.m2\repository\org\gridgain\ignite-shmem\1.0.0\ignite-shmem-1.0.0.jar;C:\Users\ww309\.m2\repository\org\apache\ignite\ignite-spring\2.6.0\ignite-spring-2.6.0.jar;C:\Users\ww309\.m2\repository\org\springframework\spring-core\4.3.16.RELEASE\spring-core-4.3.16.RELEASE.jar;C:\Users\ww309\.m2\repository\org\springframework\spring-aop\4.3.16.RELEASE\spring-aop-4.3.16.RELEASE.jar;C:\Users\ww309\.m2\repository\org\springframework\spring-beans\4.3.16.RELEASE\spring-beans-4.3.16.RELEASE.jar;C:\Users\ww309\.m2\repository\org\springframework\spring-context\4.3.16.RELEASE\spring-context-4.3.16.RELEASE.jar;C:\Users\ww309\.m2\repository\org\springframework\spring-expression\4.3.16.RELEASE\spring-expression-4.3.16.RELEASE.jar;C:\Users\ww309\.m2\repository\org\springframework\spring-tx\4.3.16.RELEASE\spring-tx-4.3.16.RELEASE.jar;C:\Users\ww309\.m2\repository\org\springframework\spring-jdbc\4.3.16.RELEASE\spring-jdbc-4.3.16.RELEASE.jar;C:\Users\ww309\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\Users\ww309\.m2\repository\org\apache\ignite\ignite-indexing\2.6.0\ignite-indexing-2.6.0.jar;C:\Users\ww309\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;C:\Users\ww309\.m2\repository\org\apache\lucene\lucene-core\5.5.2\lucene-core-5.5.2.jar;C:\Users\ww309\.m2\repository\org\apache\lucene\lucene-analyzers-common\5.5.2\lucene-analyzers-common-5.5.2.jar;C:\Users\ww309\.m2\repository\org\apache\lucene\lucene-queryparser\5.5.2\lucene-queryparser-5.5.2.jar;C:\Users\ww309\.m2\repository\org\apache\lucene\lucene-queries\5.5.2\lucene-queries-5.5.2.jar;C:\Users\ww309\.m2\repository\org\apache\lucene\lucene-sandbox\5.5.2\lucene-sandbox-5.5.2.jar;C:\Users\ww309\.m2\repository\com\h2database\h2\1.4.195\h2-1.4.195.jar;C:\Users\ww309\.m2\repository\org\apache\ignite\ignite-rest-http\2.6.0\ignite-rest-http-2.6.0.jar;C:\Users\ww309\.m2\repository\org\apache\tomcat\tomcat-servlet-api\8.0.23\tomcat-servlet-api-8.0.23.jar;C:\Users\ww309\.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\Users\ww309\.m2\repository\org\eclipse\jetty\jetty-continuation\9.2.11.v20150529\jetty-continuation-9.2.11.v20150529.jar;C:\Users\ww309\.m2\repository\org\eclipse\jetty\jetty-http\9.2.11.v20150529\jetty-http-9.2.11.v20150529.jar;C:\Users\ww309\.m2\repository\org\eclipse\jetty\jetty-io\9.2.11.v20150529\jetty-io-9.2.11.v20150529.jar;C:\Users\ww309\.m2\repository\org\eclipse\jetty\jetty-server\9.2.11.v20150529\jetty-server-9.2.11.v20150529.jar;C:\Users\ww309\.m2\repository\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar;C:\Users\ww309\.m2\repository\org\eclipse\jetty\jetty-util\9.2.11.v20150529\jetty-util-9.2.11.v20150529.jar;C:\Users\ww309\.m2\repository\org\eclipse\jetty\jetty-xml\9.2.11.v20150529\jetty-xml-9.2.11.v20150529.jar;C:\Users\ww309\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.6.5\jackson-core-2.6.5.jar;C:\Users\ww309\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.6.5\jackson-annotations-2.6.5.jar;C:\Users\ww309\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.6.5\jackson-databind-2.6.5.jar;C:\Users\ww309\.m2\repository\org\slf4j\slf4j-api\1.7.7\slf4j-api-1.7.7.jar;C:\Users\ww309\.m2\repository\org\slf4j\slf4j-log4j12\1.7.7\slf4j-log4j12-1.7.7.jar;C:\Users\ww309\.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;C:\Users\ww309\.m2\repository\org\apache\ignite\ignite-log4j\2.6.0\ignite-log4j-2.6.0.jar;C:\Users\ww309\Downloads\POC5-project\jdbc-drivers\sqljdbc42.jar"
startup.ServerNodeSpringStartup
log4j:WARN No appenders could be found for logger
(org.springframework.core.env.StandardEnvironment).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.
[11:26:37]    __________  ________________ 
[11:26:37]   /  _/ ___/ |/ /  _/_  __/ __/ 
[11:26:37]  _/ // (7 7    // /  / / / _/   
[11:26:37] /___/\___/_/|_/___/ /_/ /___/  
[11:26:37] 
[11:26:37] ver. 2.6.0#20180710-sha1:669feacc
[11:26:37] 2018 Copyright(C) Apache Software Foundation
[11:26:37] 
[11:26:37] Ignite documentation: http://ignite.apache.org
[11:26:37] 
[11:26:37] Quiet mode.
[11:26:37]   ^-- Logging to file 'c:\ignite\\work\log\ignite-5885b9e6.log'
[11:26:37]   ^-- Logging by 'Log4JLogger [quiet=true,
config=C:\Users\ww309\Downloads\POC5-project\src\main\resources\ignite-log4j.xml]'
[11:26:37]   ^-- To see **FULL** console log here add -DIGNITE_QUIET=false
or "-v" to ignite.{sh|bat}
[11:26:37] 
[11:26:37] OS: Windows 7 6.1 amd64
[11:26:37] VM information: Java(TM) SE Runtime Environment 1.8.0_151-b12
Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.151-b12
[11:26:37] Initial heap size is 128MB (should be no less than 512MB, use
-Xms512m -Xmx512m).
[11:26:37] Configured plugins:
[11:26:37]   ^-- WhiteListSecurity 1.0.0
[11:26:37]   ^-- null
[11:26:37] 
[11:26:37] Configured failure handler: [hnd=StopNodeOrHaltFailureHandler
[tryStop=false, timeout=0]]
[11:26:38] 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.
[11:26:38] Security status [authentication=off, tls/ssl=off]
[11:26:51] Performance suggestions for grid 'POC5' (fix if possible)
[11:26:51] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
[11:26:51]   ^-- Enable G1 Garbage Collector (add '-XX:+UseG1GC' to JVM
options)
[11:26:51]   ^-- Specify JVM heap max size (add '-Xmx<size>[g|G|m|M|k|K]' to
JVM options)
[11:26:51]   ^-- Set max direct memory size if getting 'OOME: Direct buffer
memory' (add '-XX:MaxDirectMemorySize=<size>[g|G|m|M|k|K]' to JVM options)
[11:26:51]   ^-- Disable processing of calls to System.gc() (add
'-XX:+DisableExplicitGC' to JVM options)
[11:26:51] Refer to this page for more performance suggestions:
https://apacheignite.readme.io/docs/jvm-and-system-tuning
[11:26:51] 
[11:26:51] To start Console Management & Monitoring run
ignitevisorcmd.{sh|bat}
[11:26:51] 
[11:26:51] Ignite node started OK (id=5885b9e6, instance name=POC5)
[11:26:51] Topology snapshot [ver=1, servers=1, clients=0, CPUs=2,
offheap=0.49GB, heap=1.8GB]
[11:26:51]   ^-- Node [id=5885B9E6-9708-439E-A7E4-C6E8BAA8C051,
clusterState=INACTIVE]
[11:26:51]   ^-- Baseline [id=0, size=1, online=1, offline=0]
[11:26:51]   ^-- All baseline nodes are online, will start auto-activation
[11:26:51] Data Regions Configured:
[11:26:51]   ^-- default [initSize=256.0 MiB, maxSize=500.0 MiB,
persistenceEnabled=true]
[2018-09-03
11:26:52,694][ERROR][exchange-worker-#39%POC5%][GridDhtPartitionsExchangeFuture]
Failed to activate node components
[nodeId=5885b9e6-9708-439e-a7e4-c6e8baa8c051, client=false,
topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1]]
class org.apache.ignite.IgniteException: Spring application context resource
is not injected.
	at
org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStoreFactory.create(CacheJdbcPojoStoreFactory.java:171)
	at
org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStoreFactory.create(CacheJdbcPojoStoreFactory.java:100)
	at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.createCache(GridCacheProcessor.java:1437)
	at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1945)
	at
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:791)
	at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onClusterStateChangeRequest(GridDhtPartitionsExchangeFuture.java:897)
	at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:641)
	at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2419)
	at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2299)
	at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
	at java.lang.Thread.run(Thread.java:748)
[11:26:52] Cancelled rebalancing from all nodes [topology=null]
[11:26:52] Cancelled rebalancing from all nodes [topology=null]
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000000328bd49,
pid=22936, tid=0x0000000000002d64
#
# JRE version: Java(TM) SE Runtime Environment (8.0_151-b12) (build
1.8.0_151-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.151-b12 mixed mode
windows-amd64 compressed oops)
# Problematic frame:
# J 2628 C1
org.apache.ignite.internal.processors.cache.persistence.pagemem.RobinHoodBackwardShiftHashMap.get(IJIJJ)J
(193 bytes) @ 0x000000000328bd49 [0x000000000328b7c0+0x589]
#
# Failed to write core dump. Minidumps are not enabled by default on client
versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\ww309\Downloads\POC5-project\hs_err_pid22936.log
[2018-09-03
11:26:53,022][ERROR][exchange-worker-#39%POC5%][GridCachePartitionExchangeManager]
Failed to wait for completion of partition map exchange (preloading will not
start): GridDhtPartitionsExchangeFuture [firstDiscoEvt=DiscoveryCustomEvent
[customMsg=null, affTopVer=AffinityTopologyVersion [topVer=1,
minorTopVer=1], super=DiscoveryEvent [evtNode=TcpDiscoveryNode
[id=5885b9e6-9708-439e-a7e4-c6e8baa8c051, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1,
172.19.112.175], sockAddrs=[/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500,
PC50439.oa.pnrad.net/172.19.112.175:47500], discPort=47500, order=1,
intOrder=1, lastExchangeTime=1535970399885, loc=true,
ver=2.6.0#20180710-sha1:669feacc, isClient=false], topVer=1,
nodeId8=5885b9e6, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1535970411899]], crd=TcpDiscoveryNode
[id=5885b9e6-9708-439e-a7e4-c6e8baa8c051, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1,
172.19.112.175], sockAddrs=[/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500,
PC50439.oa.pnrad.net/172.19.112.175:47500], discPort=47500, order=1,
intOrder=1, lastExchangeTime=1535970399885, loc=true,
ver=2.6.0#20180710-sha1:669feacc, isClient=false],
exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=1,
minorTopVer=1], discoEvt=DiscoveryCustomEvent [customMsg=null,
affTopVer=AffinityTopologyVersion [topVer=1, minorTopVer=1],
super=DiscoveryEvent [evtNode=TcpDiscoveryNode
[id=5885b9e6-9708-439e-a7e4-c6e8baa8c051, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1,
172.19.112.175], sockAddrs=[/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500,
PC50439.oa.pnrad.net/172.19.112.175:47500], discPort=47500, order=1,
intOrder=1, lastExchangeTime=1535970399885, loc=true,
ver=2.6.0#20180710-sha1:669feacc, isClient=false], topVer=1,
nodeId8=5885b9e6, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1535970411899]], nodeId=5885b9e6, evt=DISCOVERY_CUSTOM_EVT],
added=true, initFut=GridFutureAdapter [ignoreInterrupts=false, state=DONE,
res=false, hash=1051568382], init=false, lastVer=GridCacheVersion [topVer=0,
order=1535970398574, nodeOrder=0], partReleaseFut=PartitionReleaseFuture
[topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1],
futures=[ExplicitLockReleaseFuture [topVer=AffinityTopologyVersion
[topVer=1, minorTopVer=1], futures=[]], AtomicUpdateReleaseFuture
[topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[]],
DataStreamerReleaseFuture [topVer=AffinityTopologyVersion [topVer=1,
minorTopVer=1], futures=[]], LocalTxReleaseFuture
[topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[]],
AllTxReleaseFuture [topVer=AffinityTopologyVersion [topVer=1,
minorTopVer=1], futures=[RemoteTxReleaseFuture
[topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[]]]]]],
exchActions=null, affChangeMsg=null, initTs=1535970411930,
centralizedAff=false, forceAffReassignment=true, changeGlobalStateE=class
o.a.i.IgniteException: Spring application context resource is not injected.,
done=true, state=DONE, evtLatch=0, remaining=[], super=GridFutureAdapter
[ignoreInterrupts=false, state=DONE, res=class o.a.i.IgniteCheckedException:
Cluster state change failed., hash=1838123947]]
class org.apache.ignite.IgniteCheckedException: Cluster state change failed.
	at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.finishExchangeOnCoordinator(GridDhtPartitionsExchangeFuture.java:2697)
	at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onAllReceived(GridDhtPartitionsExchangeFuture.java:2467)
	at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:1149)
	at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:712)
	at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2419)
	at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2299)
	at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
	at java.lang.Thread.run(Thread.java:748)
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

Process finished with exit code 1




--
Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

Mime
View raw message