Are you talking about HDP 18.104.22.168? There is no HDF 22.214.171.124. Assuming that you had an existent HDP 126.96.36.199 cluster and you wish to use the same instance of Ambari to install HDF 188.8.131.52 services, you need to install first the management pack for HDF 184.108.40.206. Here are the steps in the documentation: https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.1.1/bk_installing-hdf-on-hdp/content/upgrading_...
Validate that you followed the steps appropriately.
Be aware that you will be able to install only NiFi and NiFi Registry. All other services cannot be installed with Ambari 220.127.116.11 and current HDF 18.104.22.168. You would have to wait until HDF 3.2 to be able to add all other services from HDF 3.2 stack using the same Ambari instance for HDP and HDF.
If this response helped, please vote and accept the response.