[
https://issues.apache.org/jira/browse/CASSANDRA-16541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17312286#comment-17312286
]
Hans Van Akelyen commented on CASSANDRA-16541:
----------------------------------------------
Let me sketch the full situation and then we can see what can be done.
Apache Hop (incubating) is a data pipeline tool with integration to a variety
of external sources. we have created a modular architecture that allows you to
add plugins, one of them is for Apache Cassandra. We package each plugin with
their respective dependencies in a separate folder. For Apache Cassandra the
packaging implementation can be found here:
https://github.com/apache/incubator-hop/tree/master/assemblies/plugins/tech/cassandra
To see which libs have to be included we use
{code:java}
mvn dependency:tree -Dverbose
{code}
As noted above we used the compile scope (still like this in the code) but even
after changing to runtime scope we get following list of dependencies that
"should" be included to make cassandra-all work:
{code:java}
[INFO] +- org.apache.cassandra:cassandra-all:jar:3.11.10:runtime
[INFO] | +- org.xerial.snappy:snappy-java:jar:1.1.1.7:compile
[INFO] | +- net.jpountz.lz4:lz4:jar:1.3.0:runtime
[INFO] | +- com.ning:compress-lzf:jar:0.8.4:runtime
[INFO] | +- com.google.guava:guava:jar:27.0-jre:compile
[INFO] | +- commons-cli:commons-cli:jar:1.1:compile
[INFO] | +- commons-codec:commons-codec:jar:1.10:compile
[INFO] | +- org.apache.commons:commons-lang3:jar:3.1:runtime
[INFO] | +- org.apache.commons:commons-math3:jar:3.2:compile
[INFO] | +-
com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.4:runtime
[INFO] | +- org.antlr:antlr:jar:3.5.2:runtime
[INFO] | | \- org.antlr:ST4:jar:4.0.8:runtime
[INFO] | +- org.antlr:antlr-runtime:jar:3.5.2:runtime
[INFO] | +- org.slf4j:slf4j-api:jar:1.7.7:compile
[INFO] | +- org.slf4j:log4j-over-slf4j:jar:1.7.7:runtime
[INFO] | +- org.slf4j:jcl-over-slf4j:jar:1.7.7:runtime
[INFO] | +- com.fasterxml.jackson.core:jackson-core:jar:2.10.2:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.10.2:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.10.2:compile
[INFO] | +- com.googlecode.json-simple:json-simple:jar:1.1:compile
[INFO] | +- com.boundary:high-scale-lib:jar:1.0.6:runtime
[INFO] | +- org.yaml:snakeyaml:jar:1.11:runtime
[INFO] | +- org.mindrot:jbcrypt:jar:0.3m:runtime
[INFO] | +- io.airlift:airline:jar:0.6:runtime
[INFO] | | \- javax.inject:javax.inject:jar:1:runtime
[INFO] | +- io.dropwizard.metrics:metrics-core:jar:3.1.5:compile
[INFO] | +- io.dropwizard.metrics:metrics-jvm:jar:3.1.5:runtime
[INFO] | +- com.addthis.metrics:reporter-config3:jar:3.0.3:runtime
[INFO] | | +- com.addthis.metrics:reporter-config-base:jar:3.0.3:runtime
[INFO] | | \- org.hibernate:hibernate-validator:jar:4.3.0.Final:runtime
[INFO] | | +- javax.validation:validation-api:jar:1.0.0.GA:runtime
[INFO] | | \- org.jboss.logging:jboss-logging:jar:3.1.0.CR2:runtime
[INFO] | +- com.thinkaurelius.thrift:thrift-server:jar:0.3.7:runtime
[INFO] | | \- com.lmax:disruptor:jar:3.0.1:runtime
[INFO] | +- com.clearspring.analytics:stream:jar:2.5.2:runtime
[INFO] | | \- it.unimi.dsi:fastutil:jar:6.5.7:runtime
[INFO] | +- ch.qos.logback:logback-core:jar:1.1.3:runtime
[INFO] | +- ch.qos.logback:logback-classic:jar:1.1.3:runtime
[INFO] | +- org.apache.thrift:libthrift:jar:0.9.2:runtime
[INFO] | +- org.apache.cassandra:cassandra-thrift:jar:3.11.10:runtime
[INFO] | | +- com.carrotsearch:hppc:jar:0.5.4:runtime
[INFO] | | +- de.jflex:jflex:jar:1.6.0:runtime
[INFO] | | | \- org.apache.ant:ant:jar:1.7.0:runtime
[INFO] | | | \- org.apache.ant:ant-launcher:jar:1.7.0:runtime
[INFO] | | +- com.github.rholder:snowball-stemmer:jar:1.3.0.581.1:runtime
[INFO] | | \-
com.googlecode.concurrent-trees:concurrent-trees:jar:2.4.0:runtime
[INFO] | +- net.java.dev.jna:jna:jar:4.2.2:runtime
[INFO] | +- com.github.jbellis:jamm:jar:0.3.0:runtime
[INFO] | +- io.netty:netty-all:jar:4.0.44.Final:runtime
[INFO] | +- joda-time:joda-time:jar:2.4:runtime
[INFO] | +- org.fusesource:sigar:jar:1.6.4:runtime
[INFO] | +- org.eclipse.jdt.core.compiler:ecj:jar:4.4.2:runtime
[INFO] | +- org.caffinitas.ohc:ohc-core:jar:0.4.4:runtime
[INFO] | +- org.caffinitas.ohc:ohc-core-j8:jar:0.4.4:runtime
[INFO] | +- com.github.ben-manes.caffeine:caffeine:jar:2.2.6:runtime
[INFO] | +- org.jctools:jctools-core:jar:1.2.1:runtime
[INFO] | \- org.ow2.asm:asm:jar:5.0.4:compile
{code}
We assume all these dependencies are needed and include them in our
distribution.
When reviewing for release we noticed the LGPL dependencies that were dragged
in (as you stated you are probably not including them in your release)
Therefore we raised this issue as those dependencies are not excluded as far as
we could see...
> LGPL dependency in cassandra-all 3.11.10
> ----------------------------------------
>
> Key: CASSANDRA-16541
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16541
> Project: Cassandra
> Issue Type: Bug
> Components: Build
> Reporter: Matt Casters
> Assignee: Berenguer Blasi
> Priority: Normal
> Fix For: 2.2.20, 3.0.25, 3.11.11, 4.0
>
>
> Dear Cassandra devs.
> While integrating Cassandra in Apache Hop functionality we found out that the
> cassandra-all maven package drags in an older version of jboss-logging via
> reporter-config3:
> {code:java}
> +- org.apache.cassandra:cassandra-all:jar:3.11.10:compile
> | +- com.addthis.metrics:reporter-config3:jar:3.0.3:compile
> | | +- com.addthis.metrics:reporter-config-base:jar:3.0.3:compile
> | | \- org.hibernate:hibernate-validator:jar:4.3.0.Final:compile
> | | +- javax.validation:validation-api:jar:1.0.0.GA:compile
> | | \- org.jboss.logging:jboss-logging:jar:3.1.0.CR2:compile
> {code}
> jboss-logging 3.1.0.CR2 is from November 2011 and the library only changed to
> APL in 2012.
> [https://github.com/jboss-logging/jboss-logging/blob/master/src/main/resources/META-INF/LICENSE.txt]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]