Pavel Tupitsyn created IGNITE-25473:
---------------------------------------

             Summary: .NET: Platform compute executor can't execute jobs from 
different Ignite versions
                 Key: IGNITE-25473
                 URL: https://issues.apache.org/jira/browse/IGNITE-25473
             Project: Ignite
          Issue Type: Bug
          Components: compute ai3, platforms ai3, thin clients ai3
            Reporter: Pavel Tupitsyn
            Assignee: Pavel Tupitsyn
             Fix For: 3.1


Modify Ignite version on client, try executing a .NET job, it fails:

{code}
System.IO.FileNotFoundException: Could not load file or assembly 
'Apache.Ignite, Version=9.1.0.0, Culture=neutral, 
PublicKeyToken=2b5ffea60c6b4a0c'. The system cannot find the file specified.

File name: 'Apache.Ignite, Version=9.1.0.0, Culture=neutral, 
PublicKeyToken=2b5ffea60c6b4a0c'
   at System.Reflection.RuntimeAssembly.GetTypeCore(QCallAssembly assembly, 
String typeName, ReadOnlySpan`1 nestedTypeNames, Int32 nestedTypeNamesLength, 
ObjectHandleOnStack retType)
   at System.Reflection.RuntimeAssembly.GetTypeCore(String typeName, 
ReadOnlySpan`1 nestedTypeNames, Boolean throwOnError, Boolean ignoreCase)
   at System.Reflection.TypeNameParser.GetType(String typeName, ReadOnlySpan`1 
nestedTypeNames, String assemblyNameIfAny)
   at System.Reflection.TypeNameParser.Parse()
   at System.Reflection.TypeNameParser.GetType(String typeName, Boolean 
throwOnError, Boolean ignoreCase, Assembly topLevelAssembly)
   at 
Apache.Ignite.Internal.Compute.Executor.JobLoadContext.<>c.<LoadType>b__9_1(Assembly
 assembly, String name, Boolean ignoreCase) in 
/home/pavel/w/ignite-3/modules/platforms/dotnet/Apache.Ignite/Internal/Compute/Executor/JobLoadContext.cs:line
 97
{code}

We should always substitute current Ignite assemblies when resolving job types 
and ignore the specific version that the job is built against.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to