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-42043][CONNECT][TEST][FOLLOWUP] Fix jar finding bug and use better env vars and time measurement #39677

Closed
wants to merge 1 commit into from

Conversation

zhenlineo
Copy link
Contributor

@zhenlineo zhenlineo commented Jan 20, 2023

What changes were proposed in this pull request?

  1. Fixed the jar finding bug for RC builds. ([WIP] Test 3.4.0 tagging #39668)

  2. Use a better env var to find the spark home in E2E tests.

  3. Use Nano instead of MS for elapsed time measurement.

Why are the changes needed?

Bug fix and improvements.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Existing tests.

@zhenlineo
Copy link
Contributor Author

cc @HyukjinKwon @LuciferYang Thanks for the review. I address the immediate fix in this PR.
For other improvements, I've created tickets and we can add as follow ups.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-42043][CONNECT][TEST] Better env var and a few bug fixes [SPARK-42043][CONNECT][TEST][FOLLOWUP] Better env var and a few bug fixes Jan 20, 2023
@dongjoon-hyun
Copy link
Member

Hi, @zhenlineo . When we use the same JIRA id, we need to add [FOLLOWUP] in the PR title. I added at this time.

val jars = recursiveListFiles(parentDir).filter { f =>
// SBT jar
(f.getParentFile.getName.startsWith("scala-") &&
f.getName.startsWith("spark-connect-assembly") && f.getName.endsWith("SNAPSHOT.jar")) ||
f.getName.startsWith("spark-connect-assembly") && f.getName.endsWith(".jar")) ||
Copy link
Member

Choose a reason for hiding this comment

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

Thank you for the fix.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-42043][CONNECT][TEST][FOLLOWUP] Better env var and a few bug fixes [SPARK-42043][CONNECT][TEST][FOLLOWUP] Fix jar finding bug and use better env vars and time measurement Jan 20, 2023
@HyukjinKwon
Copy link
Member

Merged to master.

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