Skip to content
This repository was archived by the owner on Apr 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #6 from splicemachine/DBAAS-1954
Browse files Browse the repository at this point in the history
added http:// to get_pod_uri
  • Loading branch information
Ben-Epstein authored Jan 11, 2019
2 parents 7f46657 + 10beda5 commit 590ade6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion splicemachine/ml/management.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
def get_pod_uri(pod, port, pod_count=0):
import os
try:
return '{pod}-{pod_count}-node.{framework}.mesos:{port}'.format(pod=pod, pod_count=pod_count, framework=os.environ['FRAMEWORK_NAME'], port=port)
return 'http://{pod}-{pod_count}-node.{framework}.mesos:{port}'.format(pod=pod, pod_count=pod_count, framework=os.environ['FRAMEWORK_NAME'], port=port)
except KeyError as e:
raise KeyError("Uh Oh! FRAMEWORK_NAME variable was not found... are you running in Zeppelin?")

Expand Down

0 comments on commit 590ade6

Please sign in to comment.