AMBARI-8593. Upgrade Execute - Add pre-restart and post-restart hooks to perform hdp-select with version (alejandro)