atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] fadimaali commented on issue #13: Fixed issue with Cassandra and Netty
Date Tue, 19 Feb 2019 11:01:00 GMT
fadimaali commented on issue #13: Fixed issue with Cassandra and Netty
URL: https://github.com/apache/atlas/pull/13#issuecomment-465086207
 
 
   There seems to be three different versions of netty originally
   
   ```
   $ git checkout release-1.1.0-rc2
   $ mvn clean -DskipTests package -Pdist
   $ jar -tf webapp/target/atlas-webapp-1.1.0.war | grep netty
   WEB-INF/lib/netty-buffer-4.0.37.Final.jar
   WEB-INF/lib/netty-handler-4.0.37.Final.jar
   WEB-INF/lib/netty-3.7.0.Final.jar
   WEB-INF/lib/netty-common-4.0.37.Final.jar
   WEB-INF/lib/netty-transport-4.0.37.Final.jar
   WEB-INF/lib/netty-codec-4.0.37.Final.jar
   WEB-INF/lib/netty-all-4.0.23.Final.jar
   ```
   
   ## After applying the fix in this PR, it goes down to two
   ```
   $ jar -tf webapp/target/atlas-webapp-1.1.0.war | grep netty
   WEB-INF/lib/netty-3.7.0.Final.jar
   WEB-INF/lib/netty-all-4.0.23.Final.jar
   ```
   
   Zookeeper seems to be pulling the 3.7.0 version. I excluded it from ./pom.xml  (it becomes:
   ```
   <dependency>
       <groupId>org.apache.zookeeper</groupId>
       <artifactId>zookeeper</artifactId>
       <version>${zookeeper.version}</version>
       <exclusions>
           <exclusion>
               <groupId>io.netty</groupId>
               <artifactId>netty</artifactId>
           </exclusion>
       </exclusions>
   </dependency>
   ```
   )
   
   After that, seeing only one version of netty
   ```
   jar -tf webapp/target/atlas-webapp-1.1.0.war | grep netty
   WEB-INF/lib/netty-all-4.0.23.Final.jar
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message