hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manikandan R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5703) ReservationAgents are not correctly configured
Date Sat, 28 Jan 2017 11:10:25 GMT

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

Manikandan R commented on YARN-5703:
------------------------------------

Thanks [~seanpo03], [~Naganarasimha].

I've explained my approach below based on analysis. Please provide your feedback.

By Implementing Configurable interface in RA's - AlignedPlannerWithGreedy & GreedyReservationAgent
classes, conf object would get passed from getAgent() method of AbstractReservationSystem.java
while creating object for above said RA's. But, to make use of conf to fetch properties like
smoothness factor etc, we will require new method (for ex, initialize() ? ) to set RA's vars
(for ex, planner) because conf object cannot be used inside constructor as it would get set
in setConf() method only after object creation. Since initialization happens in new method,
we will need to make "planner" variable as non-final.

> ReservationAgents are not correctly configured
> ----------------------------------------------
>
>                 Key: YARN-5703
>                 URL: https://issues.apache.org/jira/browse/YARN-5703
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacity scheduler, resourcemanager
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Sean Po
>            Assignee: Manikandan R
>
> In AbstractReservationSystem, the method that instantiates a ReservationAgent does not
properly initialize it with the appropriate configuration because it expects the ReservationAgent
to implement Configurable.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message