Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
2.5.0
-
None
Description
When creating an upgrade, the serialized UpgradeType is quoted causing problems with the python code:
"commandParams": { "upgrade_direction": "upgrade", "service_package_folder": "common-services/ZOOKEEPER/3.4.5/package", "script": "scripts/zookeeper_server.py", "hooks_folder": "HDP/2.0.6/hooks", "upgrade_type": "\"host_ordered_upgrade\"",
The problem is the Gson, when converting the enum into a String, is giving back a JSON-ready String which includes the quotes.
Attachments
Attachments
Issue Links
- links to