Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
The current spark charm has a couple problems:
- The sample workload (delivered as ~/sparkpi.sh) hard codes the spark-examples.jar path, and it's incorrect for spark2.
- Expose the spark worker ui port (8081) when appropriate.
- We only need to open the master ui port (8080) if we're in standalone mode. There is no master process running in yarn or local modes.
- We should only wait for master recovery if we have peers. It's important to wait for recovery before starting workers in a multi-node cluster, but for single-node, this is a waste of time.
Attachments
Attachments
Issue Links
- links to