Fix SoftRouter kryo registrations.
Change-Id: I32cae7b7bc917718719f51d684c57d3a586d2d73
Showing
1 changed file
with
3 additions
and
4 deletions
| ... | @@ -86,10 +86,9 @@ public class SoftRouterPipeline extends AbstractHandlerBehaviour implements Pipe | ... | @@ -86,10 +86,9 @@ public class SoftRouterPipeline extends AbstractHandlerBehaviour implements Pipe |
| 86 | private ApplicationId driverId; | 86 | private ApplicationId driverId; |
| 87 | 87 | ||
| 88 | private KryoNamespace appKryo = new KryoNamespace.Builder() | 88 | private KryoNamespace appKryo = new KryoNamespace.Builder() |
| 89 | - .register(DummyGroup.class) | 89 | + .register(KryoNamespaces.API) |
| 90 | - .register(KryoNamespaces.API) | 90 | + .register(DummyGroup.class) |
| 91 | - .register(byte[].class) | 91 | + .build(); |
| 92 | - .build(); | ||
| 93 | 92 | ||
| 94 | private final Logger log = getLogger(getClass()); | 93 | private final Logger log = getLogger(getClass()); |
| 95 | 94 | ... | ... |
-
Please register or login to post a comment