executorToTasksActive is HashMap[String, HashSet[TaskInfo]], so I use Set.empty[Long] will be better here