hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anubhav Dhoot (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (YARN-1569) For handle(SchedulerEvent) in FifoScheduler and CapacityScheduler, SchedulerEvent should get checked (instanceof) for appropriate type before casting
Date Fri, 16 May 2014 10:59:01 GMT

     [ https://issues.apache.org/jira/browse/YARN-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anubhav Dhoot reassigned YARN-1569:
-----------------------------------

    Assignee: Anubhav Dhoot

> For handle(SchedulerEvent) in FifoScheduler and CapacityScheduler, SchedulerEvent should
get checked (instanceof) for appropriate type before casting
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-1569
>                 URL: https://issues.apache.org/jira/browse/YARN-1569
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: scheduler
>            Reporter: Junping Du
>            Assignee: Anubhav Dhoot
>            Priority: Minor
>              Labels: newbie
>
> As following: http://wiki.apache.org/hadoop/CodeReviewChecklist, we should always check
appropriate type before casting. 
> handle(SchedulerEvent) in FifoScheduler and CapacityScheduler didn't check so far (no
bug there now) but should be improved as FairScheduler.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message