You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2017/06/01 16:20:04 UTC

[jira] [Comment Edited] (IGNITE-5356) .NET: Peer deployment does not load runtime dependencies

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

Pavel Tupitsyn edited comment on IGNITE-5356 at 6/1/17 4:19 PM:
----------------------------------------------------------------

Summary of changes:
* Handle {{AssemblyResolve}} event during job execution
* Satisfy peer assembly requests by calling Assembly.Load (asm may be present but not loaded - JIT loads them on demand)

Waiting for TC: http://ci.ignite.apache.org/project.html?projectId=Ignite20Tests&branch_Ignite20Tests=pull%2F2063%2Fhead


was (Author: ptupitsyn):
Summary of changes:
* Handle {{AssemblyResolve}} event during job execution
* Satisfy peer assembly requests by calling Assembly.Load (asm may be present but not loaded - JIT loads them on demand)

> .NET: Peer deployment does not load runtime dependencies
> --------------------------------------------------------
>
>                 Key: IGNITE-5356
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5356
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>    Affects Versions: 2.1
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>              Labels: .NET
>             Fix For: 2.1
>
>
> Discovered while testing in LINQPad:
> * Start Apache.Ignite.exe with enabled peer loading
> * Run a computation from LINQPad that uses {{Dump}} extension method
> It fails with "Cannot load LINQPad assembly" error, because CLR tries to load that assembly during job execution, not during deserialization.
> We should wrap {{ExecuteRemote}} in a {{PeerAssemblyResolver}} to handle runtime assembly requests.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)