The task-masters were Egyptians, and the officers were Israelites, under-officers to them, Exodus 5:14,15,19.
Related Commentaries of Exodus 5:6
Exodus 5:6
6 And Pharaoh commanded the same day the taskmasters of the people, and their officers, saying,