Schedule Client not correctly encoding the URL resulting in pre-upgrade job failure

Description

Reproduction Steps:

  • Create a schedule with name No.10 - 0014002 AND No.16 0015006 in 6.9.x instance

  • Start 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");

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.

Details

Assignee

Reporter

Affects versions

Triaged

Yes

Size

M

Components

Fix versions

Priority

Created April 18, 2024 at 3:44 AM
Updated September 5, 2024 at 11:43 AM
Resolved April 18, 2024 at 6:30 PM