Yarn timeline recovery not enabled error upgrading via ambari
Run the following from the ambari server's shell:

/var/lib/ambari-server/resources/scripts/configs.sh set mace gamma yarn-site "yarn.timeline-service.recovery.enabled" "true"

Where mace is the ambari server's host name and gamma is the cluster name