You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Boris Shulman (JIRA)" <ji...@apache.org> on 2016/05/02 20:31:12 UTC

[jira] [Commented] (REEF-1375) Fix Java multiruntime

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

Boris Shulman commented on REEF-1375:
-------------------------------------

The problem is that the generated multiruntime driver does not have the needed environment dependent configurations. More specifically for Yarn runtime it is missing the classpath configuration and the the constructor definition for YarnConfiguration. The fix is adding MultiRuntimeBootstrapConfigurationGenerator that will be binding based on the actual runtime. This configuration provider will generate the needed configuration that will be merged into the multiruntime driver configuration. 

Currently two implementations will be provided:
1) The default empty one: EmptyMultiRuntimeBootstrapConfigurationGeneratorImpl
2) One that will add the needed yarn configuration: YarnMultiRuntimeBootstrapConfigurationGeneratorImpl

> Fix Java multiruntime
> ---------------------
>
>                 Key: REEF-1375
>                 URL: https://issues.apache.org/jira/browse/REEF-1375
>             Project: REEF
>          Issue Type: Bug
>          Components: REEF Driver
>         Environment: HDInsight
>            Reporter: Boris Shulman
>            Assignee: Boris Shulman
>
> I noticed that hellomultiruntime example is broken for me. After short investigation I see that the test that I added wasn't actually testing that I thought it was, and currently multiruntime failing on missing classpath configurations. This does not affect the c# multiruntime bootstrapping mechanism.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)