Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump h2 from 1.4.183 to 2.1.210 in /sql/core #220

Open
wants to merge 2 commits into
base: snappy/branch-2.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,30 +60,29 @@ allprojects {
scalaBinaryVersion = '2.11'
scalaVersion = scalaBinaryVersion + '.8'
hadoopVersion = '3.2.0'
protobufVersion = '3.6.1'
jerseyVersion = '2.22.2'
protobufVersion = '3.16.1'
jerseyVersion = '2.35'
sunJerseyVersion = '1.19.4'
jettyVersion = '9.4.43.v20210629'
yarnTestJettyVersion = '9.3.24.v20180605' // only used by yarn tests
jettyOldVersion = '6.1.26'
log4j2Version = '2.17.2'
slf4jVersion = '1.7.32'
junitVersion = '4.12'
junitVersion = '4.13.2'
mockitoVersion = '1.10.19'
javaxServletVersion = '3.1.0'
guavaVersion = '14.0.1'
hiveVersion = '1.21.2.7.0.3.2-3'
chillVersion = '0.8.5'
kryoVersion = '4.0.2'
nettyVersion = '3.10.6.Final'
nettyAllVersion = '4.1.73.Final'
nettyVersion = '4.1.77.Final'
derbyVersion = '10.14.2.0'
httpClientVersion = '4.5.6'
httpClientVersion = '4.5.13'
httpCoreVersion = '4.4.10'
levelDbJniVersion = '1.8'
jackson1Version = '1.9.14-atlassian-6'
jacksonVersion = '2.13.1'
jacksonDatabindVersion = '2.13.1'
jacksonVersion = '2.13.3'
jacksonDatabindVersion = '2.13.3'
snappyJavaVersion = '1.1.8.4'
lz4Version = '1.8.0'
lzfVersion = '1.1'
Expand All @@ -92,11 +91,13 @@ allprojects {
metricsVersion = '3.2.6'
janinoVersion = '3.0.8'
thriftVersion = '0.9.3'
fb303Version = '0.9.3'
antlrVersion = '4.5.3'
jpamVersion = '1.1'
seleniumVersion = '2.52.0'
curatorVersion = '2.7.1'
commonsCodecVersion = '1.11'
commonsCodecVersion = '1.15'
commonsCompressVersion = '1.21'
commonsCryptoVersion = '1.0.0'
commonsLang3Version = '3.8.1'
commonsMath3Version = '3.6.1'
Expand All @@ -120,11 +121,12 @@ allprojects {
dockerClientVersion = '8.14.5'
mysqlVersion = '8.0.13'
postgresqlVersion = '42.2.5'
ojdbc6Version = '11.2.0.4'
ojdbc8Version = '12.2.0.1'
zookeeperVersion = '3.6.2'
activationVersion = '1.1.1'
roaringBitmapVersion = '0.6.66'
json4sVersion = '3.2.11'
jsonSmartVersion = '2.3.1'
streamVersion = '2.9.6'
ivyVersion = '2.4.0'
oroVersion = '2.0.8'
Expand Down Expand Up @@ -181,7 +183,9 @@ allprojects {
exclude(group: 'org.apache.ant', module: 'ant')
exclude(group: 'com.esotericsoftware.kryo', module: 'kryo')
exclude(group: 'commons-codec', module: 'commons-codec')
exclude(group: 'org.apache.commons', module: 'commons-compress')
exclude(group: 'commons-httpclient', module: 'commons-httpclient')
exclude(group: 'org.apache.avro', module: 'avro')
exclude(group: 'org.apache.avro', module: 'avro-mapred')
exclude(group: 'org.apache.calcite', module: 'calcite-core')
exclude(group: 'org.apache.curator', module: 'apache-curator')
Expand Down Expand Up @@ -232,7 +236,7 @@ allprojects {
exclude(group: 'org.apache.velocity', module: 'velocity')
exclude(group: 'org.apache.avro', module: 'avro-ipc')
},
netty_all: dependencies.create("io.netty:netty-all:${nettyAllVersion}") {
netty_all: dependencies.create("io.netty:netty-all:${nettyVersion}") {
exclude(group: 'io.netty', module: 'netty-codec-dns')
exclude(group: 'io.netty', module: 'netty-codec-haproxy')
exclude(group: 'io.netty', module: 'netty-codec-http')
Expand Down
7 changes: 3 additions & 4 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ dependencies {
compile project(subprojectBase + 'snappy-spark-unsafe_' + scalaBinaryVersion)
compile project(subprojectBase + 'snappy-spark-tags_' + scalaBinaryVersion)

compile group: 'org.apache.commons', name: 'commons-compress', version: commonsCompressVersion
compile libraries.avro_ipc
compile libraries.avro_mapred
compile group: 'com.google.guava', name: 'guava', version: guavaVersion
Expand All @@ -35,14 +36,11 @@ dependencies {
exclude(group: 'com.esotericsoftware', module: 'kryo-shaded')
}
compile group: 'org.apache.xbean', name: 'xbean-asm5-shaded', version: xbeanAsm5Version
// explicitly include netty from akka-remote to not let zookeeper override it
compile(group: 'io.netty', name: 'netty', version: nettyVersion) {
exclude(group: 'log4j', module: 'log4j')
}
// explicitly exclude old netty from zookeeper
compile(group: 'org.apache.zookeeper', name: 'zookeeper', version: zookeeperVersion) {
exclude(group: 'org.jboss.netty', module: 'netty')
exclude(group: 'jline', module: 'jline')
exclude(group: 'io.netty', module: 'netty')
exclude(group: 'io.netty', module: 'netty-handler')
exclude(group: 'io.netty', module: 'netty-transport-native-epoll')
exclude(group: 'com.github.spotbugs', module: 'spotbugs-annotations')
Expand All @@ -51,6 +49,7 @@ dependencies {
exclude(group: 'log4j', module: 'log4j')
}
compile group: 'com.google.protobuf', name: 'protobuf-java', version: protobufVersion
compile group: 'net.minidev', name: 'json-smart', version: jsonSmartVersion
compile libraries.hadoop_client
compile group: 'org.codehaus.jackson', name: 'jackson-mapper-asl', version: jackson1Version
compile group: 'javax.activation', name: 'activation', version: activationVersion
Expand Down
2 changes: 1 addition & 1 deletion external/docker-integration-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies {
testCompile group: 'org.apache.httpcomponents', name: 'httpcore', version: httpCoreVersion
testCompile group: 'mysql', name: 'mysql-connector-java', version: mysqlVersion
testCompile group: 'org.postgresql', name: 'postgresql', version: postgresqlVersion
testCompile group: 'com.oracle.database.jdbc', name: 'ojdbc6', version: ojdbc6Version
testCompile group: 'com.oracle.database.jdbc', name: 'ojdbc8', version: ojdbc8Version
testCompile group: 'com.sun.jersey', name: 'jersey-server', version: sunJerseyVersion
testCompile group: 'com.sun.jersey', name: 'jersey-core', version: sunJerseyVersion
testCompile group: 'com.sun.jersey', name: 'jersey-servlet', version: sunJerseyVersion
Expand Down
2 changes: 1 addition & 1 deletion sql/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.183</version>
<version>2.1.210</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sql/hive/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ dependencies {
compile(group: 'org.apache.thrift', name: 'libthrift', version: thriftVersion) {
exclude(group: 'org.slf4j', module: 'slf4j-api')
}
compile(group: 'org.apache.thrift', name: 'libfb303', version: thriftVersion) {
compile(group: 'org.apache.thrift', name: 'libfb303', version: fb303Version) {
exclude(group: 'org.slf4j', module: 'slf4j-api')
}

Expand Down
3 changes: 2 additions & 1 deletion yarn/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ dependencies {
exclude(group: 'org.ow2.asm', module: 'asm')
exclude(group: 'org.jboss.netty', module: 'netty')
exclude(group: 'javax.servlet', module: 'servlet-api')
exclude(group: 'org.apache.commons', module: 'commons-compress')
exclude(group: 'commons-logging', module: 'commons-logging')
exclude(group: 'com.sun.jersey')
exclude(group: 'com.sun.jersey.jersey-test-framework')
Expand Down Expand Up @@ -78,7 +79,7 @@ dependencies {
compile(group: 'org.apache.thrift', name: 'libthrift', version: thriftVersion) {
exclude(group: 'org.slf4j', module: 'slf4j-api')
}
compile(group: 'org.apache.thrift', name: 'libfb303', version: thriftVersion) {
compile(group: 'org.apache.thrift', name: 'libfb303', version: fb303Version) {
exclude(group: 'org.slf4j', module: 'slf4j-api')
}

Expand Down