Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1502

Move hadoop dependent components to a separated repo

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • build
    • None

    Description

      Apache Hadoop has a huge dependency tree. Since the hadoop-related components in Ratis are optional, we should move them to a separated repo so that the dependencies can be avoided by the non-hadoop use cases.

      • ratis-hadoop dependency tree
      [INFO] -------------------< org.apache.ratis:ratis-hadoop >--------------------
      [INFO] Building Apache Ratis Hadoop Support 2.3.0-SNAPSHOT              [12/19]
      [INFO] --------------------------------[ jar ]---------------------------------
      [INFO] 
      [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @ ratis-hadoop ---
      [INFO] org.apache.ratis:ratis-hadoop:jar:2.3.0-SNAPSHOT
      [INFO] +- org.apache.ratis:ratis-proto:jar:2.3.0-SNAPSHOT:compile
      [INFO] |  +- org.apache.ratis:ratis-thirdparty-misc:jar:0.7.0:compile
      [INFO] |  \- javax.annotation:javax.annotation-api:jar:1.2:compile
      [INFO] +- org.apache.ratis:ratis-common:jar:2.3.0-SNAPSHOT:compile
      [INFO] +- org.apache.ratis:ratis-common:test-jar:tests:2.3.0-SNAPSHOT:test
      [INFO] +- org.apache.ratis:ratis-client:jar:2.3.0-SNAPSHOT:provided
      [INFO] +- org.apache.ratis:ratis-client:test-jar:tests:2.3.0-SNAPSHOT:test
      [INFO] +- org.apache.ratis:ratis-server:jar:2.3.0-SNAPSHOT:provided
      [INFO] |  +- org.apache.ratis:ratis-server-api:jar:2.3.0-SNAPSHOT:provided
      [INFO] |  \- org.apache.ratis:ratis-metrics:jar:2.3.0-SNAPSHOT:provided
      [INFO] |     \- io.dropwizard.metrics:metrics-core:jar:3.2.5:provided
      [INFO] +- org.apache.ratis:ratis-server:test-jar:tests:2.3.0-SNAPSHOT:test
      [INFO] +- org.slf4j:slf4j-api:jar:1.7.29:compile
      [INFO] +- junit:junit:jar:4.12:test
      [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
      [INFO] +- org.apache.hadoop:hadoop-common:jar:3.1.1:compile
      [INFO] |  +- org.apache.hadoop:hadoop-annotations:jar:3.1.1:compile
      [INFO] |  |  \- jdk.tools:jdk.tools:jar:1.8:system
      [INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
      [INFO] |  +- org.apache.commons:commons-math3:jar:3.1.1:compile
      [INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.5.2:compile
      [INFO] |  |  \- org.apache.httpcomponents:httpcore:jar:4.4.4:compile
      [INFO] |  +- commons-codec:commons-codec:jar:1.11:compile
      [INFO] |  +- commons-io:commons-io:jar:2.5:compile
      [INFO] |  +- commons-net:commons-net:jar:3.6:compile
      [INFO] |  +- commons-collections:commons-collections:jar:3.2.2:compile
      [INFO] |  +- javax.servlet:javax.servlet-api:jar:3.1.0:compile
      [INFO] |  +- org.eclipse.jetty:jetty-server:jar:9.3.19.v20170502:compile
      [INFO] |  |  +- org.eclipse.jetty:jetty-http:jar:9.3.19.v20170502:compile
      [INFO] |  |  \- org.eclipse.jetty:jetty-io:jar:9.3.19.v20170502:compile
      [INFO] |  +- org.eclipse.jetty:jetty-util:jar:9.3.19.v20170502:compile
      [INFO] |  +- org.eclipse.jetty:jetty-servlet:jar:9.3.19.v20170502:compile
      [INFO] |  |  \- org.eclipse.jetty:jetty-security:jar:9.3.19.v20170502:compile
      [INFO] |  +- org.eclipse.jetty:jetty-webapp:jar:9.3.19.v20170502:compile
      [INFO] |  |  \- org.eclipse.jetty:jetty-xml:jar:9.3.19.v20170502:compile
      [INFO] |  +- javax.servlet.jsp:jsp-api:jar:2.1:runtime
      [INFO] |  +- com.sun.jersey:jersey-core:jar:1.19:compile
      [INFO] |  |  \- javax.ws.rs:jsr311-api:jar:1.1.1:compile
      [INFO] |  +- com.sun.jersey:jersey-servlet:jar:1.19:compile
      [INFO] |  +- com.sun.jersey:jersey-json:jar:1.19:compile
      [INFO] |  |  +- org.codehaus.jettison:jettison:jar:1.1:compile
      [INFO] |  |  +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile
      [INFO] |  |  |  \- javax.xml.bind:jaxb-api:jar:2.2.2:compile
      [INFO] |  |  |     +- javax.xml.stream:stax-api:jar:1.0-2:compile
      [INFO] |  |  |     \- javax.activation:activation:jar:1.1:compile
      [INFO] |  |  +- org.codehaus.jackson:jackson-core-asl:jar:1.9.2:compile
      [INFO] |  |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.2:compile
      [INFO] |  |  +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.2:compile
      [INFO] |  |  \- org.codehaus.jackson:jackson-xc:jar:1.9.2:compile
      [INFO] |  +- com.sun.jersey:jersey-server:jar:1.19:compile
      [INFO] |  +- commons-logging:commons-logging:jar:1.1.3:compile
      [INFO] |  +- log4j:log4j:jar:1.2.17:compile
      [INFO] |  +- commons-lang:commons-lang:jar:2.6:compile
      [INFO] |  +- commons-beanutils:commons-beanutils:jar:1.9.3:compile
      [INFO] |  +- org.apache.commons:commons-configuration2:jar:2.1.1:compile
      [INFO] |  +- org.apache.commons:commons-lang3:jar:3.4:compile
      [INFO] |  +- org.slf4j:slf4j-log4j12:jar:1.7.29:test
      [INFO] |  +- org.apache.avro:avro:jar:1.7.7:compile
      [INFO] |  |  +- com.thoughtworks.paranamer:paranamer:jar:2.3:compile
      [INFO] |  |  \- org.xerial.snappy:snappy-java:jar:1.0.5:compile
      [INFO] |  +- com.google.re2j:re2j:jar:1.1:compile
      [INFO] |  +- com.google.protobuf:protobuf-java:jar:2.5.0:compile
      [INFO] |  +- com.google.code.gson:gson:jar:2.2.4:compile
      [INFO] |  +- org.apache.hadoop:hadoop-auth:jar:3.1.1:compile
      [INFO] |  |  +- com.nimbusds:nimbus-jose-jwt:jar:4.41.1:compile
      [INFO] |  |  |  \- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile
      [INFO] |  |  +- net.minidev:json-smart:jar:2.3:compile
      [INFO] |  |  |  \- net.minidev:accessors-smart:jar:1.2:compile
      [INFO] |  |  |     \- org.ow2.asm:asm:jar:5.0.4:compile
      [INFO] |  |  \- org.apache.curator:curator-framework:jar:2.12.0:compile
      [INFO] |  +- com.jcraft:jsch:jar:0.1.54:compile
      [INFO] |  +- org.apache.curator:curator-client:jar:2.12.0:compile
      [INFO] |  +- org.apache.curator:curator-recipes:jar:2.12.0:compile
      [INFO] |  +- com.google.code.findbugs:jsr305:jar:3.0.0:compile
      [INFO] |  +- org.apache.htrace:htrace-core4:jar:4.1.0-incubating:compile
      [INFO] |  +- org.apache.commons:commons-compress:jar:1.4.1:compile
      [INFO] |  |  \- org.tukaani:xz:jar:1.0:compile
      [INFO] |  +- org.apache.kerby:kerb-simplekdc:jar:1.0.1:compile
      [INFO] |  |  +- org.apache.kerby:kerb-client:jar:1.0.1:compile
      [INFO] |  |  |  +- org.apache.kerby:kerby-config:jar:1.0.1:compile
      [INFO] |  |  |  +- org.apache.kerby:kerb-core:jar:1.0.1:compile
      [INFO] |  |  |  |  \- org.apache.kerby:kerby-pkix:jar:1.0.1:compile
      [INFO] |  |  |  |     +- org.apache.kerby:kerby-asn1:jar:1.0.1:compile
      [INFO] |  |  |  |     \- org.apache.kerby:kerby-util:jar:1.0.1:compile
      [INFO] |  |  |  +- org.apache.kerby:kerb-common:jar:1.0.1:compile
      [INFO] |  |  |  |  \- org.apache.kerby:kerb-crypto:jar:1.0.1:compile
      [INFO] |  |  |  +- org.apache.kerby:kerb-util:jar:1.0.1:compile
      [INFO] |  |  |  \- org.apache.kerby:token-provider:jar:1.0.1:compile
      [INFO] |  |  \- org.apache.kerby:kerb-admin:jar:1.0.1:compile
      [INFO] |  |     +- org.apache.kerby:kerb-server:jar:1.0.1:compile
      [INFO] |  |     |  \- org.apache.kerby:kerb-identity:jar:1.0.1:compile
      [INFO] |  |     \- org.apache.kerby:kerby-xdr:jar:1.0.1:compile
      [INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.7.8:compile
      [INFO] |  |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.7.0:compile
      [INFO] |  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.7.8:compile
      [INFO] |  +- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
      [INFO] |  \- com.fasterxml.woodstox:woodstox-core:jar:5.0.3:compile
      [INFO] +- com.google.guava:guava:jar:11.0.2:compile
      [INFO] \- com.github.spotbugs:spotbugs-annotations:jar:4.2.1:provided (optional) 
      

      Attachments

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 20m
                3h 20m