
1. 创建session
POST http://0.0.0.0:8998/sessions
{
“name”: “spark0”,
“kind”: “spark”,
“executorCores”: 8,
“executorMemory”: “3g”,
“jars”: [
“local:/home/geocube/oge/oge-server/dag-boot/oge-computation_ogc_on_the_fly.jar”
],
“conf”: {
“spark.driver.extraClassPath”: “local:/home/geocube/spark/jars/*”,
“spark.executor.extraClassPath”: “local:/home/geocube/spark/jars/*”
}
}