ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Setrakyan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-885) NPE in GridMapQueryExecutor under load on changing topology
Date Sat, 09 May 2015 15:51:03 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmitriy Setrakyan updated IGNITE-885:
-------------------------------------
    Description: 
The error is reproduced with "streaming.wordcount" example.

# Start instance of {{ExampleNodeStartup}}
# Start {{StreamWords}} instance
# Start {{QueryWords}} instance
# Watch query results coming
# Start another {{ExampleNodeStartup}} instance.

On the new {{ExampleNodeStartup}} I get the following error:
{code}
[08:31:31]   /  _/ ___/ |/ /  _/_  __/ __/ 
[08:31:31]  _/ // (7 7    // /  / / / _/   
[08:31:31] /___/\___/_/|_/___/ /_/ /___/  
[08:31:31]  
[08:31:31] ver. 1.0.4#20150507-sha1:0c13a08b
[08:31:31] 2015 Copyright(C) Apache Software Foundation
[08:31:31] 
[08:31:31] Quiet mode.
[08:31:31]   ^-- Logging to file '/Users/Dmitriy/GridGain/gitroot/incubator-ignite/work/log/ignite-0b843b9b.log'
[08:31:31]   ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat}
[08:31:31] 
[08:31:31] Configured plugins:
[08:31:31]   ^-- None
[08:31:31] 
[08:31:33,018][ERROR][ignite-#8%pub-null%][GridMapQueryExecutor] Failed to process message:
GridQueryRequest [reqId=57, pageSize=1024, space=words, qrys=[GridCacheSqlQuery [alias=__Z0(),
qry=SELECT
    _VAL __C0,
    COUNT(_VAL) __C1
FROM "words".STRING
GROUP BY __C0
ORDER BY 2 DESC LIMIT 10, params=[]]]]
java.lang.NullPointerException
	at org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor.onQueryRequest(GridMapQueryExecutor.java:225)
	at org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor.onMessage(GridMapQueryExecutor.java:150)
	at org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor$2.onMessage(GridMapQueryExecutor.java:125)
	at org.apache.ignite.internal.managers.communication.GridIoManager$ArrayListener.onMessage(GridIoManager.java:1603)
	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:690)
	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:58)
	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:653)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[08:31:34] Performance suggestions for grid  (fix if possible)
[08:31:34] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
[08:31:34]   ^-- Disable peer class loading (set 'peerClassLoadingEnabled' to false)
[08:31:34]   ^-- Disable grid events (remove 'includeEventTypes' from configuration)
[08:31:34] 
[08:31:34] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat}
[08:31:34] 
[08:31:34] Ignite node started OK (id=0b843b9b)
[08:31:34] Topology snapshot [ver=7, nodes=3, CPUs=4, heap=9.6GB]
...
{code}

  was:
The error is reproduced with "streaming.wordcount" example.

# Start instance of {{ExampleNodeStartup}}
# Start {{StreamWords}} instance
# Start {{QueryWords}} instance
# Watch query results coming
# Start another {{ExampleNodeStartup}} instance.

