Upgrading CDAP
Currently, CDAP cannot be upgraded by using Apache Ambari.
...
Upgrading CDAP via Package Managers
Upgrading Apache Ambari
Instructions for upgrading Apache Ambari are available at Cloudera.
Upgrading HDP
These steps cover what to do when upgrading the version of HDP of an existing CDAP installation.
...