[
https://issues.apache.org/jira/browse/AMBARI-22279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doroszlai, Attila updated AMBARI-22279:
---------------------------------------
Attachment: AMBARI-22279.patch
> Knox upgrade failed when migrating from IOP to HDP
> --------------------------------------------------
>
> Key: AMBARI-22279
> URL: https://issues.apache.org/jira/browse/AMBARI-22279
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.6.0
> Reporter: Doroszlai, Attila
> Assignee: Doroszlai, Attila
> Priority: Blocker
> Fix For: 2.6.0
>
> Attachments: AMBARI-22279.patch
>
>
> STR:
> # Install Ambari 2.2 with IOP 4.2
> # Upgrade to Ambari 2.5.2
> # Upgrade to Ambari 2.6
> # Upgrade to HDP 2.6
> Result: upgrade of Knox fails due to the following error.
> {noformat}
> 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
> {noformat}
> Problems:
> # {{commandParams/source_stack}} is no longer sent, need to take source stack
> name from {{upgradeSummary/services/KNOX/sourceStackId}}
> # {{cluster-env/stack_root}} is overwritten during the upgrade
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)