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

Fix multiple .sar cache files bug #1671

Merged
merged 2 commits into from
Mar 13, 2022
Merged

Conversation

simonzhaoms
Copy link
Contributor

@simonzhaoms simonzhaoms commented Mar 12, 2022

Description

Sometimes Spark job would fail but leave intermediate .sar files without being cleaned up, this will confuse sarplus who expects only one intermediate .sar file. This PR changes the behavior of surplus to use the newest .sar file in case of multiple ones.

Related Issues

Reported by Bhrigu. This issue usually happens when the generated intermediate .sar file is large.

Checklist:

  • I have followed the contribution guidelines and code style for this project.
  • I have added tests covering my contributions.
  • I have updated the documentation accordingly.
  • This PR is being made to staging branch and not to main branch.

@simonzhaoms simonzhaoms merged commit b36d6d6 into staging Mar 13, 2022
@simonzhaoms simonzhaoms deleted the simonz/sarplus-find-or-raise branch March 14, 2022 02:49
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.

None yet

2 participants