Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
2.7.0
Description
Upgrade HDP 2.6 to HDP 3.0 in Ambari 2.7; EU is supported only (i.e. no RU).
At upgrade time, when the services are starting we should use the new stack version's service_package_folder instead of the old one. This was ok, until the change in FileCache.get_service_base_dir to get the base directory from 'serviceLevelParams' instead of 'commandParams'.
... "serviceLevelParams": { "credentialStoreEnabled": false, "status_commands_timeout": 300, "version": "2.7.3", "service_package_folder": "common-services/YARN/2.1.0.2.0/package" }, ... "commandParams": { "service_package_folder": "stacks/HDP/3.0/services/YARN/package", "hooks_folder": "stack-hooks", "clusterName": "cluster1", "custom_command": "RESTART", "upgrade_direction": "upgrade", "upgrade_type": "nonrolling_upgrade", "script": "scripts/historyserver.py", "version": "3.0.0.2-155", "forceRefreshConfigTagsBeforeExecution": "true", "request_id": "17", "command_timeout": "900", "script_type": "PYTHON" },
The service_package_folder is different; the one in commandParams is the correct value.