Commit c33a7d16 authored by Martin Schorb's avatar Martin Schorb
Browse files

fix status bugs

parent bec2aa30
......@@ -82,7 +82,7 @@ def update_status(n,click,run_state,logfile,module,thispage):
if 'Startup' in r_status['status']:
status_href += ':' + params.spark_port
else:
status_href += ':' + spark_job_port
status_href += ':' + params.spark_job_port
status_style = {}
......
......@@ -113,7 +113,7 @@ def cluster_status(run_state):
j_id = run_state['id']
if j_id=='':
return 'wait'
return 'wait',link
cl_type = run_state['type']
logfile = run_state['logfile']
......@@ -196,7 +196,7 @@ def cluster_status(run_state):
except:
print('Problem connecting to Spark: ' + url)
out_stat.append('Problem connecting to Spark!')
return out_stat
return out_stat, link
if sp_query['activeapps'] == []:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment