Skip to content

[CDAP-20797] Ensures DefaultSystemProvisionerContext properties are (re)loaded when it is initialized#15350

Merged
masoud-io merged 1 commit intodevelopfrom
bugfixes/cdap-20797
Oct 11, 2023
Merged

[CDAP-20797] Ensures DefaultSystemProvisionerContext properties are (re)loaded when it is initialized#15350
masoud-io merged 1 commit intodevelopfrom
bugfixes/cdap-20797

Conversation

@masoud-io
Copy link
Copy Markdown
Contributor

Why: without this change, when DefaultSystemProvisionerContext gets initialized, reloadProperties call is skipped. This causes pipelines to fail because properties (specifically RuntimeJobManager ) are not set initially. Lack of runtime.job.manager in properties causes cdap to try to use ssh, which obviously results in failure.

Copy link
Copy Markdown
Contributor

@albertshau albertshau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, though I guess checkstyle doesn't want it initialized

@masoud-io masoud-io changed the title [CDAP-20797] Ensures cConf properties are reloaded when DefaultSystemProvisionerContext is initialized [CDAP-20797] Ensures DefaultSystemProvisionerContext properties are reloaded when it is initialized Oct 10, 2023
@masoud-io masoud-io force-pushed the bugfixes/cdap-20797 branch from c30cd76 to 4c14821 Compare October 10, 2023 22:51
@masoud-io
Copy link
Copy Markdown
Contributor Author

lgtm, though I guess checkstyle doesn't want it initialized

Thanks. Move initialization to 0 into constructor to fix the checkstyle.

@masoud-io masoud-io changed the title [CDAP-20797] Ensures DefaultSystemProvisionerContext properties are reloaded when it is initialized [CDAP-20797] Ensures DefaultSystemProvisionerContext properties are (re)loaded when it is initialized Oct 10, 2023
@masoud-io masoud-io merged commit d5c1820 into develop Oct 11, 2023
@masoud-io masoud-io deleted the bugfixes/cdap-20797 branch October 11, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.9.3 6.10 build Triggers github actions build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants