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

Hive: fix flaky test in output committer test #2212

Closed
wants to merge 1 commit into from

Conversation

marton-bod
Copy link
Collaborator

Using the same constant JOB_ID across test runs can cause conflicts when we want to test the contents of the static writers map in HivIcebergRecordWriter, due to concurrent test runs. This solution is meant to fix that by overloading writeRecords and enable passing in an optional jobId which can be made unique.

@github-actions github-actions bot added the MR label Feb 4, 2021
@pvary
Copy link
Contributor

pvary commented Feb 4, 2021

Using the same constant JOB_ID across test runs can cause conflicts

As discussed offline, it would be good to double check this. The same JOB_ID conflict should have caused issues with other TestHiveIcebergOutputCommitter tests as well.

@marton-bod
Copy link
Collaborator Author

Closing this as a non-issue. Test was not flaky after all but related to changes in the OutputCommitter code.

@marton-bod marton-bod closed this Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants