gh-yzou commented on code in PR #1427: URL: https://github.com/apache/polaris/pull/1427#discussion_r2059537216
########## plugins/spark/README.md: ########## @@ -37,4 +37,54 @@ client tests for both Scala versions as well. The Jar can also be built alone with a specific version using target `:polaris-spark-3.5_<scala_version>`. For example: - `./gradlew :polaris-spark-3.5_2.12:createPolarisSparkJar` - Build a jar for the Polaris Spark plugin with scala version 2.12. -The result jar is located at plugins/spark/build/<scala_version>/libs after the build. +The result jar is located at plugins/spark/v3.5/build/<scala_version>/libs after the build. + +# Start Spark with Local Polaris Service using built Jar +Once the jar is built, we can manually test it with Spark and a local Polaris service. + +Following command starts a Polaris server for local testing, it runs on localhost:8181 with default +realm `POLARIS` and root credentials `root:secret`. Review Comment: updated ########## plugins/spark/README.md: ########## @@ -37,4 +37,54 @@ client tests for both Scala versions as well. The Jar can also be built alone with a specific version using target `:polaris-spark-3.5_<scala_version>`. For example: - `./gradlew :polaris-spark-3.5_2.12:createPolarisSparkJar` - Build a jar for the Polaris Spark plugin with scala version 2.12. -The result jar is located at plugins/spark/build/<scala_version>/libs after the build. +The result jar is located at plugins/spark/v3.5/build/<scala_version>/libs after the build. + +# Start Spark with Local Polaris Service using built Jar +Once the jar is built, we can manually test it with Spark and a local Polaris service. + +Following command starts a Polaris server for local testing, it runs on localhost:8181 with default +realm `POLARIS` and root credentials `root:secret`. +```shell +./gradlew run +``` + +Once the local server is running, following command can be used to start the spark-shell with the built Spark client +jar, and uses the local Polaris server as Catalog server. Review Comment: updated -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org