Skip to content

Commit

Permalink
Update outdated dependencies: grpc, jersey, rocksdb and others
Browse files Browse the repository at this point in the history
  • Loading branch information
witgo committed Nov 3, 2019
1 parent de27e4e commit 8bdac5e
Show file tree
Hide file tree
Showing 11 changed files with 64 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void before() {
@Test
public void testServerUnsupportedAuthentication() {
mThrown.expect(RuntimeException.class);
mThrown.expectMessage(new StringStartsWith(
mThrown.expectMessage(new StringStartsWith(false,
"No factory could create a UserState with authType: " + AuthType.KERBEROS.name()));
createServer(AuthType.KERBEROS);
}
Expand Down
5 changes: 5 additions & 0 deletions core/server/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@
<artifactId>jersey-server</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId>
<scope>test</scope>
</dependency>

<!-- Internal dependencies -->
<dependency>
Expand Down
4 changes: 4 additions & 0 deletions core/server/master/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-server</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId>
</dependency>
<dependency>
<groupId>org.rocksdb</groupId>
<artifactId>rocksdbjni</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import com.google.common.base.Preconditions;

import io.grpc.stub.StreamObserver;
import jersey.repackaged.com.google.common.collect.Lists;
import com.google.common.collect.Lists;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import alluxio.metrics.MetricsSystem;

import com.google.common.collect.Lists;
import jersey.repackaged.com.google.common.collect.Sets;
import com.google.common.collect.Sets;
import org.junit.Before;
import org.junit.Test;

Expand Down
4 changes: 4 additions & 0 deletions core/server/proxy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-server</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId>
</dependency>
<!-- Required at runtime to decode json objects for rest API -->
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
Expand Down
4 changes: 4 additions & 0 deletions core/server/worker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-server</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId>
</dependency>

<!-- Internal dependencies -->
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions core/transport/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
<version>1.5.0.Final</version>
<version>1.6.2</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
<version>0.5.0</version>
<version>0.6.1</version>
<configuration>
<protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
<pluginId>grpc-java</pluginId>
Expand Down
5 changes: 5 additions & 0 deletions job/server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
<artifactId>jersey-container-servlet-core</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
Expand Down
57 changes: 36 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,25 +138,23 @@
<aws.amazonaws.version>1.11.215</aws.amazonaws.version>
<build.path>build</build.path>
<copycat.version>1.2.14</copycat.version>
<cxf.version>2.7.0</cxf.version>
<glusterfs-hadoop.version>2.3.13</glusterfs-hadoop.version>
<gmetric4j.version>1.0.7</gmetric4j.version>
<grpc.version>1.17.1</grpc.version>
<netty.version>4.1.30.Final</netty.version>
<grpc.version>1.24.1</grpc.version>
<netty.version>4.1.38.Final</netty.version>
<hadoop.version>2.7.3</hadoop.version>
<hadoop-openstack.version>2.6.0</hadoop-openstack.version>
<java.version>1.8</java.version>
<jersey.version>2.22</jersey.version>
<jetty.version>9.2.16.v20160414</jetty.version>
<jersey.version>2.29</jersey.version>
<jetty.version>9.2.28.v20190418</jetty.version>
<junit.version>4.12</junit.version>
<log4j.version>1.2.17</log4j.version>
<maven.version>3.3.9</maven.version>
<metrics.version>3.1.2</metrics.version>
<powermock.version>1.6.1</powermock.version>
<prometheus.version>0.3.0</prometheus.version>
<prometheus.version>0.7.0</prometheus.version>
<guava.version>27.0.1-jre</guava.version>
<parquet.version>1.10.0</parquet.version>
<protobuf.version>3.5.1</protobuf.version>
<protobuf.version>3.9.0</protobuf.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<slf4j.version>1.7.2</slf4j.version>
<jackson.version>2.9.7</jackson.version>
Expand Down Expand Up @@ -235,7 +233,7 @@
<dependency>
<groupId>com.github.serceman</groupId>
<artifactId>jnr-fuse</artifactId>
<version>0.5.1</version>
<version>0.5.3</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand All @@ -262,12 +260,12 @@
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.3.1</version>
<version>1.4</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.10</version>
<version>1.13</version>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
Expand All @@ -277,7 +275,7 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
<version>2.6</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
Expand All @@ -289,11 +287,6 @@
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>info.ganglia.gmetric4j</groupId>
<artifactId>gmetric4j</artifactId>
<version>${gmetric4j.version}</version>
</dependency>
<dependency>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
Expand Down Expand Up @@ -328,11 +321,23 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-netty</artifactId>
<version>${grpc.version}</version>
<exclusions>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
<version>${grpc.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-common-protos</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
Expand Down Expand Up @@ -592,6 +597,11 @@
<artifactId>jersey-server</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
Expand Down Expand Up @@ -627,12 +637,12 @@
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.10</version>
<version>0.9.11</version>
</dependency>
<dependency>
<groupId>org.rocksdb</groupId>
<artifactId>rocksdbjni</artifactId>
<version>5.15.10</version>
<version>6.3.6</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down Expand Up @@ -662,6 +672,12 @@
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
Expand All @@ -675,11 +691,10 @@
<version>${hadoop.version}</version>
<scope>test</scope>
</dependency>
<!-- TODO(andrew): Update to a non-rc version before final Alluxio release -->
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>2.1-rc4</version>
<version>2.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
import alluxio.util.WaitForOptions;
import alluxio.util.io.PathUtils;

import jersey.repackaged.com.google.common.collect.Lists;
import com.google.common.collect.Lists;
import org.junit.After;
import org.junit.Assume;
import org.junit.Before;
Expand Down

0 comments on commit 8bdac5e

Please sign in to comment.