Hagrid could apply for the COMC position in Hogwarts since professor Kettleburn was planning to retire. But first he had to earn the license, before he could reconsider to work as a teacher. The education would take two years from now and maybe in two years, he could work as a staff member in the school and help the new groundkeepers due to his height.