You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by we...@apache.org on 2017/12/12 22:19:01 UTC
reef git commit: [REEF-1964] Allow IMRU jobs in REEF.NET to be
executed from any directory
Repository: reef
Updated Branches:
refs/heads/master 8d5f861ec -> 8c1fbf1fe
[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
Project: http://git-wip-us.apache.org/repos/asf/reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/8c1fbf1f
Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/8c1fbf1f
Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/8c1fbf1f
Branch: refs/heads/master
Commit: 8c1fbf1fe8beaf0fc7bda975c36fffcb97c2ffb4
Parents: 8d5f861
Author: RoganC <ro...@microsoft.com>
Authored: Mon Dec 11 16:29:54 2017 -0800
Committer: Markus Weimer <we...@apache.org>
Committed: Tue Dec 12 14:17:08 2017 -0800
----------------------------------------------------------------------
lang/cs/Org.Apache.REEF.IMRU/OnREEF/Client/REEFIMRUClient.cs | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/reef/blob/8c1fbf1f/lang/cs/Org.Apache.REEF.IMRU/OnREEF/Client/REEFIMRUClient.cs
----------------------------------------------------------------------
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 @@ namespace Org.Apache.REEF.IMRU.OnREEF.Client
var imruJobSubmission = _jobRequestBuilder
.AddDriverConfiguration(imruDriverConfiguration)
.AddGlobalAssemblyForType(typeof(IMRUDriver<TMapInput, TMapOutput, TResult, TPartitionType>))
+ .AddGlobalAssembliesInDirectoryOfExecutingAssembly()
.SetJobIdentifier(jobDefinition.JobName)
.SetDriverMemory(5000)
.Build();