Verifying Versions
Validate that the OS, Java Development Kit, and the metastore versions are compliant with the version of HDP and Ambari to which you plan to upgrade; for example, Oracle Database 12c is supported with Ambari 2.2.1.1. Confirm that your Ambari version is compatiable with your current version of HDP. See the Hortonworks Support Matrix.