Repository: reef
Updated Branches:
  refs/heads/master 1cf486957 -> bf1fc135d


[REEF-1195] YARNClientConfiguration is broken for on-cluster YARN submission

This addressed the issue by
  * Bind IYarnRestClientCredential in ConfigurationModule.

JIRA:
  [REEF-1195](https://issues.apache.org/jira/browse/REEF-1195)

Pull Request:
  This closes #832


Project: http://git-wip-us.apache.org/repos/asf/reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/bf1fc135
Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/bf1fc135
Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/bf1fc135

Branch: refs/heads/master
Commit: bf1fc135d8aa22368f7b3390ea6a88e663831390
Parents: 1cf4869
Author: Andrew Chung <[email protected]>
Authored: Mon Feb 8 10:24:40 2016 -0800
Committer: Markus Weimer <[email protected]>
Committed: Mon Feb 8 15:56:45 2016 -0800

----------------------------------------------------------------------
 lang/cs/Org.Apache.REEF.Client/YARN/YARNClientConfiguration.cs | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/reef/blob/bf1fc135/lang/cs/Org.Apache.REEF.Client/YARN/YARNClientConfiguration.cs
----------------------------------------------------------------------
diff --git a/lang/cs/Org.Apache.REEF.Client/YARN/YARNClientConfiguration.cs 
b/lang/cs/Org.Apache.REEF.Client/YARN/YARNClientConfiguration.cs
index 04753fc..f4463bc 100644
--- a/lang/cs/Org.Apache.REEF.Client/YARN/YARNClientConfiguration.cs
+++ b/lang/cs/Org.Apache.REEF.Client/YARN/YARNClientConfiguration.cs
@@ -37,6 +37,7 @@ namespace Org.Apache.REEF.Client.Yarn
 
         public static ConfigurationModule ConfigurationModule = new 
YARNClientConfiguration()
             .BindImplementation(GenericType<IREEFClient>.Class, 
GenericType<YarnREEFClient>.Class)
+            .BindImplementation(GenericType<IYarnRestClientCredential>.Class, 
YarnRestClientCredential)
             
.BindNamedParameter(GenericType<JobSubmissionDirectoryPrefixParameter>.Class, 
JobSubmissionFolderPrefix)
             .BindNamedParameter(GenericType<SecurityTokenKindParameter>.Class, 
SecurityTokenKind)
             
.BindNamedParameter(GenericType<SecurityTokenServiceParameter>.Class, 
SecurityTokenService)

Reply via email to