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

Fix spark hostname probing when date matches worker port#557

Merged
gcz2022 merged 1 commit intoIntel-bigdata:masterfrom
aaudiber:fix-spark-probe
Aug 13, 2018
Merged

Fix spark hostname probing when date matches worker port#557
gcz2022 merged 1 commit intoIntel-bigdata:masterfrom
aaudiber:fix-spark-probe

Conversation

@aaudiber
Copy link
Copy Markdown
Contributor

Fixes #556

worker_hostnames.append(re.findall("http:\/\/([a-zA-Z\-\._0-9]+):%s" % worker_port, x)[0])
matches = re.findall("http:\/\/([a-zA-Z\-\._0-9]+):%s" % worker_port, x)
if matches:
worker_hostnames.append(matches[0])
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @aaudiber , I like your solution!

@gcz2022 gcz2022 merged commit aae754b into Intel-bigdata:master Aug 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants