spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@hortonworks.com>
Subject finding free ports for tests
Date Wed, 08 Apr 2015 10:16:25 GMT

I'm writing some functional tests for the SPARK-1537 JIRA, Yarn timeline service integration,
for which I need to allocate some free ports.

I don't want to hard code them in as that can lead to unreliable tests, especially on Jenkins.


Before I implement the logic myself -Is there a utility class/trait for finding ports for
tests?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
For additional commands, e-mail: dev-help@spark.apache.org


Mime
View raw message