forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle port collisions when creating Akka systems
This requires us to handle exceptions thrown more carefully, because akka throws its own exceptions that are not java.net.BindException. We workaround this by traversing the Exception causality tree to find a java.net.BindException with an "Address already in use" message.
- Loading branch information
1 parent
a2dd05c
commit d502e5f
Showing
2 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters