[jira] [Commented] (IGNITE-5538) NPE (PersistentStoreExample)

2017-07-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-5538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16081958#comment-16081958
 ] 

ASF GitHub Bot commented on IGNITE-5538:


Github user asfgit closed the pull request at:

https://github.com/apache/ignite/pull/2273


> NPE (PersistentStoreExample)
> 
>
> Key: IGNITE-5538
> URL: https://issues.apache.org/jira/browse/IGNITE-5538
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Affects Versions: 2.1
>Reporter: Ilya Suntsov
>Assignee: Alexey Goncharuk
> Fix For: 2.1
>
> Attachments: PersistentStoreExampleNode.txt, 
> PersistentStoreExample.txt
>
>
> Steps to reproduce:
> 1. Start *PersistentStoreExampleNodeStartup*
> 2. Start *PersistentStoreExample* (UPLOAD=true)
> Result:
> 1. Topology snapshot [ver=2, servers=1, clients=1, CPUs=8, heap=7.1GB]
> 2. Started preloading
> 3. On ExampleNode got exception:
> {noformat}
> [2017-06-19 13:11:28,545][WARN 
> ][grid-nio-worker-tcp-comm-3-#20%null%][TcpCommunicationSpi] Failed to 
> process selector key (will close): GridSelectorNioSessionImpl 
> [worker=DirectNioClientWorker [super=AbstractNioClientWorker [idx=3, 
> bytesRcvd=2052, bytesSent=252, bytesRcvd0=228, bytesSent0=28, select=true, 
> super=GridWorker [name=grid-nio-worker-tcp-comm-3, igniteInstanceName=null, 
> finished=false, hashCode=1279096191, interrupted=false, 
> runner=grid-nio-worker-tcp-comm-3-#20%null%]]], 
> writeBuf=java.nio.DirectByteBuffer[pos=0 lim=32768 cap=32768], 
> readBuf=java.nio.DirectByteBuffer[pos=4 lim=186 cap=32768], 
> inRecovery=GridNioRecoveryDescriptor [acked=103, resendCnt=0, rcvCnt=104, 
> sentCnt=103, reserved=true, lastAck=96, nodeLeft=false, node=TcpDiscoveryNode 
> [id=be66eae2-3986-4772-b02b-bf2813370a15, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 
> 172.25.4.115, 172.25.4.116, 2001:db8:85a3:0:0:8a2e:370:7334], 
> sockAddrs=[/0:0:0:0:0:0:0:1:0, /127.0.0.1:0, /172.25.4.115:0, 
> /172.25.4.116:0, /2001:db8:85a3:0:0:8a2e:370:7334:0], discPort=0, order=2, 
> intOrder=2, lastExchangeTime=1497867042970, loc=false, 
> ver=2.1.1#20170618-sha1:09ce29e0, isClient=true], connected=true, 
> connectCnt=1, queueLimit=4096, reserveCnt=35, pairedConnections=false], 
> outRecovery=GridNioRecoveryDescriptor [acked=103, resendCnt=0, rcvCnt=104, 
> sentCnt=103, reserved=true, lastAck=96, nodeLeft=false, node=TcpDiscoveryNode 
> [id=be66eae2-3986-4772-b02b-bf2813370a15, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 
> 172.25.4.115, 172.25.4.116, 2001:db8:85a3:0:0:8a2e:370:7334], 
> sockAddrs=[/0:0:0:0:0:0:0:1:0, /127.0.0.1:0, /172.25.4.115:0, 
> /172.25.4.116:0, /2001:db8:85a3:0:0:8a2e:370:7334:0], discPort=0, order=2, 
> intOrder=2, lastExchangeTime=1497867042970, loc=false, 
> ver=2.1.1#20170618-sha1:09ce29e0, isClient=true], connected=true, 
> connectCnt=1, queueLimit=4096, reserveCnt=35, pairedConnections=false], 
> super=GridNioSessionImpl [locAddr=/0:0:0:0:0:0:0:1:47100, 
> rmtAddr=/0:0:0:0:0:0:0:1:60813, createTime=1497867087529, closeTime=0, 
> bytesSent=28, bytesRcvd=228, bytesSent0=28, bytesRcvd0=228, 
> sndSchedTime=1497867087529, lastSndTime=1497867087529, 
> lastRcvTime=1497867087541, readsPaused=false, 
> filterChain=FilterChain[filters=[GridNioCodecFilter 
> [parser=o.a.i.i.util.nio.GridDirectParser@7a94a8f6, directMode=true], 
> GridConnectionBytesVerifyFilter], accepted=true]]
> [2017-06-19 
> 13:11:28,545][ERROR][grid-nio-worker-tcp-comm-3-#20%null%][TcpCommunicationSpi]
>  Closing NIO session because of unhandled exception.
> class org.apache.ignite.internal.util.nio.GridNioException: null
>   at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeysOptimized(GridNioServer.java:2199)
>   at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:1968)
>   at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1669)
>   at 
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
>   at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.ignite.internal.managers.communication.GridIoMessageFactory.create(GridIoMessageFactory.java:879)
>   at 
> org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi$9.create(TcpCommunicationSpi.java:2134)
>   at 
> org.apache.ignite.internal.direct.stream.v2.DirectByteBufferStreamImplV2.readMessage(DirectByteBufferStreamImplV2.java:1154)
>   at 
> org.apache.ignite.internal.direct.DirectMessageReader.readMessage(DirectMessageReader.java:311)
>   at 
> org.apache.ignite.internal.managers.communication.GridIoMessage.readFrom(GridIoMessage.java:261)
>   at 
> org.apache.ignite.internal.util.nio.GridDirectParser.decode(GridDirectParser.java:90)

[jira] [Commented] (IGNITE-5538) NPE (PersistentStoreExample)

2017-07-10 Thread Ilya Suntsov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-5538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16080467#comment-16080467
 ] 

Ilya Suntsov commented on IGNITE-5538:
--

I've re-checked this issue and got another exception on 
*PersistentStoreExampleNodeStartup*
{noformat}
2017-07-10 
18:03:21,143][ERROR][grid-nio-worker-tcp-comm-2-#19%null%][GridDirectParser] 
Failed to read message [msg=GridIoMessage [plc=0, topic=null, topicOrd=-1, 
ordered=false, timeout=0, skipOnTimeout=false, msg=null], 
buf=java.nio.DirectByteBuffer[pos=4 lim=186 cap=32768], 
reader=DirectMessageReader [state=DirectMessageState [pos=0, stack=[StateItem 
[stream=DirectByteBufferStreamImplV2 [baseOff=140442328149504, arrOff=-1, 
tmpArrOff=0, tmpArrBytes=0, msgTypeDone=false, msg=null, mapIt=null, it=null, 
arrPos=-1, keyDone=false, readSize=-1, readItems=0, prim=0, primShift=0, 
uuidState=0, uuidMost=0, uuidLeast=0, uuidLocId=0, lastFinished=true], 
state=0], null, null, null, null, null, null, null, null, null]], 
lastRead=false], ses=GridSelectorNioSessionImpl [worker=DirectNioClientWorker 
[super=AbstractNioClientWorker [idx=2, bytesRcvd=9078, bytesSent=1092, 
bytesRcvd0=228, bytesSent0=28, select=true, super=GridWorker 
[name=grid-nio-worker-tcp-comm-2, igniteInstanceName=null, finished=false, 
hashCode=1625090318, interrupted=false, 
runner=grid-nio-worker-tcp-comm-2-#19%null%]]], 
writeBuf=java.nio.DirectByteBuffer[pos=0 lim=32768 cap=32768], 
readBuf=java.nio.DirectByteBuffer[pos=4 lim=186 cap=32768], 
inRecovery=GridNioRecoveryDescriptor [acked=102, resendCnt=0, rcvCnt=103, 
sentCnt=102, reserved=true, lastAck=96, nodeLeft=false, node=TcpDiscoveryNode 
[id=c7daa293-fa04-46e2-9bac-00bc74fea454, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 
192.168.1.143, 2001:db8:85a3:0:0:8a2e:370:7334], sockAddrs=[/0:0:0:0:0:0:0:1:0, 
/127.0.0.1:0, /2001:db8:85a3:0:0:8a2e:370:7334:0, mpb/192.168.1.143:0], 
discPort=0, order=2, intOrder=2, lastExchangeTime=1499698832629, loc=false, 
ver=2.1.2#20170707-sha1:17904cb1, isClient=true], connected=true, connectCnt=1, 
queueLimit=4096, reserveCnt=158, pairedConnections=false], 
outRecovery=GridNioRecoveryDescriptor [acked=102, resendCnt=0, rcvCnt=103, 
sentCnt=102, reserved=true, lastAck=96, nodeLeft=false, node=TcpDiscoveryNode 
[id=c7daa293-fa04-46e2-9bac-00bc74fea454, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 
192.168.1.143, 2001:db8:85a3:0:0:8a2e:370:7334], sockAddrs=[/0:0:0:0:0:0:0:1:0, 
/127.0.0.1:0, /2001:db8:85a3:0:0:8a2e:370:7334:0, mpb/192.168.1.143:0], 
discPort=0, order=2, intOrder=2, lastExchangeTime=1499698832629, loc=false, 
ver=2.1.2#20170707-sha1:17904cb1, isClient=true], connected=true, connectCnt=1, 
queueLimit=4096, reserveCnt=158, pairedConnections=false], 
super=GridNioSessionImpl [locAddr=/0:0:0:0:0:0:0:1:47100, 
rmtAddr=/0:0:0:0:0:0:0:1:50726, createTime=1499699001135, closeTime=0, 
bytesSent=28, bytesRcvd=228, bytesSent0=28, bytesRcvd0=228, 
sndSchedTime=1499699001135, lastSndTime=1499699001135, 
lastRcvTime=1499699001135, readsPaused=false, 
filterChain=FilterChain[filters=[GridNioCodecFilter 
[parser=o.a.i.i.util.nio.GridDirectParser@6df9f203, directMode=true], 
GridConnectionBytesVerifyFilter], accepted=true]]]
java.lang.NullPointerException
at 
org.apache.ignite.internal.managers.communication.GridIoMessageFactory.create(GridIoMessageFactory.java:879)
at 
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi$9.create(TcpCommunicationSpi.java:2140)
at 
org.apache.ignite.internal.direct.stream.v2.DirectByteBufferStreamImplV2.readMessage(DirectByteBufferStreamImplV2.java:1154)
at 
org.apache.ignite.internal.direct.DirectMessageReader.readMessage(DirectMessageReader.java:311)
at 
org.apache.ignite.internal.managers.communication.GridIoMessage.readFrom(GridIoMessage.java:261)
at 
org.apache.ignite.internal.util.nio.GridDirectParser.decode(GridDirectParser.java:90)
at 
org.apache.ignite.internal.util.nio.GridNioCodecFilter.onMessageReceived(GridNioCodecFilter.java:114)
at 
org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:109)
at 
org.apache.ignite.internal.util.nio.GridConnectionBytesVerifyFilter.onMessageReceived(GridConnectionBytesVerifyFilter.java:133)
at 
org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:109)
at 
org.apache.ignite.internal.util.nio.GridNioServer$HeadFilter.onMessageReceived(GridNioServer.java:3222)
at 
org.apache.ignite.internal.util.nio.GridNioFilterChain.onMessageReceived(GridNioFilterChain.java:175)
at 
org.apache.ignite.internal.util.nio.GridNioServer$DirectNioClientWorker.processRead(GridNioServer.java:1213)
at 
org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeysOptimized(GridNioServer.java:2180)
at 

[jira] [Commented] (IGNITE-5538) NPE (PersistentStoreExample)

2017-07-10 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-5538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16080331#comment-16080331
 ] 

ASF GitHub Bot commented on IGNITE-5538:


GitHub user Jokser opened a pull request:

https://github.com/apache/ignite/pull/2273

IGNITE-5538 Double check for PersistenceStore message factory existence.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gridgain/apache-ignite ignite-5538

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/2273.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #2273


commit ab5267134966b466a2d4bfba15d0c7e3ebe91139
Author: sboikov 
Date:   2017-07-07T10:14:18Z

2.1 More simple tx cancel on node stop

commit 85d8c6572d78c7d6796906d92b566e2fa5b116be
Author: Dmitriy Govorukhin 
Date:   2017-07-07T10:13:55Z

IGNITE-5520 - Fixed IgniteChangeGlobalStateFailoverTest

commit f589628f4846f14efc8e702b61856cc90a3d0dc7
Author: sboikov 
Date:   2017-07-07T10:52:38Z

Rename ActionData -> CacheActionData.

commit 30922ed8ac518749a2559aff51fe183a890041bb
Author: Alexey Kuznetsov 
Date:   2017-07-07T11:03:18Z

ignite-2.1 Added map with previous snapshots.

commit 99fd75dd7766318af88a38b5640a648bba3ccdf1
Author: Sergey Kalashnikov 
Date:   2017-07-07T11:38:36Z

IGNITE-5483: Added limited support for Java8 LocalDateTime. This closes 
#2248.

commit 4fc8124d9538625cb0a95c918634b43ec1319bee
Author: sboikov 
Date:   2017-07-07T11:43:28Z

Fixed formatting.

commit 984ab5bd3c08b2af9222964451acc281b92814b8
Author: sboikov 
Date:   2017-07-07T11:43:50Z

Merge remote-tracking branch 'community/ignite-2.1.2' into ignite-2.1.2

commit 7adb11109bab5d83ed4f376b0cad42b026dd0a71
Author: sboikov 
Date:   2017-07-07T11:49:13Z

Fixed formatting.

commit 2a5390b1c083819f059e449b34a5979ec35b7755
Author: Alexander Paschenko 
Date:   2017-07-07T12:01:43Z

IGNITE-5159: DDL example. This closes #2227.

commit d232648711c882ed304eae89ae19f151067649fd
Author: devozerov 
Date:   2017-07-07T12:02:29Z

Merge remote-tracking branch 'upstream/ignite-2.1.2' into ignite-2.1.2

commit a9387adef490086406b05fe961ff0f3151045caa
Author: Pavel Tupitsyn 
Date:   2017-07-07T12:21:20Z

IGNITE-5717 .NET: Reduce MemoryPolicyConfiguration.MaxSize for persistence 
tests as a workaround for OOM on default settings

commit 13399d530f3458c3bf59634857cb05f801e8cc34
Author: sboikov 
Date:   2017-07-07T12:24:09Z

2.1 Fixed assert (cacheName can be null here).

commit ea4420e6aad509c4ae58d6d0880918c98fd1959a
Author: sboikov 
Date:   2017-07-07T12:24:26Z

Merge remote-tracking branch 'community/ignite-2.1.2' into ignite-2.1.2

commit 0d6fb1ad73e8ed448dabe7c0cc631222835b52c4
Author: Sergey Kalashnikov 
Date:   2017-07-07T12:54:52Z

IGNITE-5204: Fixed NPE on certain data with index inlining. This closes 
#2115.

commit a1cac1b7cc1c3afdcc12afb08bf1ecdcb6f28828
Author: sboikov 
Date:   2017-07-07T12:55:18Z

Removed unused method GridDhtPartitionTopology.checkEvictions().

commit 55a5ca019db7d06aab2fb567dbc0da1f133d0fb7
Author: sboikov 
Date:   2017-07-07T12:55:38Z

Merge remote-tracking branch 'community/ignite-2.1.2' into ignite-2.1.2

commit 99713feea764fc8c3e5b247a24698a2c04d3bcf4
Author: Sergey Kalashnikov 
Date:   2017-07-07T13:30:37Z

IGNITE-5204: SQL: fixed incorrect partition calculation in case of unicast 
optimization, when WHERE clause argument type was different from key or 
affinity key type. This close #2107.

commit 3c887378eb64d2d236073410070082e5699e8334
Author: Igor Sapego 
Date:   2017-07-07T13:52:31Z

IGNITE-5582: Implemented Compute::Broadcast for C++

(cherry picked from commit fa974286e8f066a8d6aa57519edf5ec7761be095)

commit 3314a4513c816c027dad80258ded1fe5a4c2b700
Author: sboikov 
Date:   2017-07-07T14:28:47Z

Fixed cache plugin validation.

commit 517a23d252078e62a8addca55ca78497e5226b5b
Author: mcherkasov 
Date:   2017-06-30T17:23:55Z

IGNITE-5554 ServiceProcessor may process failed reassignments in timeout 
thread

commit 993f7fbe1d49a524e2dee626aef72e16fd5d3cda
Author: Ilya Lantukh 
Date:   2017-07-07T15:55:27Z

IGNITE-5701 - Some nodes have partitionUpdateCounter equal to 0 after 
rebalancing

commit