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.enabledcheckbox.
- Restart the YARN service. 


