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

Method IsHealthy

be/src/scheduling/executor-group.cc:220–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220bool ExecutorGroup::IsHealthy() const {
221 int num_executors = NumExecutors();
222 if (num_executors < min_size_) {
223 LOG(WARNING) << "Executor group " << name_ << " is unhealthy: " << num_executors
224 << " out of " << min_size_ << " are available.";
225 return false;
226 }
227 return true;
228}
229
230bool ExecutorGroup::CheckConsistencyOrWarn(const BackendDescriptorPB& be_desc) const {
231 // Check if the executor's group configuration matches this group.

Callers 5

UpdateMetricsMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36