Vladislav Pyatkov created IGNITE-8866:
-----------------------------------------

             Summary: 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


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.




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

Reply via email to