For Map/Reduce tasks - does the Task, Mapper, Reducer implementations classes need to be present in the classpath of all the nodes?

Thanks,