Update spark

dependabot/go_modules/hyperledger_fabric/v2.2.1/chaincodes/go/chaincode_example02/google.golang.org/grpc-1.53.0
Baohua Yang 2023-03-02 19:41:39 -08:00
parent 71fd22f2f9
commit 0859731ac6
2 changed files with 24 additions and 20 deletions

View File

@ -0,0 +1,2 @@
Got request from HAProxy.

View File

@ -5,24 +5,26 @@
# After startup, try submit a pi calculation application. # After startup, try submit a pi calculation application.
# /usr/local/spark/bin/spark-submit --master spark://master:7077 --class org.apache.spark.examples.SparkPi /usr/local/spark/lib/spark-examples-1.4.0-hadoop2.6.0.jar 1000 # /usr/local/spark/bin/spark-submit --master spark://master:7077 --class org.apache.spark.examples.SparkPi /usr/local/spark/lib/spark-examples-1.4.0-hadoop2.6.0.jar 1000
master: version: "3.9"
image: sequenceiq/spark:1.4.0 services:
hostname: master master:
ports: image: sequenceiq/spark:1.6.0
- "4040:4040" hostname: master
- "8042:8042" ports:
- "7077:7077" - "4040:4040"
- "8088:8088" - "8042:8042"
- "8080:8080" - "7077:7077"
restart: always - "8088:8088"
#mem_limit: 1024m - "8080:8080"
command: bash /usr/local/spark/sbin/start-master.sh && ping localhost > /dev/null restart: always
#mem_limit: 1024m
command: bash /usr/local/spark/sbin/start-master.sh && ping localhost > /dev/null
worker: worker:
image: sequenceiq/spark:1.4.0 image: sequenceiq/spark:1.6.0
links: links:
- master:master - master:master
expose: expose:
- "8081" - "8081"
restart: always restart: always
command: bash /usr/local/spark/sbin/start-slave.sh spark://master:7077 && ping localhost >/dev/null command: bash /usr/local/spark/sbin/start-slave.sh spark://master:7077 && ping localhost >/dev/null