To prevent Hive and Tez from writing event metrics to the Application Timeline Server, disable the Yarn Timeline Service.
Select Services > YARN > Configs .
Expand
Application Timeline Server
.Clear the
yarn.timeline-service.enabled
checkbox.Restart the YARN service.