radanalyticsio / oshinko-webui

Web console for a spark cluster management app
Apache License 2.0
28 stars 17 forks source link

When you make deploy of spark cluster and at once make scaling of workers through "Actions" button, Master cluster doesn't launch. #131

Open olegvn88 opened 6 years ago

olegvn88 commented 6 years ago

When you make deploy of spark cluster and at once make scaling of workers through "Actions" button, Number of masters displays 0. If you scale workers number, Number of masters remains 0 and click "scale" button, master cluster doesn't launch.

Steps to reproduce:

  1. Open Oshinko Spark Cluster Management home page
  2. Click on the "Deploy" button
  3. Input name of the cluster (for ex. "sparkcluster")
  4. Click on the "Deploy" button. Click on the "Actions" and next "Scale Cluster" button at once after cluster line appeared.
  5. Input Number of workers 2 and click on the "Scale" button.

Actual result: Master cluster doesn't launch.

My suggestion is:

  1. if a creating of spark cluster is started, it's necessary to setup "Number of masters" value equals 1 or
  2. It's necessary to make not available "Scale Cluster" button until at least one master launch up.
crobby commented 6 years ago

Thanks for the report. I will take a look at this. One question though, does your master start correctly if you don't try to scale up immediately, or is it just never starting for you?

olegvn88 commented 6 years ago

@crobby Thank you for the quick answer. Yes, master cluster starts and works correctly, if I don't try to scale up immediately,