On the new {{ExampleNodeStartup}} I get the following error:
{code}
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java -ms3g -mx3g -Didea.launcher.port=7552
"-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 14.app/Contents/bin" -Dfile.encoding=UTF-8
-classpath "/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Users/Dmitriy/GridGain/release/community/1.0.4/gridgain-community-fabric-1.0.4/examples/target/classes:/Users/Dmitriy/.m2/repository/javax/cache/cache-api/1.0.0/cache-api-1.0.0.jar:/Users/Dmitriy/.m2/repository/org/apache/ignite/ignite-core/1.0.4/ignite-core-1.0.4.jar:/Users/Dmitriy/.m2/repository/org/apache/ignite/ignite-hibernate/1.0.4/ignite-hibernate-1.0.4.jar:/Users/Dmitriy/.m2/repository/org/hibernate/hibernate-core/4.2.6.Final/hibernate-core-4.2.6.Final.jar:/Users/Dmitriy/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/Users/Dmitriy/.m2/repository/org/jboss/logging/jboss-logging/3.1.0.GA/jboss-logging-3.1.0.GA.jar:/Users/Dmitriy/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/Dmitriy/.m2/repository/org/jboss/spec/javax/transaction/jboss-transaction-api_1.1_spec/1.0.1.Final/jboss-transaction-api_1.1_spec-1.0.1.Final.jar:/Users/Dmitriy/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.jar:/Users/Dmitriy/.m2/repository/org/hibernate/common/hibernate-commons-annotations/4.0.2.Final/hibernate-commons-annotations-4.0.2.Final.jar:/Users/Dmitriy/.m2/repository/org/javassist/javassist/3.15.0-GA/javassist-3.15.0-GA.jar:/Users/Dmitriy/.m2/repository/org/apache/ignite/ignite-spring/1.0.4/ignite-spring-1.0.4.jar:/Users/Dmitriy/.m2/repository/org/springframework/spring-core/4.1.0.RELEASE/spring-core-4.1.0.RELEASE.jar:/Users/Dmitriy/.m2/repository/org/springframework/spring-aop/4.1.0.RELEASE/spring-aop-4.1.0.RELEASE.jar:/Users/Dmitriy/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/Dmitriy/.m2/repository/org/springframework/spring-beans/4.1.0.RELEASE/spring-beans-4.1.0.RELEASE.jar:/Users/Dmitriy/.m2/repository/org/springframework/spring-context/4.1.0.RELEASE/spring-context-4.1.0.RELEASE.jar:/Users/Dmitriy/.m2/repository/org/springframework/spring-expression/4.1.0.RELEASE/spring-expression-4.1.0.RELEASE.jar:/Users/Dmitriy/.m2/repository/org/springframework/spring-tx/4.1.0.RELEASE/spring-tx-4.1.0.RELEASE.jar:/Users/Dmitriy/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/Users/Dmitriy/.m2/repository/org/apache/ignite/ignite-log4j/1.0.4/ignite-log4j-1.0.4.jar:/Users/Dmitriy/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/Users/Dmitriy/.m2/repository/org/apache/ignite/ignite-indexing/1.0.4/ignite-indexing-1.0.4.jar:/Users/Dmitriy/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar:/Users/Dmitriy/.m2/repository/org/apache/lucene/lucene-core/3.5.0/lucene-core-3.5.0.jar:/Users/Dmitriy/.m2/repository/com/h2database/h2/1.3.175/h2-1.3.175.jar:/Users/Dmitriy/.m2/repository/org/apache/ignite/ignite-schedule/1.0.4/ignite-schedule-1.0.4.jar:/Users/Dmitriy/.m2/repository/it/sauronsoftware/cron4j/cron4j/2.2.5/cron4j-2.2.5.jar:/Users/Dmitriy/.m2/repository/com/google/code/simple-spring-memcached/spymemcached/2.7.3/spymemcached-2.7.3.jar:/Users/Dmitriy/.m2/repository/org/jboss/netty/netty/3.2.0.Final/netty-3.2.0.Final.jar:/Users/Dmitriy/.m2/repository/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar:/Users/Dmitriy/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar:/Applications/IntelliJ
IDEA 14.app/Contents/lib/idea_rt.jar" com.intellij.rt.execution.application.AppMain org.apache.ignite.examples.ExampleNodeStartup
[08:31:31]    __________  ________________ 
[08:31:31]   /  _/ ___/ |/ /  _/_  __/ __/ 
[08:31:31]  _/ // (7 7    // /  / / / _/   
[08:31:31] /___/\___/_/|_/___/ /_/ /___/  
[08:31:31]  
[08:31:31] ver. 1.0.4#20150507-sha1:0c13a08b
[08:31:31] 2015 Copyright(C) Apache Software Foundation
[08:31:31] 
[08:31:31] Quiet mode.
[08:31:31]   ^-- Logging to file '/Users/Dmitriy/GridGain/gitroot/incubator-ignite/work/log/ignite-0b843b9b.log'
[08:31:31]   ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat}
[08:31:31] 
[08:31:31] Configured plugins:
[08:31:31]   ^-- None
[08:31:31] 
[08:31:33,018][ERROR][ignite-#8%pub-null%][GridMapQueryExecutor] Failed to process message:
GridQueryRequest [reqId=57, pageSize=1024, space=words, qrys=[GridCacheSqlQuery [alias=__Z0(),
qry=SELECT
    _VAL __C0,
    COUNT(_VAL) __C1
FROM "words".STRING
GROUP BY __C0
ORDER BY 2 DESC LIMIT 10, params=[]]]]
java.lang.NullPointerException
	at org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor.onQueryRequest(GridMapQueryExecutor.java:225)
	at org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor.onMessage(GridMapQueryExecutor.java:150)
	at org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor$2.onMessage(GridMapQueryExecutor.java:125)
	at org.apache.ignite.internal.managers.communication.GridIoManager$ArrayListener.onMessage(GridIoManager.java:1603)
	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:690)
	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:58)
	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:653)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[08:31:34] Performance suggestions for grid  (fix if possible)
