Skip to content

Configure GraphFrames connected-components algorithm - #1405

Open
__angel__ (SauronShepherd) wants to merge 1 commit into
zinggAI:mainfrom
SauronShepherd:codex/configure-graphframes-algorithm
Open

__angel__ (SauronShepherd) wants to merge 1 commit into
zinggAI:mainfrom
SauronShepherd:codex/configure-graphframes-algorithm

Conversation

@SauronShepherd

Copy link
Copy Markdown
Contributor

Summary

SparkGraphUtil previously relied on GraphFrames default behavior via connectedComponents().run().

This PR explicitly selects GraphFrames' two_phase algorithm, matching the current intended behavior, and adds a compatibility test that protects the configured algorithm from accidental removal during dependency upgrades.

Fixes #1404

Validation

  • git diff --check passes.
  • GraphFrames 0.11.0 exposes setAlgorithm, as confirmed by the existing commented API usage in SparkGraphUtil.
  • Full Maven execution could not run because Maven and the Maven Wrapper are unavailable in this environment.

This branch has not been deployed

No deployments
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.

Configure GraphFrames connected-components algorithm explicitly

1 participant