You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Evgenii Zagumennov (JIRA)" <ji...@apache.org> on 2018/07/25 06:43:00 UTC

[jira] [Updated] (IGNITE-8866) Need attempt to upload class until node leave or fail topology by discovery SPI

     [ https://issues.apache.org/jira/browse/IGNITE-8866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Evgenii Zagumennov updated IGNITE-8866:
---------------------------------------
    Description: 
After one fail attempt to upload a class, client code getting exception:
{noformat}
10:04:46,253 INFO  [stdout] (Thread-732) java.lang.NoClassDefFoundError: com/company/deposit_pf_api/core/utils/DplUtils
10:04:46,253 INFO  [stdout] (Thread-732)   at com.company.deposit_pf_api.comparators.CommonPredicate.nodeIdIgnite(CommonPredicate.java:225)
10:04:46,253 INFO  [stdout] (Thread-732)   at com.company.deposit_pf_api.comparators.CommonPredicate.cacheEntities(CommonPredicate.java:191)
10:04:46,253 INFO  [stdout] (Thread-732)   at com.company.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=com.company.deposit_pf_api.core.utils.DplUtils, clsPath=com/company/deposit_pf_api/core/utils/DplUtils.class, clsLdrId=370f1361461-5861d763-a552-463e-817a-0742f7aad114, parentClsLdr=com.company.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.

  was:
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.



> 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: com/company/deposit_pf_api/core/utils/DplUtils
> 10:04:46,253 INFO  [stdout] (Thread-732)   at com.company.deposit_pf_api.comparators.CommonPredicate.nodeIdIgnite(CommonPredicate.java:225)
> 10:04:46,253 INFO  [stdout] (Thread-732)   at com.company.deposit_pf_api.comparators.CommonPredicate.cacheEntities(CommonPredicate.java:191)
> 10:04:46,253 INFO  [stdout] (Thread-732)   at com.company.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=com.company.deposit_pf_api.core.utils.DplUtils, clsPath=com/company/deposit_pf_api/core/utils/DplUtils.class, clsLdrId=370f1361461-5861d763-a552-463e-817a-0742f7aad114, parentClsLdr=com.company.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)