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

[SPARK-32387][SS] Extract UninterruptibleThread runner logic from KafkaOffsetReader #29187

Closed
wants to merge 3 commits into from

Conversation

gaborgsomogyi
Copy link
Contributor

What changes were proposed in this pull request?

UninterruptibleThread running functionality is baked into KafkaOffsetReader which can be extracted into a class. The main intention is to simplify KafkaOffsetReader in order to make easier to solve SPARK-32032. In this PR I've made this extraction without functionality change.

Why are the changes needed?

UninterruptibleThread running functionality is baked into KafkaOffsetReader.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing + additional unit tests.

@gaborgsomogyi
Copy link
Contributor Author

@SparkQA
Copy link

SparkQA commented Jul 22, 2020

Test build #126327 has finished for PR 29187 at commit 9d214c9.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jul 22, 2020

Test build #126328 has finished for PR 29187 at commit 31c73b9.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Copy link
Contributor

@HeartSaVioR HeartSaVioR left a comment

Choose a reason for hiding this comment

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

Looks good in overall. Left some comments majorly on leaving code comments.

Copy link
Member

@zsxwing zsxwing left a comment

Choose a reason for hiding this comment

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

Looks good to me except some nits.

@gaborgsomogyi
Copy link
Contributor Author

Thanks guys for the quick review, started to process the suggestions...

@SparkQA
Copy link

SparkQA commented Jul 23, 2020

Test build #126424 has finished for PR 29187 at commit 8e78239.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@gaborgsomogyi
Copy link
Contributor Author

retest this please

@gaborgsomogyi
Copy link
Contributor Author

Filed SPARK-32416 and SPARK-32417.

@SparkQA
Copy link

SparkQA commented Jul 23, 2020

Test build #126432 has finished for PR 29187 at commit 8e78239.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HeartSaVioR
Copy link
Contributor

Filed SPARK-32418

@HeartSaVioR
Copy link
Contributor

retest this, please

Copy link
Contributor

@HeartSaVioR HeartSaVioR left a comment

Choose a reason for hiding this comment

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

LGTM. I'll wait for @zsxwing a bit to see whether he has more comments to add.

@SparkQA
Copy link

SparkQA commented Jul 24, 2020

Test build #126441 has finished for PR 29187 at commit 8e78239.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@xuanyuanking
Copy link
Member

LGTM

Copy link
Member

@zsxwing zsxwing left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @gaborgsomogyi , @HeartSaVioR , @zsxwing , @xuanyuanking .
Merged to master for Apache Spark 3.1.0 on December 2020.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants