Topics

Why does JanusGraph use two versions of netty?


zblumenf@...
 

Noticed that there are two versions of Netty in the POM for JanusGraph: 
 
 
Curious why this is and if it is being used for something specific.  Otherwise can 3 get bumped to 4? 


zblumenf@...
 

Ahh.  Actually think I may have answered my own question building from source.  Looks like hadoop:2.7.7 and spark-gremlin:3.4.10 are still using netty 3 and the POM just bumped to the latest netty 3 version for dependency management. Removing netty 3 gets the following enforcer error (similar in a few different modules) 

Dependency convergence error for io.netty:netty:3.9.9.Final paths to dependency are:
+-org.janusgraph:janusgraph-hadoop:0.6.0-SNAPSHOT
  +-org.apache.tinkerpop:spark-gremlin:3.4.10
    +-io.netty:netty:3.9.9.Final
and
+-org.janusgraph:janusgraph-hadoop:0.6.0-SNAPSHOT
  +-org.apache.hadoop:hadoop-client:2.7.7
    +-org.apache.hadoop:hadoop-hdfs:2.7.7
      +-io.netty:netty:3.6.2.Final

I think that makes sense.