mdbc-server throws exception 43/75943/2
authorRob Daugherty <rd472p@att.com>
Thu, 17 Jan 2019 17:17:15 +0000 (12:17 -0500)
committerRob Daugherty <rd472p@att.com>
Thu, 17 Jan 2019 17:20:13 +0000 (12:20 -0500)
This happens when the TablesConfiguration is done.

It's apparently caused because music jar was compiled with
netty 4.1, but the version present at runtime is 4.0.

The solution I propose is to add an explicit dependency in
mdbc for netty 4.1, which should override the 4.0 version
pulled in by cassandra.

Exception (java.lang.AbstractMethodError) encountered during startup: io.netty.util.concurrent.MultithreadEventExecutorGroup.newChild(Ljava/util/concurrent/Executor;[Ljava/lang/Object;)Lio/netty/util/conc
urrent/EventExecutor;
java.lang.AbstractMethodError: io.netty.util.concurrent.MultithreadEventExecutorGroup.newChild(Ljava/util/concurrent/Executor;[Ljava/lang/Object;)Lio/netty/util/concurrent/EventExecutor;

Change-Id: Ie658ce4a7621eb2a0d2417d35e0fd2bd96565c8c
Issue-ID: MUSIC-271
Signed-off-by: Rob Daugherty <rd472p@att.com>
mdbc-server/pom.xml
pom.xml

index 1a5a6db..8edb5ab 100755 (executable)
                 </exclusion>
             </exclusions>
         </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-handler</artifactId>
+            <version>4.1.30.Final</version>
+        </dependency>
     </dependencies>
 
     <build>
diff --git a/pom.xml b/pom.xml
index fbdd196..3398faa 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
                 </exclusion>
             </exclusions>
         </dependency>
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-handler</artifactId>
+            <version>4.1.30.Final</version>
+        </dependency>
     </dependencies>
 
     <build>