He is too happy to say "hello" to his teacher
the teacher is happy to hear the "hello" from his students
being too happy is not a reason not to greet the teacher
Many students are happy when they do not need to say hello to their teachers