You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm hoping someone that understands this code path well can review. But this marks the spark_launcher jar to be provided. We ran into this in a really weird case:
we are in the midst of a spark2 -> spark3 migration
we fork spark, and we reverted a change to the launcher on our spark fork to work with the old launcher sh files
we build pinot with shaded jars, i believe to pull in a correct, later hadoop dependency
Because this jar gets shaded, we were using the later code that didn't work with our launcher shell script. Spark core is already scoped as provided, so this seems like the desired behavior here, too.
The quick-start is failing because of this change (see the comment in the changed dependency file for details). Do you think you can override the dependency in your build instead of changing the dependency scope here? That is usually possible if you pin the library version on the top level
Good point. We actually made this change and commented that command out in our own build. I can't think of a better way that doesn't require users to provide the SparkLaucher in the class path of the admin starter, so we'll just leave this changed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm hoping someone that understands this code path well can review. But this marks the
spark_launcherjar to be provided. We ran into this in a really weird case:Because this jar gets shaded, we were using the later code that didn't work with our launcher shell script. Spark core is already scoped as provided, so this seems like the desired behavior here, too.