ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-8789) Add a call to the FailureHandler for an error with meta-data.
Date Fri, 15 Jun 2018 14:17:00 GMT

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

ASF GitHub Bot commented on IGNITE-8789:
----------------------------------------

GitHub user agura opened a pull request:

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

    IGNITE-8789 Invoke failure processor in case of message processing error

    

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

    $ git pull https://github.com/agura/incubator-ignite ignite-8789

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

    https://github.com/apache/ignite/pull/4204.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 #4204
    
----
commit 7fed8d723500e243221734babe6981758363f874
Author: Andrey Gura <agura@...>
Date:   2018-06-15T14:12:09Z

    IGNITE-8789 Invoke failure processor in case of message processing error

----


> Add a call to the FailureHandler for an error with meta-data.
> -------------------------------------------------------------
>
>                 Key: IGNITE-8789
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8789
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Dmitriy Gladkikh
>            Assignee: Andrey Gura
>            Priority: Critical
>             Fix For: 2.6
>
>
> This is a critical situation, corresponding exception should be propagated to handler
to make necessary actions.
>  Need to add a call to the FailureHandler if the specified error occurs.
> When processing a message in the GridCacheIoManager#onMessage0 method, an exception was
thrown: Failed to process message [senderId=f815a46c-8973-4cda-ac77-51325e731cda, messageType=class
o.a.i.i.processors.cache.distributed.near.GridNearTxFinishRequest]
>  An error occurred during the error logging associated with the meta-data: Cannot find
schema for object with compact footer [typeId=1599442645, schemaId=-1705721149]
> The original exception was lost.
> {code:java}
> 2018-06-13 09:04:01.593[ERROR][sys-stripe-22-#23%DPL_GRID%DplGridNodeName%][o.a.i.i.p.cache.GridCacheIoManager]
Failed to process message [senderId=f815a46c-8973-4cda-ac77-51325e731cda, messageType=class
o.a.i.i.processors.cache.distributed.near.GridNearTxFinishRequest]
> org.apache.ignite.IgniteException: Failed to create string representation of binary object.
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.toStringImpl(GridToStringBuilder.java:1028)
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.toString(GridToStringBuilder.java:826)
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.toString(GridToStringBuilder.java:783)
>  at org.apache.ignite.internal.processors.cache.distributed.GridDistributedTxFinishRequest.toString(GridDistributedTxFinishRequest.java:561)
>  at org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxFinishRequest.toString(GridNearTxFinishRequest.java:221)
>  at java.lang.String.valueOf(String.java:2994)
>  at java.lang.StringBuilder.append(StringBuilder.java:131)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:1060)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:579)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:378)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:304)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$100(GridCacheIoManager.java:99)
>  at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:293)
>  at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1556)
>  at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1184)
>  at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:125)
>  at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1091)
>  at org.apache.ignite.internal.util.StripedExecutor$Stripe.run(StripedExecutor.java:511)
>  at java.lang.Thread.run(Thread.java:745)
> Caused by: org.apache.ignite.IgniteException: Failed to create string representation
of binary object.
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.toStringImpl(GridToStringBuilder.java:1028)
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.toString(GridToStringBuilder.java:826)
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.toString(GridToStringBuilder.java:783)
>  at org.apache.ignite.internal.processors.cache.transactions.IgniteTxStateImpl.toString(IgniteTxStateImpl.java:466)
>  at java.lang.String.valueOf(String.java:2994)
>  at org.apache.ignite.internal.util.GridStringBuilder.a(GridStringBuilder.java:101)
>  at org.apache.ignite.internal.util.tostring.SBLimitedLength.a(SBLimitedLength.java:88)
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.toString(GridToStringBuilder.java:939)
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.toStringImpl(GridToStringBuilder.java:1005)
>  ... 18 common frames omitted
> Caused by: org.apache.ignite.IgniteException: Failed to create string representation
of binary object.
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.toStringImpl(GridToStringBuilder.java:1028)
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.toString(GridToStringBuilder.java:826)
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.toString(GridToStringBuilder.java:783)
>  at org.apache.ignite.internal.processors.cache.transactions.IgniteTxEntry.toString(IgniteTxEntry.java:1267)
>  at java.lang.String.valueOf(String.java:2994)
>  at java.lang.StringBuilder.append(StringBuilder.java:131)
>  at java.util.AbstractCollection.toString(AbstractCollection.java:462)
>  at java.lang.String.valueOf(String.java:2994)
>  at org.apache.ignite.internal.util.GridStringBuilder.a(GridStringBuilder.java:101)
>  at org.apache.ignite.internal.util.tostring.SBLimitedLength.a(SBLimitedLength.java:88)
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.toString(GridToStringBuilder.java:939)
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.toString(GridToStringBuilder.java:897)
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.appendVals(GridToStringBuilder.java:1718)
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.toStringImpl(GridToStringBuilder.java:1008)
>  ... 26 common frames omitted
> Caused by: org.apache.ignite.IgniteException: Failed to create string representation
of binary object.
>  at org.apache.ignite.internal.binary.BinaryObjectExImpl.toString(BinaryObjectExImpl.java:189)
>  at org.apache.ignite.internal.binary.BinaryObjectImpl.toString(BinaryObjectImpl.java:920)
>  at java.lang.String.valueOf(String.java:2994)
>  at java.lang.StringBuilder.append(StringBuilder.java:131)
>  at org.apache.ignite.internal.processors.cache.transactions.TxEntryValueHolder.toString(TxEntryValueHolder.java:161)
>  at java.lang.String.valueOf(String.java:2994)
>  at org.apache.ignite.internal.util.GridStringBuilder.a(GridStringBuilder.java:101)
>  at org.apache.ignite.internal.util.tostring.SBLimitedLength.a(SBLimitedLength.java:88)
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.toString(GridToStringBuilder.java:939)
>  at org.apache.ignite.internal.util.tostring.GridToStringBuilder.toStringImpl(GridToStringBuilder.java:1005)
>  ... 39 common frames omitted
> Caused by: org.apache.ignite.binary.BinaryObjectException: Cannot find schema for object
with compact footer [typeId=1599442645, schemaId=-1705721149]
>  at org.apache.ignite.internal.binary.BinaryReaderExImpl.getOrCreateSchema(BinaryReaderExImpl.java:2020)
>  at org.apache.ignite.internal.binary.BinaryReaderExImpl.<init>(BinaryReaderExImpl.java:284)
>  at org.apache.ignite.internal.binary.BinaryReaderExImpl.<init>(BinaryReaderExImpl.java:183)
>  at org.apache.ignite.internal.binary.BinaryObjectImpl.reader(BinaryObjectImpl.java:832)
>  at org.apache.ignite.internal.binary.BinaryObjectImpl.reader(BinaryObjectImpl.java:846)
>  at org.apache.ignite.internal.binary.BinaryObjectImpl.field(BinaryObjectImpl.java:626)
>  at org.apache.ignite.internal.binary.BinaryObjectExImpl.toString(BinaryObjectExImpl.java:225)
>  at org.apache.ignite.internal.binary.BinaryObjectExImpl.toString(BinaryObjectExImpl.java:186)
>  ... 48 common frames omitted
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message