protected void fixNativeLibrariesPathsForMR2AndTez() throws AmbariException {
    AmbariManagementController ambariManagementController = injector.getInstance(AmbariManagementController.class);
    Clusters clusters = ambariManagementController.getClusters();
    if (clusters != null) {
      String oldNativePath = "/usr/hdp/${hdp.version}/hadoop/lib/native:" +
          "/usr/hdp/${hdp.version}/hadoop/lib/native/Linux-{{architecture}}-64";
      String fixedNativePath = "/usr/hdp/current/hadoop-client/lib/native:" +
          "/usr/hdp/current/hadoop-client/lib/native/Linux-{{architecture}}-64";

      Map<String, Cluster> clusterMap = clusters.getClusters();
      if (clusterMap != null && !clusterMap.isEmpty()) {
        for (final Cluster cluster : clusterMap.values()) {
          Set<String> installedServices = cluster.getServices().keySet();
          if (installedServices.contains("TEZ")) {
            updateConfigGroupNativePaths("tez-site",
                new HashSet<>(Arrays.asList("tez.am.launch.env", "tez.task.launch.env")),
                oldNativePath, fixedNativePath, cluster);
          }
          if (installedServices.contains("MAPREDUCE2")) {
            updateConfigGroupNativePaths("mapred-site",
                new HashSet<>(Arrays.asList("mapreduce.admin.user.env")),
                oldNativePath, fixedNativePath, cluster);
          }
        }
      }
    }
  }
Performs normal data upgrade

@throws AmbariException
@throws SQLException
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog276.java