[
https://issues.apache.org/jira/browse/IGNITE-8866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16550736#comment-16550736
]
ASF GitHub Bot commented on IGNITE-8866:
----------------------------------------
GitHub user ezagumennov opened a pull request:
https://github.com/apache/ignite/pull/4393
IGNITE-8866 Retries to upload class
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-8866
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/4393.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 #4393
----
commit 40dc0cca5e010b8e75d15b6eab8e8978423ec4d4
Author: ezagumennov <ezagumennov@...>
Date: 2018-07-20T12:36:33Z
IGNITE-8866 Retries to upload class
----
> Need attempt to upload class until node leave or fail topology by discovery
> SPI
> -------------------------------------------------------------------------------
>
> Key: IGNITE-8866
> URL: https://issues.apache.org/jira/browse/IGNITE-8866
> Project: Ignite
> Issue Type: Bug
> Reporter: Vladislav Pyatkov
> Assignee: Evgenii Zagumennov
> Priority: Major
> Attachments: P2PClassDeploymentDelay.java
>
>
> After one fail attempt to upload a class, client code getting exception:
> {noformat}
> 10:04:46,253 INFO [stdout] (Thread-732) java.lang.NoClassDefFoundError:
> ru/sbt/deposit_pf_api/core/utils/DplUtils
> 10:04:46,253 INFO [stdout] (Thread-732) at
> ru.sbt.deposit_pf_api.comparators.CommonPredicate.nodeIdIgnite(CommonPredicate.java:225)
> 10:04:46,253 INFO [stdout] (Thread-732) at
> ru.sbt.deposit_pf_api.comparators.CommonPredicate.cacheEntities(CommonPredicate.java:191)
> 10:04:46,253 INFO [stdout] (Thread-732) at
> ru.sbt.deposit_pf_api.comparators.CommonPredicate.<init>(CommonPredicate.java:116)
> {noformat}
> And log contains some related warnings:
> {noformat}
> 018-06-19 10:04:18.459 [WARN
> ][pub-#3308%DPL_GRID%DplGridNodeName%][o.a.i.i.m.d.GridDeploymentCommunication]
> Failed to receive peer response from node within duration
> [node=5861d763-a552-463e-817a-0742f7aad114, duration=5008]
> 2018-06-19 10:04:18.459 [WARN
> ][pub-#3308%DPL_GRID%DplGridNodeName%][o.a.i.i.m.d.GridDeploymentPerVersionStore]
> Failed to send class-loading request to node (is node alive?)
> [node=5861d763-a552-463e-817a-0742f7aad114,
> clsName=ru.sbt.deposit_pf_api.core.utils.DplUtils,
> clsPath=ru/sbt/deposit_pf_api/core/utils/DplUtils.class,
> clsLdrId=370f1361461-5861d763-a552-463e-817a-0742f7aad114,
> parentClsLdr=com.sbt.dpl.gridgain.ignite.NodeClassLoader@1ce4a752]
> {noformat}
> I think should to upload class through p2p until node present in topology.
> Look at the [^P2PClassDeploymentDelay.java] reproducer.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)