hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-1569) For handl(SchedulerEvent) in FifoScheduler and CapacityScheduler, SchedulerEvent should get checked (instanceof) for appropriate type before casting
Date Wed, 08 Jan 2014 03:36:54 GMT
Junping Du created YARN-1569:
--------------------------------

             Summary: For handl(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
            Priority: Minor


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.1.5#6160)

Mime
View raw message