[REEF-1964] Allow IMRU jobs in REEF.NET to be executed from any directory
This addressed the issue by
* Making the IMRU client explicitly add the assemblies from the
executing directory. This changes the default behavior but maintains
backwards compatibility.
JIRA:
[REEF-1964](https://issues.apache.org/jira/browse/REEF-1964)
Pull request:
This closes #1420
diff --git a/lang/cs/Org.Apache.REEF.IMRU/OnREEF/Client/REEFIMRUClient.cs b/lang/cs/Org.Apache.REEF.IMRU/OnREEF/Client/REEFIMRUClient.cs
index a39762e..44e3f55 100644
--- a/lang/cs/Org.Apache.REEF.IMRU/OnREEF/Client/REEFIMRUClient.cs
+++ b/lang/cs/Org.Apache.REEF.IMRU/OnREEF/Client/REEFIMRUClient.cs
@@ -162,6 +162,7 @@
var imruJobSubmission = _jobRequestBuilder
.AddDriverConfiguration(imruDriverConfiguration)
.AddGlobalAssemblyForType(typeof(IMRUDriver<TMapInput, TMapOutput, TResult, TPartitionType>))
+ .AddGlobalAssembliesInDirectoryOfExecutingAssembly()
.SetJobIdentifier(jobDefinition.JobName)
.SetDriverMemory(5000)
.Build();