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

Runtime Improvements #1

Merged
merged 2 commits into from
Nov 28, 2023
Merged

Runtime Improvements #1

merged 2 commits into from
Nov 28, 2023

Conversation

rajadain
Copy link
Member

Removes Hive support. We're not using it, and it causes the jar to hang when spark-submitted in certain cases, breaking scripting workflows.

Also add explicit exit command. In certain cases, the script would still not exit cleanly after finishing the ingest, despite removing Hive support. This explicit call to sys.exit(0) ensures that it does.

We're not using it, and it causes the jar to hang when
spark-submitted in certain cases, breaking scripting workflows.
In certain cases, the script would still not exit cleanly after
finishing the ingest, despite removing Hive support. This explicit
call to sys.exit(0) ensures that it does.
Copy link

@jpolchlo jpolchlo left a comment

Choose a reason for hiding this comment

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

The exit(0) is now superfluous, I think, but it's ok to keep it as a belt-and-suspenders measure.

@rajadain
Copy link
Member Author

Thanks for reviewing! In my testing, the exit(0) was necessary on some computers but not others, I couldn't figure out why. The redundancy is helpful in this case, so leaving it in.

@rajadain rajadain merged commit 0d60756 into master Nov 28, 2023
@rajadain rajadain deleted the tt/runtime-improvements branch November 28, 2023 14:55
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.

2 participants