[SPARK-3651]  implemented suggested changes. Changed a reference from executorInfo to executorData to be consistent with other usages