Fix SoftRouter kryo registrations.
Change-Id: I32cae7b7bc917718719f51d684c57d3a586d2d73
Showing
1 changed file
with
1 additions
and
2 deletions
| ... | @@ -86,9 +86,8 @@ public class SoftRouterPipeline extends AbstractHandlerBehaviour implements Pipe | ... | @@ -86,9 +86,8 @@ 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) | ||
| 90 | .register(KryoNamespaces.API) | 89 | .register(KryoNamespaces.API) |
| 91 | - .register(byte[].class) | 90 | + .register(DummyGroup.class) |
| 92 | .build(); | 91 | .build(); |
| 93 | 92 | ||
| 94 | private final Logger log = getLogger(getClass()); | 93 | private final Logger log = getLogger(getClass()); | ... | ... |
-
Please register or login to post a comment