Schedule Client not correctly encoding the URL resulting in pre-upgrade job failure
Description
Release Notes
None
Activity
Show:

Ankit Jain April 18, 2024 at 4:29 AM
To lower the risk of change, we should just encode schedule name and not the entire URL, for example here.
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Created April 18, 2024 at 3:44 AM
Updated September 5, 2024 at 11:43 AM
Resolved April 18, 2024 at 6:30 PM
Reproduction Steps:
Create a schedule with name
No.10 - 0014002 AND No.16 0015006
in 6.9.x instanceStart the schedule
Trigger instance upgrade
Observe failure in pre-upgrade job pod when CDAP is running on k8s.
Simple fix could be to first encode the URL and then resolve it here:
URLEncoder.encode(url, "UTF-8");