Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Bug: Remove unused ssh plugin flags #488

Merged
merged 2 commits into from
Apr 6, 2018
Merged
Show file tree
Hide file tree
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
15 changes: 1 addition & 14 deletions aztk_cli/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,24 +252,14 @@ def _merge_dict(self, config):
if config.get('web_ui_port') is not None:
self.web_ui_port = config['web_ui_port']

if config.get('jupyter_port') is not None:
self.jupyter_port = config['jupyter_port']

if config.get('name_node_ui_port') is not None:
self.name_node_ui_port = config['name_node_ui_port']

if config.get('rstudio_server_port') is not None:
self.rstudio_server_port = config['rstudio_server_port']

if config.get('host') is not None:
self.host = config['host']

if config.get('connect') is not None:
self.connect = config['connect']

def merge(self, cluster_id, username, job_ui_port, job_history_ui_port,
web_ui_port, jupyter_port, name_node_ui_port,
rstudio_server_port, host, connect):
web_ui_port, host, connect):
"""
Merges fields with args object
"""
Expand All @@ -284,9 +274,6 @@ def merge(self, cluster_id, username, job_ui_port, job_history_ui_port,
job_ui_port=job_ui_port,
job_history_ui_port=job_history_ui_port,
web_ui_port=web_ui_port,
jupyter_port=jupyter_port,
name_node_ui_port=name_node_ui_port,
rstudio_server_port=rstudio_server_port,
host=host,
connect=connect))

Expand Down
6 changes: 0 additions & 6 deletions aztk_cli/spark/endpoints/cluster/cluster_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ def setup_parser(parser: argparse.ArgumentParser):
parser.add_argument('--webui', help='Local port to port spark\'s master UI to')
parser.add_argument('--jobui', help='Local port to port spark\'s job UI to')
parser.add_argument('--jobhistoryui', help='Local port to port spark\'s job history UI to')
parser.add_argument('--jupyter', help='Local port to port jupyter to')
parser.add_argument('--namenodeui', help='Local port to port HDFS NameNode UI to')
parser.add_argument('--rstudioserver', help='Local port to port rstudio server to')
parser.add_argument('-u', '--username', help='Username to spark cluster')
parser.add_argument('--host', dest="host", action='store_true', help='Connect to the host of the Spark container')
parser.add_argument(
Expand Down Expand Up @@ -44,9 +41,6 @@ def execute(args: typing.NamedTuple):
job_ui_port=args.jobui,
job_history_ui_port=args.jobhistoryui,
web_ui_port=args.webui,
jupyter_port=args.jupyter,
name_node_ui_port=args.namenodeui,
rstudio_server_port=args.rstudioserver,
host=args.host,
connect=args.connect)

Expand Down