Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pyspark_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import yaml
import subprocess
import click
import webbrowser

from typing import Optional, List
from pydantic import BaseModel
Expand Down Expand Up @@ -197,7 +198,7 @@ def login():
def web_admin():
"""Open the Spark web UI.
"""
subprocess.run(['open', f'http://{read_master_ip()}:8080'])
webbrowser.open(f'http://{read_master_ip()}:8080')


if __name__ == '__main__':
Expand Down