You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Stanilovsky Evgeny (Jira)" <ji...@apache.org> on 2020/09/09 12:09:00 UTC

[jira] [Commented] (IGNITE-13389) Append additional settings to obtain full stack trace on thin client side if an error occurs on server side.

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

Stanilovsky Evgeny commented on IGNITE-13389:
---------------------------------------------

[~ptupitsyn] your comment was under "code outdated" mark, i just forgot to resolve it, now i press the button.
I don`t have a clue what problem with title here ? It contains short part of description i change both a little bit, is it ok for now ?

thanks !

> Append additional settings to obtain full stack trace on thin client side if an error occurs on server side.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-13389
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13389
>             Project: Ignite
>          Issue Type: Improvement
>          Components: thin client
>    Affects Versions: 2.8.1
>            Reporter: Stanilovsky Evgeny
>            Assignee: Stanilovsky Evgeny
>            Priority: Major
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Some server side errors have deeply nested _suppressed_ or _caused by_ errors which contains informative messages for further problem recognition. Possible such mechanism need to be disabled on production environment. Example of non informative error on client side:
> {noformat}
> org.apache.ignite.internal.client.thin.ClientServerError: Ignite failed to process request [1]: Failed to update keys (retry update if possible).: [1] (server status code [1])
> {noformat}
> but full stack holds the root case:
> {noformat}
> Caused by: class org.apache.ignite.internal.processors.cache.CachePartialUpdateCheckedException: Failed to update keys (retry update if possible).: [1]
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicAbstractUpdateFuture.onPrimaryError(GridNearAtomicAbstractUpdateFuture.java:397)
> 	at org.apache.ignite.internal.processors.cache.GridCacheAdapter.put(GridCacheAdapter.java:2567)
> 	at org.apache.ignite.internal.processors.cache.GridCacheAdapter.put(GridCacheAdapter.java:2544)
> 	at org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.put(IgniteCacheProxyImpl.java:1316)
> 	... 13 more
> 	Suppressed: class org.apache.ignite.IgniteCheckedException: Failed to update keys.
> 		... 23 more
> 		Suppressed: class org.apache.ignite.IgniteCheckedException: Runtime failure on search row: SearchRow
> 			... 25 more
> 		Caused by: class org.apache.ignite.IgniteCheckedException: org.apache.ignite.internal.binary.BinaryObjectImpl cannot be cast to org.apache.ignite.client.IgniteBinaryTest$ThinBinaryValue <-- here !!!
> 			at org.apache.ignite.internal.processors.cache.GridCacheMapEntry$AtomicCacheUpdateClosure.update(GridCacheMapEntry.java:6379)
> 			... 30 more
> {noformat}
> looks like it would be useful to have additional setting in ThinClientConfiguration#showFullStackOnClientSide configured both as direct setting and through JMX (ClientProcessorMXBean#showFullStackOnClientSide).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)