Commit ea11a03
committed
Catch all exceptions caused by BindExceptions
Looks like the actual exception thrown sometimes is
org.jboss.netty.channel.ChannelException: Failed to bind to:
localhost/127.0.0.1:60550, which is not a java.net.BindException.
We should catch these too.1 parent 54a0ca0 commit ea11a03
File tree
1 file changed
+2
-1
lines changed- external/flume/src/test/scala/org/apache/spark/streaming/flume
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
0 commit comments