TEZ-1066. Generate events to integrate with YARN timeline server. (hitesh)