You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by nidhinms <ni...@gmail.com> on 2020/04/06 10:22:17 UTC

CPP: Query timeout

I tried to execute an INSERT query to my ignite cluster. It was working fine.
After they update the ignite server instance with some new jars the query is
not returning. Can some one guide me to rectify this issue.

1. Does peerLoadingEnabled=true has omething to do with this issue. Or does
peerClassLoading work with CPP and Java ignite mixed setup.
2. Can I set timeout in my query with CPP.
3. Where I can find info about why a query is getting stalled.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: CPP: Query timeout

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

Unfortunately, this is not trivial, you should search your nodes' logs for
locNodeId=022a7f53 or localNodeId=022a7f53

Regards,
-- 
Ilya Kasnacheev


ср, 8 апр. 2020 г. в 11:51, nidhinms <ni...@gmail.com>:

> Hi
>
> Do ignite provide a method to find ip address from this ID.
> 022a7f53-8628-409a-851a-e8ef62d050f7.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Re: CPP: Query timeout

Posted by nidhinms <ni...@gmail.com>.
Hi 

Do ignite provide a method to find ip address from this ID.
022a7f53-8628-409a-851a-e8ef62d050f7.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: CPP: Query timeout

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

I can see the following messages repeating:
[10:17:09,530][WARNING][grid-timeout-worker-#23][diagnostic] Found long
running cache future [startTime=10:15:10.302, curTime=10:17:09.523,
fut=GridNearAtomicSingleUpdateFuture [reqState=Primary
[id=936138d2-e6e5-44f8-b731-7576c83e9334, opRes=false, expCnt=1, rcvdCnt=0,
primaryRes=false, done=false, waitFor=[
*022a7f53-8628-409a-851a-e8ef62d050f7*], rcvd=null],
super=GridNearAtomicAbstractUpdateFuture [remapCnt=100,
topVer=AffinityTopologyVersion [topVer=2697, minorTopVer=0],
remapTopVer=null, err=null, futId=1, super=GridFutureAdapter
[ignoreInterrupts=false, state=INIT, res=null, hash=1168304564]]]]
[10:17:09,530][WARNING][grid-timeout-worker-#23][diagnostic] Found long
running cache future [startTime=10:15:13.911, curTime=10:17:09.523,
fut=GridNearAtomicSingleUpdateFuture [reqState=Primary
[id=936138d2-e6e5-44f8-b731-7576c83e9334, opRes=false, expCnt=1, rcvdCnt=0,
primaryRes=false, done=false, waitFor=[
*022a7f53-8628-409a-851a-e8ef62d050f7*], rcvd=null],
super=GridNearAtomicAbstractUpdateFuture [remapCnt=100,
topVer=AffinityTopologyVersion [topVer=2698, minorTopVer=0],
remapTopVer=null, err=null, futId=16385, super=GridFutureAdapter
[ignoreInterrupts=false, state=INIT, res=null, hash=1764819750]]]]

Do you happen to have logs for *022a7f53-8628-409a-851a-e8ef62d050f7* node?
Ideally, thread dumps also.

Regards,
-- 
Ilya Kasnacheev


ср, 8 апр. 2020 г. в 10:58, nidhinms <ni...@gmail.com>:

> Issue happened because one of ignite server nodes was down. Queries were
> successful after servers restarted. Attaching logs from client.
>
> ignite-1835519d.log
> <
> http://apache-ignite-users.70518.x6.nabble.com/file/t2730/ignite-1835519d.log>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Re: CPP: Query timeout

Posted by nidhinms <ni...@gmail.com>.
Issue happened because one of ignite server nodes was down. Queries were
successful after servers restarted. Attaching logs from client.

ignite-1835519d.log
<http://apache-ignite-users.70518.x6.nabble.com/file/t2730/ignite-1835519d.log>  



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: CPP: Query timeout

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

Can you please provide logs and thread dumps (collectible with jstack
<pid>) of all your Apache Ignite nodes?

Hard to pinpoint it otherwise.

Thanks,
-- 
Ilya Kasnacheev


пн, 6 апр. 2020 г. в 13:22, nidhinms <ni...@gmail.com>:

> I tried to execute an INSERT query to my ignite cluster. It was working
> fine.
> After they update the ignite server instance with some new jars the query
> is
> not returning. Can some one guide me to rectify this issue.
>
> 1. Does peerLoadingEnabled=true has omething to do with this issue. Or does
> peerClassLoading work with CPP and Java ignite mixed setup.
> 2. Can I set timeout in my query with CPP.
> 3. Where I can find info about why a query is getting stalled.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>