Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.9.0
-
None
-
Studio 4: RI-23 64
-
1
Description
This logic is printing the framework counts of these maps rather than the task counts:
// Check if the agent has any tasks running or operations pending. if (!slave->pendingTasks.empty() || !slave->tasks.empty() || !slave->operations.empty()) { VLOG(1) << "DRAINING Agent " << slaveId << " has " << slave->pendingTasks.size() << " pending tasks, " << slave->tasks.size() << " tasks, and " << slave->operations.size() << " operations"; return; }
Since these are hashmap<FrameworkID, hashmap<TaskID, Task>>.