aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Daugherty <rd472p@att.com>2019-01-17 12:17:15 -0500
committerRob Daugherty <rd472p@att.com>2019-01-17 12:20:13 -0500
commit71f938d4b604fbe8d16c1fefceb29587c427377e (patch)
treebd811ba970a6d2e496cf50d0624af4a9ea054a34
parent111c1795a31f3dc619242c1f13fc6f7812779118 (diff)
mdbc-server throws exception
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>
-rwxr-xr-xmdbc-server/pom.xml5
-rwxr-xr-xpom.xml5
2 files changed, 10 insertions, 0 deletions
diff --git a/mdbc-server/pom.xml b/mdbc-server/pom.xml
index 1a5a6db..8edb5ab 100755
--- a/mdbc-server/pom.xml
+++ b/mdbc-server/pom.xml
@@ -183,6 +183,11 @@
</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
--- a/pom.xml
+++ b/pom.xml
@@ -243,6 +243,11 @@
</exclusion>
</exclusions>
</dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-handler</artifactId>
+ <version>4.1.30.Final</version>
+ </dependency>
</dependencies>
<build>