MCPcopy Create free account
hub / github.com/apache/impala / Scheduler

Method Scheduler

be/src/scheduling/scheduler.cc:88–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 "Per Host Min Memory Reservation";
87
88Scheduler::Scheduler(MetricGroup* metrics, RequestPoolService* request_pool_service)
89 : metrics_(metrics->GetOrCreateChildGroup("scheduler")),
90 request_pool_service_(request_pool_service) {
91 LOG(INFO) << "Starting scheduler";
92 if (metrics_ != nullptr) {
93 total_assignments_ = metrics_->AddCounter(ASSIGNMENTS_KEY, 0);
94 total_local_assignments_ = metrics_->AddCounter(LOCAL_ASSIGNMENTS_KEY, 0);
95 initialized_ = metrics_->AddProperty(SCHEDULER_INIT_KEY, true);
96 }
97}
98
99const BackendDescriptorPB& Scheduler::LookUpBackendDesc(
100 const ExecutorConfig& executor_config, const NetworkAddressPB& host) {

Callers

nothing calls this directly

Calls 3

GetOrCreateChildGroupMethod · 0.80
AddCounterMethod · 0.80
AddPropertyMethod · 0.80

Tested by

no test coverage detected