Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2795

spark charm: fix sparkpi and rework start/stop logic

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.1
    • 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

        Issue Links

          Activity

            People

              kwmonroe Kevin Monroe
              kwmonroe Kevin Monroe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: