Shut down the Timeline Service, switch to the previous version, and start the service:
su – yarn -c "/usr/hdp/current/hadoop-yarn-timelineserver/sbin/yarn-daemon.sh stop
timelineserver"
hdp-select set hadoop-yarn-timelineserver 2.2.0.0-2041
su – yarn –c "/usr/hdp/current/hadoop-yarn-timelineserver/sbin/yarn-daemon.sh
start timelineserver"
Continue with the next downgrade step.