You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Markus Weimer (JIRA)" <ji...@apache.org> on 2015/08/24 16:55:46 UTC
[jira] [Commented] (REEF-633) Add a static function to share the
getRackName() function in YARN
[ https://issues.apache.org/jira/browse/REEF-633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14709409#comment-14709409 ]
Markus Weimer commented on REEF-633:
------------------------------------
Is the particular format of rackname encoding into the hostname standardized for YARN? Or is it an artifact of the clusters we run on? If it is the latter, a static method might not be the right solution. An injectable interface with a default implementation would be better, as it allows users to adapt it to the cluster environment they are on.
> Add a static function to share the getRackName() function in YARN
> -----------------------------------------------------------------
>
> Key: REEF-633
> URL: https://issues.apache.org/jira/browse/REEF-633
> Project: REEF
> Issue Type: Sub-task
> Components: REEF Driver, REEF Runtime YARN
> Reporter: Andrew Chung
> Assignee: Andrew Chung
>
> Currently {{getRackName}} can only be used on the {{YarnContainerManager}}, but the {{YarnDriverRestartManager}} also needs the function later on.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)