Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#311 Add the ability to run multiple workflows in a single Spark Session #334

Merged
merged 11 commits into from
Jan 10, 2024

Conversation

yruslan
Copy link
Collaborator

@yruslan yruslan commented Jan 8, 2024

Closes #311

The PR adds the following:

  • Add the ability to run multiple workflows in a single Spark Sessions (--workflows command line argument)
    • Even if one of pipeline fails, Pramen will attempt to run the rest of the pipelines in the list.
    • The exit code will be non-zero if at least one of pipelines fail.
    • When running multiple pipelines from a library, you can access exit codes for each of executed pipelines in an list (see getExitCodes())
  • Remove AppContext and AppContextFactory that become obsolete long ago and is not used.
  • Make 'parallel.tasks' feature non-experimental.
  • Fix email notification CSS style to remove IE gradient that is security risk.

Copy link

github-actions bot commented Jan 8, 2024

Unit Test Coverage

File Coverage [90.55%] 🍏
TaskRunnerMultithreaded.scala 100% 🍏
PramenImpl.scala 100% 🍏
NotificationBuilderImpl.scala 100% 🍏
MetastorePersistenceTransient.scala 96.12% 🍏
CmdLineConfig.scala 95.1% 🍏
ConfigUtils.scala 92.09% 🍏
PipelineRunner.scala 91.3% 🍏
RunnerCommons.scala 83.26% 🍏
AppRunner.scala 80.95% 🍏
PipelineStateImpl.scala 79.95%
Total Project Coverage 83.61% 🍏

Copy link
Contributor

@kevinwallimann kevinwallimann left a comment

Choose a reason for hiding this comment

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

lgtm

README.md Outdated Show resolved Hide resolved
@yruslan yruslan merged commit d8fe1ac into main Jan 10, 2024
9 checks passed
@yruslan yruslan deleted the feature/311-allow-multiple-configs branch January 10, 2024 08:38
@yruslan yruslan mentioned this pull request Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement a mode of running multiple pipelines sequentially without re-creating the Spark Session
2 participants