Description
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.