The invention provides an
online and offline hybrid scheduling system for improving quality of online services and
utilization rate of a cluster resource. The
system comprises an
information acquisition module, an online AM module, an offline AM module, a
client side module and a scheduler module; the
information acquisition module collects a scheduling relation among the online services in the
system and stores the scheduling relation in a Redis; when a user submits an online application, the online AM module parses a dependence relation of each component, and orderly deploys the components in a cluster according to the dependence relation; when the user submits an offline work, the offline AM module applies to an RM for the resource, and schedules the offline work to run in the cluster;the
client side module parses and processes the work submitted by the user, converts the work into a corresponding request for applying to the RM for the resource, and takes charge of pulling up the online AM module to present application running conditions for clients; the scheduler module is located in the RM, the scheduler module periodically calculates criticality of each
server node accordingto criticality of each container reported by the online AM module, and performs scheduling according to the calculated
server criticality when scheduling the offline work.