Skip to content

Write documentation for working with Comet's spark-4.0 profile in IntelliJ #1745

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

Open
andygrove opened this issue May 16, 2025 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@andygrove
Copy link
Member

What is the problem the feature request solves?

When switching from the default profile to the spark-4.0 profile (and the jdk-17) profile, I ran into various issues with building and running tests.

I plan on writing up some documentation on how to do this. Here are some brief notes.

  • Close IntelliJ project
  • Delete .idea folder
  • make release PROFILES="-Pspark-4.0 -Pscala-2.13"
  • open folder as project in IntelliJ
  • select spark-4.0 and jdk-17 profiles (be sure to deselect the other profiles if needed)
  • re-sync / re-import maven project
  • build / rebuild
  • run tests, adding the following JVM arguments (these are available in the pom.xml)
-XX:+IgnoreUnrecognizedVMOptions
      --add-opens=java.base/java.lang=ALL-UNNAMED
      --add-opens=java.base/java.lang.invoke=ALL-UNNAMED
      --add-opens=java.base/java.lang.reflect=ALL-UNNAMED
      --add-opens=java.base/java.io=ALL-UNNAMED
      --add-opens=java.base/java.net=ALL-UNNAMED
      --add-opens=java.base/java.nio=ALL-UNNAMED
      --add-opens=java.base/java.util=ALL-UNNAMED
      --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
      --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED
      --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED
      --add-opens=java.base/sun.nio.ch=ALL-UNNAMED
      --add-opens=java.base/sun.nio.cs=ALL-UNNAMED
      --add-opens=java.base/sun.security.action=ALL-UNNAMED
      --add-opens=java.base/sun.util.calendar=ALL-UNNAMED
      -Djdk.reflect.useDirectMethodHandle=false

Describe the potential solution

No response

Additional context

No response

@andygrove andygrove added the enhancement New feature or request label May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant