You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Julia (JIRA)" <ji...@apache.org> on 2014/12/01 21:19:12 UTC

[jira] [Commented] (REEF-53) Introduce NameServer interface and add default Name Server implementation

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

Julia commented on REEF-53:
---------------------------

To avoid the implicit injection error, we would like to make the following change:

1. Still add the interface for NameServer
2. Remove DefaultNameServerImpl. 
3. There is no default class for NameServer
4. Still change the current NameServer to NameServerImpl to implement NameServer interface
5. Explicit binding must be made if clients want to use NameServer
6. Will use constructor parameter to control if NameServer is needed or not. 

> Introduce NameServer interface and add default Name Server implementation
> -------------------------------------------------------------------------
>
>                 Key: REEF-53
>                 URL: https://issues.apache.org/jira/browse/REEF-53
>             Project: REEF
>          Issue Type: Improvement
>            Reporter: Julia
>            Assignee: Julia
>
> Currently NameServer by default is used in Bridge JobDriver and starts to run when it is constructed. If clients don’t bind any implementation, by default they will still get Name Server. 
> We would like to provide an option for clients to choose not to have NameServer if they don’t need it for performance consideration for example. 
> For that we need to 
> 1. Create an interface for NameServer
> 2. Provide DefaultNameServerImpl which implements NameServer interface but does nothing. 
> 3. Change the current NameServer to NameServerImpl to implement NameServer interface
> By this way, if the client doesn’t merge NameServer in the driver configuration, the default behavior would be no Name Server running in the JobDriver. If the client chooses to plug in the NameServer configuration, then NameServerImpl will be bound and used.  



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