Skip to content

Commit ad96f06

Browse files
Derek DagitThomas Graves
authored andcommitted
Revert "Merge pull request apache#127 from derekd/yspark-581-giant-stack"
This reverts commit 396790cb5000bcf2cd5cb88e268ceeedb494800f, reversing changes made to 55e9750bf77d4e5ef87686faeebc44ce1611f14a.
1 parent 6b89681 commit ad96f06

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

core/src/main/scala/org/apache/spark/util/Utils.scala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2217,10 +2217,6 @@ private[spark] object Utils extends Logging {
22172217
userPort(startPort, offset)
22182218
}
22192219
try {
2220-
if (tryPort > 0) {
2221-
// Try to bind the port to avoid a noisy Jetty warning on failure.
2222-
new ServerSocket(tryPort).close()
2223-
}
22242220
val (service, port) = startService(tryPort)
22252221
logInfo(s"Successfully started service$serviceString on port $port.")
22262222
return (service, port)

0 commit comments

Comments
 (0)