HyukjinKwon commented on a change in pull request #26605: Updated JavaSparkPi
URL: https://github.com/apache/spark/pull/26605#discussion_r348305082
##########
File path: examples/src/main/java/org/apache/spark/examples/JavaSparkPi.java
##########
@@ -34,6 +34,7 @@ public static void main(String[] args) throws Exception {
SparkSession spark = SparkSession
.builder()
.appName("JavaSparkPi")
+ .config("spark.master", "local")
Review comment:
This example is supposed to run with, for example, `./bin/run-example
JavaSparkPi 10`. I think it's fine without the master.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]