[08:31:34] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
[08:31:34]   ^-- Disable peer class loading (set 'peerClassLoadingEnabled' to false)
[08:31:34]   ^-- Disable grid events (remove 'includeEventTypes' from configuration)
[08:31:34] 
[08:31:34] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat}
[08:31:34] 
[08:31:34] Ignite node started OK (id=0b843b9b)
[08:31:34] Topology snapshot [ver=7, nodes=3, CPUs=4, heap=9.6GB]
...
{code}


> NPE in GridMapQueryExecutor under load on changing topology
> -----------------------------------------------------------
>
>                 Key: IGNITE-885
>                 URL: https://issues.apache.org/jira/browse/IGNITE-885
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: Dmitriy Setrakyan
>            Assignee: Sergi Vladykin
>            Priority: Blocker
>             Fix For: sprint-4
>
>
> The error is reproduced with "streaming.wordcount" example.
> # Start instance of {{ExampleNodeStartup}}
> # Start {{StreamWords}} instance
> # Start {{QueryWords}} instance
> # Watch query results coming
> # Start another {{ExampleNodeStartup}} instance.
> On the new {{ExampleNodeStartup}} I get the following error:
> {code}
> [08:31:31]   /  _/ ___/ |/ /  _/_  __/ __/ 
> [08:31:31]  _/ // (7 7    // /  / / / _/   
> [08:31:31] /___/\___/_/|_/___/ /_/ /___/  
> [08:31:31]  
> [08:31:31] ver. 1.0.4#20150507-sha1:0c13a08b
> [08:31:31] 2015 Copyright(C) Apache Software Foundation
> [08:31:31] 
> [08:31:31] Quiet mode.
> [08:31:31]   ^-- Logging to file '/Users/Dmitriy/GridGain/gitroot/incubator-ignite/work/log/ignite-0b843b9b.log'
> [08:31:31]   ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to
ignite.{sh|bat}
> [08:31:31] 
> [08:31:31] Configured plugins:
> [08:31:31]   ^-- None
> [08:31:31] 
> [08:31:33,018][ERROR][ignite-#8%pub-null%][GridMapQueryExecutor] Failed to process message:
GridQueryRequest [reqId=57, pageSize=1024, space=words, qrys=[GridCacheSqlQuery [alias=__Z0(),
qry=SELECT
>     _VAL __C0,
>     COUNT(_VAL) __C1
> FROM "words".STRING
> GROUP BY __C0
> ORDER BY 2 DESC LIMIT 10, params=[]]]]
> java.lang.NullPointerException
> 	at org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor.onQueryRequest(GridMapQueryExecutor.java:225)
> 	at org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor.onMessage(GridMapQueryExecutor.java:150)
> 	at org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor$2.onMessage(GridMapQueryExecutor.java:125)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager$ArrayListener.onMessage(GridIoManager.java:1603)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:690)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:58)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:653)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> [08:31:34] Performance suggestions for grid  (fix if possible)
> [08:31:34] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
> [08:31:34]   ^-- Disable peer class loading (set 'peerClassLoadingEnabled' to false)
> [08:31:34]   ^-- Disable grid events (remove 'includeEventTypes' from configuration)
> [08:31:34] 
> [08:31:34] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat}
> [08:31:34] 
> [08:31:34] Ignite node started OK (id=0b843b9b)
> [08:31:34] Topology snapshot [ver=7, nodes=3, CPUs=4, heap=9.6GB]
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message