-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63181/
-----------------------------------------------------------
(Updated Oct. 20, 2017, 4:51 p.m.)
Review request for Ambari, Jonathan Hurley and Nate Cole.
Bugs: AMBARI-22279
https://issues.apache.org/jira/browse/AMBARI-22279
Repository: ambari
Description
-------
```
Execution of 'cp -R -p -f /usr/hdp/4.2.0.0/knox/data/.
/usr/hdp/current/knox-server/data' returned 1. cp: cannot stat
'/usr/hdp/4.2.0.0/knox/data/.': No such file or directory
```
Problems:
1. `commandParams/source_stack` is no longer sent, need to take source stack
name from `upgradeSummary/services/KNOX/sourceStackId`
2. `cluster-env/stack_root` is overwritten during the upgrade
Diffs
-----
ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/params_linux.py
7f2101d50b0820c7ae959bf4d4c481e36800c950
ambari-server/src/main/resources/stacks/BigInsights/4.0/configuration/cluster-env.xml
7c4a8a12e342672e92afde097a3c2a4f9a94615a
Diff: https://reviews.apache.org/r/63181/diff/1/
Testing
-------
Manually tested upgrade from Ambari 2.2 + IOP 4.2 -> Ambari 2.5.2 -> Ambari 2.6
+ HDP 2.6
Thanks,
Attila Doroszlai